On Tue, Dec 21, 2010 at 05:46:06PM +0000, Stuart Bailey wrote:

> Mail marshall is configured to send emails to port 10027. This works OK. 
> However, if Mail Marshall detects SPAM, rather than modify the header
> and send it on, it responds directly with a 550 error code. Unfortunately,
> postfix then notifies the email originator that the message has bounced,
> generating backscatter.

You probably already know there are other vendors out there...

In any case, if the "550 ..." response for spam is sufficient distinctive,
you could map it (and it alone) to a 250 response:

    http://www.postfix.org/postconf.5.html#smtp_reply_filter

        A mechanism to transform replies from remote SMTP servers one line
        at a time. This is a last-resort tool to work around server replies
        that break inter-operability with the Postfix SMTP client. Other
        uses involve fault injection to test Postfix's handling of invalid
        responses.

        ...

        This feature is available in Postfix 2.7.

The effect would be to discard the mail, if that is acceptable. Generally,
content filters should quarantine, not discard suspected spam.

-- 
        Viktor.

Reply via email to