Re: [exim] System_filter.exim for spam filtering

Etusivu
Poista viesti
Vastaa
Lähettäjä: Renaud Allard
Päiväys:  
Vastaanottaja: Matt
Kopio: exim-users
Aihe: Re: [exim] System_filter.exim for spam filtering


Matt wrote:
> Spamassassin scores messages on our server with a header like so.
>
> X-Spam-Level: *****************
>
> With the number of astericks indicating its spam score.
>
> Will this added to system_filter.exim block all messages that score over 15?
>
> if $header_x-spam-level: contains "***************" then
>     fail text "This message has been rejected due to spam content.\n\"
>     seen finish
> endif

>


It should do, but it will generate bounces. If you are the admin of the
exim server, it would be better to put the reject in the ACL
(http://www.exim.org/exim-html-current/doc/html/spec_html/ch41.html)