configure mails for bacula
This commit is contained in:
parent
03497aebc9
commit
0e29e3c27a
|
@ -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}";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue