> http://forum.qmailrocks.org/archive/index.php/t-1623.html
>
> I found the above link when looking for a how to for configuring postfix
> to bounce email BEFORE the initial MTA transaction is complete. I can't
> seem to find one for postfix. I want a sending MTAs to get a 550 error
> if spamc/spamd determine a mail is spammy so non spam senders get some
> sort of feedback that their message has been tossed and not delivered.
> For obvious reasons you can't do this as a bounce to the From: or
> Reply-To: header emails so it has to happen during the initial MTA
> transaction. Can someone point me to a how to for this?

Unless I'm misunderstanding you, what you really want is to not accept the
message if it's spam. Bouncing it implies accepting it and then sending back
an NDR.

Although you can accomplish this with a  Before Queue Filter:
http://www.postfix.org/SMTPD_PROXY_README.html, it may become a performance
problem and it probably not an optimal solution.

Aside from anything else, it will really annoy the senders if the mail is
legitimate.

Terry




Reply via email to