Bacula-users

[Bacula-users] send backup log to multiple email addresses

2008-04-17 15:32:31
Subject: [Bacula-users] send backup log to multiple email addresses
From: Elvar <elvar AT elvar DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 17 Apr 2008 14:31:26 -0500
What is the proper syntax for sending the backup job log to multiple 
email addresses? I have the following and I got the following error in 
email...

Messages {
  Name = Standard
  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"
  mail = user1 AT example DOT com,user2 AT example DOT com,user3 AT example DOT 
com = all, 
!skipped
  operator = root@localhost = mount
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}


I received the following in the backup log email after adding the second 
and third addresses...

16-Apr 20:12 example.com-dir: message.c:481 Mail prog: bsmtp: bsmtp.c:92 
Fatal malformed reply from localhost: 501 5.1.7 Bad sender address 
syntax 16-Apr 20:12 example.com-dir: Nightly_Full.2008-04-16_20.00.00 
Error: message.c:492 Mail program terminated in error.

CMD=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) user1 AT example DOT com 
<mailto:nwimonitor AT lanairgroup DOT com> user2 AT example DOT com 
<mailto:latta AT ptsc.k12.in DOT us> user3 AT example DOT com 
<mailto:swenson AT ptsc.k12.in DOT us>" -s "Bacula: Backup OK of 
moodle.ptsc.k12.in.us-fd Full" user1 AT example DOT com 
<mailto:nwimonitor AT lanairgroup DOT com> user2 AT example DOT com 
<mailto:latta AT ptsc.k12.in DOT us> user3 AT example DOT com 
<mailto:swenson AT ptsc.k12.in DOT us> ERR=Child exited with code 1


Kind regards,
Elvar




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>