Hi,

I have a postfix mail server over which I have deployed a custom content filter 
written in java.

Now I introduced amavisd (containing clamav and spamassassin) as content filter 
such that the mail is passing in following manner:

===>mail from outside ===> Postfix ====> amavisd ===> custom content filter

I referred the link(http://wiki.centos.org/HowTos/Amavisd) to setup 
amavisd(containing clamav and spamassassin)


Here my setup is running ok when amavisd is bypassed and mail is directly being 
sent to custom content filter but I receive following error logs as soon as I 
start passing my mails via amavisd:

Apr  7 11:36:14 ip-10-194-99-63 postfix/smtpd[3585]: connect from 
mail-pw0-f48.google.com[209.85.160.48]
Apr  7 11:36:14 ip-10-194-99-63 postfix/smtpd[3585]: BABCC100191: 
client=mail-pw0-f48.google.com[209.85.160.48]
Apr  7 11:36:14 ip-10-194-99-63 postfix/cleanup[3593]: BABCC100191: 
message-id=<x2h6c32076e1004070836p20a8cdabz104ac2c1d55a2...@mail.gmail.com>
Apr  7 11:36:15 ip-10-194-99-63 postfix/qmgr[3583]: BABCC100191: 
from=<ashiish.sha...@gmail.com>, size=1966, nrcpt=1 (queue active)
Apr  7 11:36:45 ip-10-194-99-63 postfix/smtpd[3585]: disconnect from 
mail-pw0-f48.google.com[209.85.160.48]
Apr  7 11:36:54 ip-10-194-99-63 amavis[3264]: (03264-02) (!)rw_loop: leaving rw 
loop, no progress, last event (select) 34.987 s ago
Apr  7 11:36:54 ip-10-194-99-63 amavis[3264]: (03264-02) (!)SEND via SMTP: <> 
-> <ashiish.sha...@gmail.com>, 451 4.5.0 From MTA([10.194.99.63]:10030) during 
fwd-connect (Negative greeting:  at (eval 57) line 596, <GEN18> line 162.): 
id=03264-02
Apr  7 11:36:54 ip-10-194-99-63 amavis[3264]: (03264-02) (!!)TROUBLE in 
check_mail: delivery-notification FAILED: temporarily unable to send DSN to 
<ashiish.sha...@gmail.com>: 451 4.5.0 From MTA([10.194.99.63]:10030) during 
fwd-connect (Negative greeting:  at (eval 57) line 596, <GEN18> line 162.): 
id=03264-02 at /usr/sbin/amavisd line 11359, <GEN18> line 162.
Apr  7 11:36:54 ip-10-194-99-63 amavis[3264]: (03264-02) (!)PRESERVING EVIDENCE 
in /var/amavis/tmp/amavis-20100407T113615-03264
Apr  7 11:36:54 ip-10-194-99-63 postfix/lmtp[3594]: BABCC100191: 
to=<ida6786ombo...@dev1.cpgtest.ostinet.net>, relay=127.0.0.1[127.0.0.1]:10024, 
delay=40, delays=0.54/0.01/0/40, dsn=4.5.0, status=deferred (host 
127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03264-02, 
delivery-notification FAILED: temporarily unable to send DSN to 
<ashiish.sha...@gmail.com>: 451 4.5.0 From MTA([10.194.99.63]:10030) during 
fwd-connect (Negative greeting:  at (eval 57) line 596, <GEN18> line 162.): 
id=03264-02 at /usr/sbin/amavisd line 11359, <GEN18> line 162. (in reply to end 
of DATA command))

I have no idea where the problem is actually residing.

Please help

Thanks in advance
Ashish Sharma

Reply via email to