Is it possible to configure bareos to mail on errors, but skip sending emails
on canceled jobs?
I have the following currently:
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
}
Thank you
Jon Schewe
Research Scientist
C: +1 612.263.2718
O: +1 952.545.5720
[email protected]<mailto:[email protected]>
Raytheon Technologies
Raytheon Intelligence & Space
5775 Wayzata Blvd. Suite 630
St. Louis Park, MN 55416
RTX.com<https://www.rtx.com/> |
LinkedIn<https://www.linkedin.com/company/raytheontechnologies> |
Twitter<https://twitter.com/raytheontech> |
Instagram<https://www.instagram.com/raytheontechnologies>
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/CY1P110MB01673C7CB6EB4C49FEFE9A8FED919%40CY1P110MB0167.NAMP110.PROD.OUTLOOK.COM.