Re: [exim] System_filter.exim for spam filtering

Top Page
Delete this message
Reply to this message
Author: Renaud Allard
Date:  
To: Matt
CC: exim-users
Subject: 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)