Re: [exim] router precondition inversion

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: jeff sacksteder
CC: exim-users, peter
Subject: Re: [exim] router precondition inversion
On Thu, 28 Apr 2005, jeff sacksteder wrote:

> > .   If a pattern is not one of the above syntax forms, that is, if a non-     |
> >     empty pattern that is not a regular expression or a lookup does not       |
> >     contain an @ character, it is matched against the domain part of the
> >     subject address. The only two formats that are recognized this way are a
> >     literal domain, or a domain pattern that starts with *. In both these
> >     cases, the effect is the same as if "*@" preceded the pattern.

>
> Then it does not seem possible to use a negative criteria in a
> 'sender' line. I should be using 'condition = ', then?


The negation feature applies to all list items (see section 10.2 in the
manual). There is no reason why you cannot write

senders = !x@y

for example, or

senders = !some.domain

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