I have been trying to get Bacula setup to send notices on backup jobs. I have been trying various configs in the bacula-dir.conf file but can't get it to work.
This is the Messages section of the bacula-dir.conf currently with email and relay changed to generic:
# Reasonable message delivery -- send most everything to
# the email address and to the console
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h my exchange relay -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h my exchange relay -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
mail = myemail = all, !skipped !terminate
console = all, !skipped, !saved
append = "/var/log/bacula.log" = all, !skipped !terminate
operator = my email = mount
catalog = all, !skipped, !saved
I have added the bacula host to be allowed to relay. No email is coming to "my email". not sure where to check on the Centos server for logs. Anyone have a similar setup that could help, maybe post there config for Messages.