> -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of Terry Carmen > Sent: Wednesday, 18 March 2009 6:14 AM > Cc: postfix-users@postfix.org > Subject: Re: Dropping rejected mail from a transport server > > Chris Cameron 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. > > My suggestion would be to: > > * Do the spam processing on or before the postfix box and > turn it off on exchange, or > * Configure Exchange to deliver spammy mail and just mark it as spam. > > Any solution that accepts mail and them bounces it later will > make you a bounce-back spam source and get your servers > blacklisted. Any solution that accepts mail and deletes it > will have the users at your door with pitchforks and torches. > > Terry > We do both of these. Spam scanning occurs on the Postfix front-end (using Trend Micro IMSS, ick, but we're migrating to PureMessage), and we have a tag-and-deliver or quarantine mechanism (in addition, we discard messages with executables rather than rejecting them). Rejections only occur during the initial SMTP transaction on the Postfix server.