SYSTEM Just upgraded to version 2.6.1 on my debian system:
moria:/etc/amavis/conf.d# dpkg -l | grep amavis ii amavisd-new 1:2.6.1.dfsg-1 Interface between MTA and virus scanner/cont Also verified with the latest code on the amavis homepage: http://www.ijs.si/software/amavisd/amavisd-new-2.6.1.tar.gz DESCRIPTION Got this when a message is about to be sent to postmaster when a virus is detected: Aug 7 22:16:37 moria postfix/smtpd[30625]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: <[EMAIL PROTECTED] {myhostname}> Aug 7 22:16:37 moria amavis[22344]: (22344-09) Negative SMTP resp. to DATA: 403 4.5.1 Error: need RCPT command Aug 7 22:16:37 moria postfix/smtpd[30625]: disconnect from localhost[127.0.0.1] Aug 7 22:16:37 moria amavis[22344]: (22344-09) (!)SEND via SMTP: <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,[EMAIL PROTECTED] 401 4.1.7 TempFailed, id=22344-09, from MTA([127.0.0.1]:10025): 401 4.1.7 Bad sender address syntax Aug 7 22:16:37 moria amavis[22344]: (22344-09) (!!)TROUBLE in check_mail: quar+notif FAILED: temporarily unable to notify admin: 401 4.1.7 TempFailed, id=22344-09, from MTA([127.0.0.1]:10025): 401 4.1.7 Bad sender address syntax at /usr/sbin/amavisd-new line 11971. Aug 7 22:16:37 moria amavis[22344]: (22344-09) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20080807T221637-22344 Aug 7 22:16:37 moria postfix/smtp[30579]: E82618AC034: to=<[EMAIL PROTECTED] >, relay=127.0.0.1[127.0.0.1]:10024, delay=0.39, delays=0.06/0/0.01/0.32, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=22344-09, quar+notif FAILED: temporarily unable to notify admin: 401 4.1.7 TempFailed, id=22344-09, from MTA([127.0.0.1]:10025): 401 4.1.7 Bad sender address syntax at /usr/sbin/amavisd-new line 11971. (in reply to end of DATA command)) SOLUION Removed the backslash in front of the myhostname variable in the following section. Now it works. Before: # substring ${myhostname} will be expanded later, just before use my($pname) = '"Content-filter at ${myhostname}"'; $hdrfrom_notify_sender = "$pname <[EMAIL PROTECTED]>" if !defined $hdrfrom_notify_sender; After: # substring ${myhostname} will be expanded later, just before use my($pname) = '"Content-filter at ${myhostname}"'; $hdrfrom_notify_sender = "$pname <[EMAIL PROTECTED]>" if !defined $hdrfrom_notify_sender; /jonas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
