Re: [Exim] Systemfilter for Spamlogging

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jens Strohschnitter
CC: EXIM Official Maillist
Subject: Re: [Exim] Systemfilter for Spamlogging
On Wed, 24 Sep 2003, Jens Strohschnitter wrote:

> So I have added the following entries in my systemfilter:
>
> -->>
> if $h_X-Spam-Level: contains "****" or $h_X-Spam-Status: contains "hits=5.0"
> then
>   logwrite "\n==========================================================\nFrom: \
>             $h_From:\nSubject: $h_Subject:\nReceived: $h_Received: "
>   seen finish
> endif
> <<--


Why the "seen finish"? That will override all deliveries, so the message
will in effect be blackholed.

> But this will quarantine all spamdetected mails. So I want to log them AND
> deliver them to the recipient.


Get rid of the "seen".

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book