X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbacula-dir.conf.erb;h=43a83233ae41ed91dd72820954282330dd7a932b;hb=598ef097f4c8f6b50b61dde7fc4bd011e955b754;hp=92cafa8fd5fed7ec46e98fee4d9a323cb1b316cf;hpb=75ce99c03293e2df071bcbb7f56694d192652586;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index 92cafa8fd..43a83233a 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -103,15 +103,15 @@ Catalog { ######################################################################## Messages { Name = <%= @messages_name %> - mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" - operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" + mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"%r\" -s \"Bacula: %t %e of %c %l\" %r" + operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"%r\" -s \"Bacula: Intervention needed for %j\" %r" <% if @email_all %> mail = <%= @email_all %> = all <% end %> -<% if @real_email_error != @email_all %> - mail on error = <%= @real_email_error %> = all +<% if @email_error != @email_all %> + mail on error = <%= @email_error %> = all <% end %> - operator = <%= @real_email_operator %> = mount + operator = <%= @email_operator %> = mount console = all, !skipped, !saved syslog = all append = "/var/lib/bacula/log" = all @@ -121,8 +121,8 @@ Messages { # Message delivery for daemon messages (no job). Messages { Name = Daemon - mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" - mail = <%= @real_email_daemon %> = all + mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"%r\" -s \"Bacula daemon message\" %r" + mail = <%= @email_daemon %> = all console = all, !skipped, !saved syslog = all append = "/var/lib/bacula/log" = all