Is it possible to configure bareos to mail on errors, but skip sending emails on canceled jobs?
Messages {
Name = Standard
Description = "Reasonable message delivery -- send most everything to email address and to the console."
# destination = address = message-type, ...
operatorcommand = "/usr/bin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r"
mailcommand = "/usr/bin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r"
operator = root@localhost = mount
mail on error = root@localhost = all, !skipped
#mail = root@localhost = all, !skipped, !saved, !audit
console = all, !skipped, !saved, !audit
append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit
catalog = all, !skipped, !saved, !audit
}