Re: [Exim] Spam Filtering Language

Inizio della pagina
Delete this message
Reply to this message
Autore: Philip Hazel
Data:  
To: Marc Perkel
CC: exim-users
Oggetto: Re: [Exim] Spam Filtering Language
On Sun, 30 Sep 2001, Marc Perkel wrote:

> Thanks for the help but that doesn't work. The filter considers it an error.


What exactly did you try? This works with -bf:

#Exim filter

if "$h_subject: $message_body $message_body_end" contains rhubarb then
testprint yes else testprint no endif

> > > Specifically, I want to add the subject line to the first and last 500
> > > characters of the body and test the resulting string for phrases to
> > > filter.
> >
> > if "$h_subject: $message_body $message_body_end" contains ...


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