Hello,

I am trying to separate informational emails from emails that require me to fix 
something and I am struggling a bit.  Initially I thought using a separate 
email address for mail and operator will do the trick but that don't seem to 
have any difference.  google don't pull a previous discussion that can help.

For example this happened yesterday:

06-Mar 22:28 bacula-fd JobId 87: Error: bsock.c:429 Write error sending 6 bytes 
to Storage daemon:eng-backup01.example.com:9103: ERR=Connection reset by peer
06-Mar 22:28 bacula-fd JobId 87: Fatal error: backup.c:1326 Network send error 
to SD. ERR=Connection reset by peer
06-Mar 22:28 bacula-dir JobId 87: Error: Director's comm line to SD dropped.

I would have liked this message to end up on service desk so that I can follow 
up.  It ended up on my office email mailbox, but I have a folder for mails from 
bacula which I don't look at a lot as its mostly about a certain job is done.  
So how do you guys and girls separate "no available volume" emails from other 
nice to have emails like "job xyz is done"?

This is what I have at the moment, which is almost the default config to be 
frank
Messages {
  Name = Standard

  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: %t %e of %n %l on %c\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: Intervention needed for %j\" %r"
  mail = {{technical_mail}} = all, !skipped
  operator = {{service_desk}} = mount
  console = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped
  catalog = all
}


Messages {
  Name = Daemon
  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula daemon message\" %r"
  mail = {{technical_mail}} = all, !skipped
  console = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped
}

What would I need to change to get it working?

Thanks and appreciate your assistance?

Regards,
William

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to