configure mails for bacula

This commit is contained in:
Rouven Seifert 2023-07-21 12:30:55 +02:00
parent 03497aebc9
commit 0e29e3c27a
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -57,6 +57,8 @@ in
'';
extraMessagesConfig = ''
director = abel-dir = all, !skipped, !restored
mailcommand = ${bacula_package}/bin/bsmtp -f "Bacula <bacula@${config.fsr.domain}>\" -s \"Bacula: %t %e of %c %l\" %r"
mail = root+backup@${config.fsr.domain} = all, !skipped
'';
director."abel-dir".password = "@${config.sops.secrets."bacula/password".path}";
};