You REALLY don't want to filter on received headers.  There's
effectively no standard as to what these things contain.

i.e., the following would be perfectly legal:

Received: from important.fcc.gov (important) by localhost.dom.com
     (Postfix) with unknown ESMTP ID for [EMAIL PROTECTED]

Have you thought about using Spamassassin?  It's actually quite
effective, and would probably be easier than setting up and
tunin your own filters.



On Sat, 2003-07-05 at 07:11, Patrick Morand wrote:
> Hello,
> 
> I'm using evolution 1.0.5 on debian/woody and trying to implement
> filters against spam.
> 
> Everything's OK when using filters on subject.
> 
> I want to filter all messages having "unknown" in the "Received:"
> specific header.
> 
> I can't use the "specific header" option because this header is repeated
> many times and "specific header" looks only in the first occurence.
> 
> So i'm trying tu use the "expression" option
> 
> When i put something like ^Received:.*unknown.* in the expression's
> value, i obtain an error dialog while filtering.
> 
> This dialog says : "unexpected token encountered ..."
> 
> If somebody can help
> 
> 
> Thank's

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to