fix escaping in bacula mailcommand

This commit is contained in:
Rouven Seifert 2023-07-22 13:24:48 +02:00
parent 0e29e3c27a
commit aa65070aa0
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

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