Re: [exim] Strange Filter Rejection

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Sherman
Ημερομηνία:  
Προς: GamCo - Gawie Marais
Υ/ο: exim-users
Αντικείμενο: 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