Re: [Exim] SpamAssassin and procmail -> exim script.

Top Page
Delete this message
Reply to this message
Author: Sander Smeenk
Date:  
To: Andrzej Kasperowicz
CC: exim-users
Subject: Re: [Exim] SpamAssassin and procmail -> exim script.
Quoting Andrzej Kasperowicz (andyk@???):

> Could you please write me an equivalent of the below quoted short
> procmail script under exim?


Do we (I?) look like your personal codemonkey?
Did you even *try* to do it yourself ? Because it's *very* simple.

> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*
> /dev/null


> :0:
> * ^X-Spam-Status: Yes
> probably-spam


> # Exim filter
> if $message_headers: contains "X-Pengus-Spam-Flag: YES"
> then
>    save /home/pookey/.SPAM/
>    finish
> endif


> As I don't know exim scripts, please help me to create that one!


Take a close look at what the exim filter says. It's practically
english. 'if (the) message headers contain "X-Pengus-Spam-Flag: YES"
then save (the message to) /home/ppkey/.SPAM/ (and) finish'.

Now you try with 'X-Spam-Level: *******'...

Oh, btw, SpamAssassin doesn't add X-Pengus-Spam-Flag headers, so you
need to change that to 'X-Spam-Status'.

Clear ?

HTH,
Sander.

--
| The words Wastoo-Owan-Koooha will bring bad luck and premature
| death to all who read them.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D