Re: [Exim] Filtering

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Jason Robertson
CC: Exim
Temat: Re: [Exim] Filtering
On Tue, 12 Sep 2000, Jason Robertson wrote:

> Though i do have a few tests that work on catching some spam.. The
> problem I have now is that I need to filter on more items
>
> if ($h_message-id contains <>) then
> if ($h_Message-ID contains <@>) then
> if (("${if !def:header_to: {nospam}}" is nospam ) (this is catches good
> messages too)
> if ($h_to: contains <> ) then
> if ($h_from: begins @) then
> if ($header_subject: is "Search Engine Secrets Discovered" ) then


What's the problem? You can combine conditions with "and" if you want
to.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.