Hello world,
what might be causing this:
#v+
Mar 31 17:14:58 nemea postfix/smtpd[28774]: connect from
web.sender.example[10.0.0.1]
Mar 31 17:14:58 nemea postfix/smtpd[28774]: NOQUEUE:
client=web.sender.example[10.0.0.1]
Mar 31 17:14:59 nemea postfix/smtpd[28817]: connect from localhost[127.0.0.1]
Mar 31 17:14:59 nemea postfix/smtpd[28817]: warning: Illegal address syntax
from localhost[127.0.0.1] in MAIL command: [email protected]
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) Negative SMTP resp. to DATA:
503 5.5.1 Error: need RCPT command
Mar 31 17:14:59 nemea postfix/smtpd[28817]: disconnect from localhost[127.0.0.1]
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) (!)SEND via SMTP:
[email protected] ->
<[email protected]>,[email protected]
501 5.1.7 Failed, id=16440-11, from MTA([127.0.0.1]:10027): 501 5.1.7 Bad
sender address syntax
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) (!)FAILED to notify admin: 501
5.1.7 Failed, id=16440-11, from MTA([127.0.0.1]:10027): 501 5.1.7 Bad sender
address syntax
Mar 31 17:14:59 nemea postfix/smtpd[28817]: connect from localhost[127.0.0.1]
Mar 31 17:14:59 nemea postfix/smtpd[28817]: warning: Illegal address syntax
from localhost[127.0.0.1] in MAIL command: [email protected]
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) Negative SMTP resp. to DATA:
503 5.5.1 Error: need RCPT command
Mar 31 17:14:59 nemea postfix/smtpd[28817]: disconnect from localhost[127.0.0.1]
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) (!)SEND via SMTP:
[email protected] ->
<[email protected]>,[email protected] 501 5.1.7
Failed, id=16440-11, from MTA([127.0.0.1]:10027): 501 5.1.7 Bad sender address
syntax
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) (!)FAILED to notify recipient
[email protected]: 501 5.1.7 Failed, id=16440-11, from
MTA([127.0.0.1]:10027): 501 5.1.7 Bad sender address syntax
Mar 31 17:14:59 nemea amavis[16440]: (16440-11) Blocked INFECTED
(Eicar-Test-Signature), PREQ [10.0.0.1] [10.0.0.1]
<[email protected]> -> <[email protected]>, quarantine:
veyc7+ktFUSI, Message-ID: <[email protected]>,
mail_id: veyc7+ktFUSI, Hits: -, size: 2079, 527 ms
Mar 31 17:14:59 nemea postfix/smtpd[28774]: disconnect from
web.sender.example[10.0.0.1]
Mar 31 17:16:37 nemea postfix/smtpd[28817]: connect from localhost[127.0.0.1]
Mar 31 17:17:01 nemea postfix/smtpd[28817]: warning: Illegal address syntax
from localhost[127.0.0.1] in MAIL command: [email protected]
Mar 31 17:17:05 nemea postfix/smtpd[28817]: disconnect from localhost[127.0.0.1]
#v-
It seems amavisd-new is missing the enclosing "<>" when sending the
admin notification. Configuration information:
# grep hdrfrom_notify_sender /etc/amavis/conf.d/50-user
$hdrfrom_notify_sender = "\"Content Scanner\" <postmast...@$myhostname>";
# su - postgres -c "psql -q maildevel"
maildevel=# select distinct(substr(virus_admin,0,14)) from policy;
substr
---------------
postmas...@li
postmas...@ma
(2 rows)
Any hints on this one? Do I have to enclose the mail adresses in "<>" in pgsql?
Cheers
Stefan
P.S: The quick fix is, of course, setting strict_rfc821_envelops to
"no".
--
Stefan Förster http://www.incertum.net/ Public Key: 0xBBE2A9E9
------------------------------------------------------------------------------
_______________________________________________
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/