Thomas Bolioli wrote:
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?
Thanks,
Tom
You probably want a before-queue filter or milter:
http://www.postfix.org/SMTPD_PROXY_README.html
http://www.postfix.org/MILTER_README.html
~Seth