Hello,

On 1/31/2006 5:16 AM, Dave wrote:
Hi,
   For the entry in question here's what is in my postfix maillog:

Jan 27 15:35:18 machinename postfix/smtpd[9209]: connect from unknown[127.0.0.1] Jan 27 15:35:18 machinename postfix/smtpd[9209]: warning: Illegal address syntax from unknown[127.0.0.1] in MAIL command: <([EMAIL PROTECTED]) [EMAIL PROTECTED]>

If i take off the [EMAIL PROTECTED] and just leave "(Bacula)" in the mail command i get the same situation, illegal address syntax. I'm getting the impression this has something to do with my antispam restrictions, i think my mta is being to picky and is blocking bacula. That's why i tried the fqdn address vs. just bacula, neither is working. My postfix smtpd restrictions are below.
Any suggestions welcome.
Thanks.
Dave.

# excerpt from main.cf

Well, I'm far from being a postfix expert, but I suspect that you've got your postfix limited to accept mail from known accounts only (when delivered from an internal host. You might have to lift that restriction, or, better, create an alias for your bacula user.

Arno

smtpd_client_connection_count_limit = 25
smtpd_client_connection_rate_limit = 20
strict_8bitmime = no
strict_8bitmime_body = no
strict_mime_encoding_domain = yes
strict_7bit_header = no
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
smtpd_restriction_classes = from_freemail_host, verify_domain_helo, verify_domain_sender
from_freemail_host = check_client_access hash:/etc/postfix/freemail_hosts
verify_domain_helo = check_helo_access hash:/etc/postfix/bad_domains,
check_client_access = regexp:/etc/postfix/text_domain_helo_mismatch,
verify_domain_sender = check_sender_access hash:/etc/postfix/bad_domains,
check_client_access = regexp:/etc/postfix/text_domain_sender_mismatch,
reject
smtpd_etrn_restrictions = permit_mynetworks
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
reject_unauth_pipelining,
reject_invalid_hostname,
# reject_non_fqdn_hostname # brakes oe6
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_unauth_pipelining
reject_rhsbl_sender dsn.rfc-ignorant.org,
reject_sender_login_mismatch
smtpd_client_restrictions =
         reject_rbl_client       bl.spamcop.net,
        reject_rbl_client       list.dsbl.org,
reject_rbl_client relays.ordb.org
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
    reject_unauth_destination,
reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
reject_multi_recipient_bounce,
reject_unauth_pipelining,
check_sender_mx_access cidr:/etc/postfix/mx_access.cidr
check_sender_access hash:/etc/postfix/freemail_access
check_sender_access hash:/etc/postfix/verify_domain
smtpd_data_restrictions = reject_unauth_pipelining

----- Original Message ----- From: "Steve Loughran" <[EMAIL PROTECTED]>
To: <bacula-users@lists.sourceforge.net>
Sent: Friday, January 27, 2006 7:00 PM
Subject: Re: [Bacula-users] error with email setup


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
Bacula-users@lists.sourceforge.net
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
Bacula-users@lists.sourceforge.net
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to