Jared Lyvers <[EMAIL PROTECTED]> writes:

> If I have the following in my incoming filter file does it catch emails
> w/ the whole phrase, or does it catch emails if it has one of the words
> in it?
> 
> ie.
> headers 'risk free offer' drop
> 
> will it only drop those that have 'risk free offer'? or will it catch an
> email that only says risk?

As Bhavesh pointed out, this will only match the entire phrase and
only if each word is separated by exactly one space.  That may be what
you want.  To match one or more spaces you can change it to this:

headers 'risk +free +offer' drop

To match any one of the words, use this:

headers 'risk|free|offer' drop

The '|' character means OR, in regular-expression-speak.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to