RE: [exim] Strange Filter Rejection

Top Page
Delete this message
Reply to this message
Author: GamCo - Gawie Marais
Date:  
To: 'Marc Sherman'
CC: exim-users
Subject: RE: [exim] Strange Filter Rejection
Hi Marc

Thank you for the prompt reply.

Thus, I can get rid of the system filter completely as we have amavisd-new,
spamassassin running on the server as well.



Regards

Gawie.

-----Original Message-----
From: Marc Sherman [mailto:msherman@projectile.ca]
Sent: Wednesday, May 04, 2005 1:46 PM
To: GamCo - Gawie Marais
Cc: exim-users@???
Subject: Re: [exim] Strange Filter Rejection

GamCo - Gawie Marais wrote:
> ----------------------------------------------------------------
> if
>     $h_X-Spam-Status: contains "Yes,"
>         or
>         "${if def:h_X-Spam-Flag {def}{undef}}" is "def"
> then
>     logfile /var/log/exim/spamlog
>     logwrite "$tod_log \n\
>               From: $h_From: \n\
>               Subject: $h_Subject: \n\
>               X-Spam-Status: $h_X-Spam-Status: \n\
>               X-Spam-Flag: $h_X-Spam-Flag: \n\
>               Sender: $sender_address"
>         fail
>     finish
> endif
> ----------------------------------------------------------------


There you go. It's the fail command there.

That's a very bad way to manage your spam. You're accepting it and then
bouncing, which will cause you to originate collateral spam to faked
sender addresses. If you want to reject spam, and don't need per-user
spam filter configuration, you should use exiscan instead to do so at
SMTP time.

http://duncanthrax.net/exiscan-acl/exiscan-acl-spec.txt

- Marc