--On 20 July 2005 07:42:11 +0100 Philip Hazel <[EMAIL PROTECTED]> wrote:

On Tue, 19 Jul 2005, lee wrote:


Hello everyone,

Is it possible to filter on a condition that a certain mail header does
not exist ?

if $message_headers does not contain "xxxx:" then ...

Ooh, isn't this going to generate a number of false positives? Should we not match on the start of the line? Can we say this?:

   if $message_headers matches "^xxxx: "

Philip
(Currently teaching Exim in Bhutan)


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



--
Ian Eiloart
Servers Team
Sussex University ITS


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