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
# 2nd mail command
mailcommand = "/etc/bacula/scripts/_email.sh \"Bacula: %t %e of %c %l \" \"%r\" "
operatorcommand = "/sbin/bsmtp -h localhost -f \"Bacula <mail AT domain.com DOT br>\" -s \"Bacula: Intervention needed for %j\" %r"
console = all, !skipped, !saved
append = "/etc/bacula/log/bacula.log" = all, !skipped
catalog = all, !skipped, !saved
}
Best Regards
Wanderlei