From 688c1e4ba0c055d62c615bf058976167aed80126 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 19 Jul 2015 14:18:34 +0200 Subject: Use as envelope sender for bacula. --- roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roles/bacula-dir') diff --git a/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 b/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 index 5f124d3..bfae4c0 100644 --- a/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 +++ b/roles/bacula-dir/templates/etc/bacula/bacula-dir.conf.j2 @@ -471,9 +471,9 @@ Catalog { # Reasonable message delivery -- send most everything to email address and to the console Messages { Name = Standard - MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %n %l\" %r" + MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \\" -s \"Bacula: %t %e of %n %l\" %r" Mail = admin@fripost.org = all, !skipped - OperatorCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" + OperatorCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \\" -s \"Bacula: Intervention needed for %j\" %r" Operator = admin@fripost.org = mount Console = all, !skipped, !saved Append = "/var/log/bacula/bacula.log" = all, !skipped @@ -483,11 +483,11 @@ Messages { # Report upon error only Messages { Name = Quiet - MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %n %l\" %r" + MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \\" -s \"Bacula: %t %e of %n %l\" %r" Mail On Success = admin@fripost.org = all, !info, !fatal, !skipped, !notsaved, !restored - MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %n %l\" %r" + MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \\" -s \"Bacula: %t %e of %n %l\" %r" Mail On Error = admin@fripost.org = all, !skipped - OperatorCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" + OperatorCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \\" -s \"Bacula: Intervention needed for %j\" %r" Operator = admin@fripost.org = mount Console = all, !info, !restored, !skipped, !saved Append = "/var/lib/bacula/log" = all, !skipped @@ -497,7 +497,7 @@ Messages { # Message delivery for daemon messages (no job). Messages { Name = Daemon - MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" + MailCommand = "/usr/sbin/bsmtp -h localhost:16132 -f \"\(Bacula\) \\" -s \"Bacula daemon message\" %r" Mail = admin@fripost.org = all, !skipped Console = all, !skipped, !saved Append = "/var/log/bacula/bacula.log" = all, !skipped -- cgit v1.2.3