Hi Guys
In manual the chapter "message resource" says:
Please note: any MailCommand directive must be specified in the Messages
resource before the desired Mail, MailOnSuccess, or MailOnError directive.
In fact, each of those directives may be preceded by a different
MailCommand.
I understood that every parameter Mail, MailOnError, MailOnSuccess needs a
MailCommand before.
If I configure like below, when I run command "bacula-dir -t" I receive a
message:
bacula-dir: smartall.c:397-0 Orphaned buffer: bacula-dir 96 bytes at
251a568 from parse_conf.c:402
But If I remove 2nd mailcommand, executing bacula-dir -t" works fine.
In this 2nd mail command I've created a script to send errors to the
whatsapp, but if I use the same command like 1st, happens the same.
I need to be worried about it?
Messages {
Name = Standard
# 1st mail command
mailcommand = "/sbin/bsmtp -h localhost -f \"Bacula <m...@domain.com.br>\"
-s \"Bacula: %t %e of %c %l \" %r"
mail = m...@domain.com.br = all, !skipped
# 2nd mail command
#mailcommand = "/sbin/bsmtp -h localhost -f \"Bacula <m...@domain.com.br>\"
-s \"Bacula: %t %e of %c %l \" %r"
mailcommand = "/etc/bacula/scripts/_email.sh \"Bacula: %t %e of %c %l \"
\"%r\" "
MailOnError = m...@anotherdomain.com.br = all, !skipped
operatorcommand = "/sbin/bsmtp -h localhost -f \"Bacula <
m...@domain.com.br>\" -s \"Bacula: Intervention needed for %j\" %r"
operator = m...@domain.com.br = mount
console = all, !skipped, !saved
append = "/etc/bacula/log/bacula.log" = all, !skipped
catalog = all, !skipped, !saved
}
Best Regards
Wanderlei
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users