Re: [Exim] Filtering

Top Page
Delete this message
Reply to this message
Author: Jason Robertson
Date:  
To: Philip Hazel, Exim
Subject: Re: [Exim] Filtering
On 13 Sep 2000, at 9:30, Philip Hazel wrote:

> > 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.


These are my current rules in use..

But the least one I want to test for specific subjects. that I list in a text file,
so I don't have to keep adding rules

The top 5 rules though do catch a large number of messages, though the
one that looks for no TO: Header does catch more then I'd expect because a
large number of mail-lists for some reason to not have a to entry. Not
including this one.

---
Jason Robertson                
Network Analyst            
jason@???    
http://www.astroadvice.com