what does the postfix log look like for this entry?
Just checking my config, and I only have:
"(Bacula)"
in my email setup, not
"([EMAIL PROTECTED])"
Steve
Dave wrote:
Hello,
I've got a bacula backup server running on freebsd6 with postfix as
an mta also on the same box. When my backups complete i'm getting an
error from message.c that i've got a bad address or syntax and i'm not
sure whether the problem lies with bacula or a postfix restriction,
everything else is working fine for both programs. Here's my error
message and the appropriate part of my bacula-dir.conf file:
27-Jan 17:26 zeus-dir: message.c:454 Mail prog: bsmtp: bsmtp.c:85 Fatal
malformed reply from localhost: 501 Bad address syntax
27-Jan 17:26 machinename-dir: backup_machinename.2006-01-27_15.37.18
Error: message.c:465 Mail program terminated in error.
CMD=/usr/local/sbin/bsmtp -h localhost -f
"([EMAIL PROTECTED]) [EMAIL PROTECTED]" -s "Bacula: Backup OK
of machinename-fd Full" [EMAIL PROTECTED]
ERR=Child exited with code 1
# messages #############################################################
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
# to replace the %r in the from field (-f part) with a single valid
# email address in both the mailcommand and the operatorcommand.
#
mailcommand = "/usr/local/sbin/bsmtp -h localhost -f
\"\([EMAIL PROTECTED]) %r\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f
\"\([EMAIL PROTECTED]) %r\" -s \"Bacula: Intervention
needed for %j\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle from
# time to time as it will grow indefinitely. However, it will
# also keep all your messages if they scroll off the console.
#
append = "/var/db/bacula/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/local/sbin/bsmtp -h localhost -f
\"\([EMAIL PROTECTED]) %r\" -s \"Bacula daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/var/db/bacula/log" = all, !skipped
}
Any help appreciated.
Thanks.
Dave.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users