Re: [Exim] Exim 3 System Filter - Spamassassin

Top Page
Delete this message
Reply to this message
Author: John Burnham
Date:  
To: Leigh Dodd, exim-users
Subject: Re: [Exim] Exim 3 System Filter - Spamassassin
Leigh Dodd wrote:
>
> if
> $h_X-Spam-Status: contains "Yes"
> then
> logwrite " => junk : SPAM"
> save /var/mail/SPAM
> finish
> Endif
>
>
> Now I have to edit exims configure file and this is where I'm not

sure
> where I should put a message_filter command since I already have one
> in the "Main Configuration Setting" for basic virus scanning (Exim
> system filter V1.16)
>
> Do just add another message_filter=/usr/local/exim/spam.filter line,
> or do I need another redirector/transport just after spamassassins
> entries.
>


You just add these lines to your existing exim filter. You can have
lots of conditions in an exim filter file.
John