On Wed, 25 May 2005, TN wrote:

> Alas I'm still getting both emails discarded with this filter :
> # Exim filter
> 
> if $header_from: contains "[EMAIL PROTECTED]" and
>   $message_body is not "This email was intercepted"
>   then
>   seen mail to $header_to from $header_from subject $header_subject
>   text "This email was intercepted"
>   endif
> 
> 
> BUT - if I change the condition to be more general with 'and
> $message_body does not contain "This email was intercepted"....' then
> the filter works as I intended.  So the $message_body must not be
> matching exactly somehow ?

There's a newline at the end of the line, which will have been turned 
into a space for $message_from.

-- 
Philip Hazel            University of Cambridge Computing Service,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to