Block auto-replies to spam

Henrik K hege at hege.li
Fri Oct 21 07:42:25 CEST 2011


On Thu, Oct 20, 2011 at 04:07:39PM -0300, francis picabia wrote:
> On Thu, Oct 20, 2011 at 3:16 PM, Mark Martinec
> <Mark.Martinec+amavis at ijs.si> wrote:
> 
> > So your outbound bounces are generated by a content filter
> > associated with a user's mailbox (like sieve) ???
> > Probably not the best idea. If it is spam, it should not be bounced.
> > Let a user just delete it, if it gets delivered.
> 
> Much of it comes from "out of office" set up on Exchange.
> I have no control over the users in this regard.
> They feel it is worthwhile to let the small number
> of real email senders know of alternate addresses
> to contact while they are away on vacation, etc.

Yes this is normal in a big gateway environment. It's not possible to
control lame autoresponders and out of offices.

I made a crude script long time ago just for this purpose:

http://hege.li/contrib/amavisd-new/autoreply.conf

Feel free to modify it. You might want to discard/quarantine directly
instead of setting a header etc.



More information about the amavis-users mailing list