Need an advice about my Postfix Before-Queue filter

Vinícius Ferrão <[email protected]> Wed, 1 Feb 2012 17:10:03 -0200
Newsgroups gmane.linux.gentoo.server
Message-ID <[email protected]>
Hello ppl,

I've implemented a postfix mail filtering gateway and I have an stupid question.

How can I check if my before-queue filtering through amavisd-new is working correctly?

I can see the spam handled correctly, but I always see proxy-accept in logs. Is this correct?

As example:
Feb  1 14:50:23 ironforge postfix/smtpd[25299]: proxy-accept: END-OF-MESSAGE: 250 2.7.0 Ok, discarded, id=25810-05 - spam; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<smtp6.hospedagem-de-site.info>
Feb  1 14:50:23 ironforge postfix/smtpd[25299]: proxy-accept: END-OF-MESSAGE: 250 2.7.0 Ok, discarded, id=25810-05 - spam; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<smtp6.hospedagem-de-site.info>
Feb  1 14:50:50 ironforge postfix/smtpd[25353]: proxy-accept: END-OF-MESSAGE: 250 2.7.0 Ok, discarded, id=25810-06 - spam; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<host20.anuncioforte.com.br>

A proxy-reject error should not be more reasonable?

Thanks in advance,
Vinícius Ferrão
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed