OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Dropping rejected mail from a transport server

From: Magnus Bäck (magnusdsek.lth.se)
Date: Tue Mar 17 2009 - 14:14:20 CDT


On Tuesday, March 17, 2009 at 19:58 CET,
     Chris Cameron <chrisupnix.com> wrote:

> I have a Postfix server that sits in front of Exchange. Exchange has
> anti-spam software running that will reject what it deems as spam.
> This is creating a problem for Postfix, which accepts a message, and
> tries to send it to Exchange, who then rejects it. That leaves Postfix
> with an email it has to try to bounce to a (usually) non-legitimate
> sender.
>
> It'd be nice if Exchange accepted and then silently dropped, but that
> doesn't seem to be coming. So, on my part, what can I do with Postfix
> to drop messages that Exchange (defined through the transport file)
> rejects?

You could use restriction classes to discard messages from <> when the
client is the Exchange server.

The correct solution is of course to fix the broken Exchange server so
that it stops rejecting spam.

--
Magnus Bäck
magnusdsek.lth.se