bacula (?) wrote:
However , putting this command in the bacula-dir.conf :
Messages {
Name = Standard
mailcommand = "/sbin/bsmtp -h 192.168.1.4
-f \"%r\"
-s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/sbin/bsmtp -h 192.168.4
-f \"\(Bacula\) \<%r\>\"
-s \"Bacula: Intervention needed for %j\" %r"
mail = root AT mycircuit DOT org <mailto:root AT mycircuit DOT org> = all, !skipped
append = "/mnt/tc/bacula/log" = all, !skipped
operator = root AT mycircuit DOT org <mailto:root AT mycircuit DOT org> = mount
console = all, !skipped, !saved
}
Looks like you got some extraneous newlines in your configuration.
Put the entire mailcommand on a single line, and likewise for the
operatorcommand.
will give me the following errors when running a backup job:
17-Jun 12:18 datacenter-dir JobId 195: message.c:482 Mail prog: bsmtp: bsmtp.c:406
*Error unknown mail host "192.168.1.4*
17-Jun 12:18 datacenter-dir JobId 195: message.c:482 Mail prog: ": ERR=Success
[...]
Note in particular the error concerning the unknown host at 192.168.1.4 which
was not unknown from the command line
Nope, it tells you that host 192.168.1.4<NL> is unknown, where <NL>
stands for the newline character. Admittedly, it could state this
a bit more explicitly. :-)
HTH
T.
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
signature.asc
Description: OpenPGP digital signature
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|