Re: [exim] router precondition inversion

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: peter, jsacksteder
Υ/ο: Exim Users Mailing List
Αντικείμενο: Re: [exim] router precondition inversion
On Thu, 28 Apr 2005, Peter Bowyer wrote:
> On 28/04/05, jeff sacksteder <jsacksteder@???> wrote:
> >
> > I want a router to not succeed if a envelope sender is a specific
> > match. More specifically, the router logs messages to BSMTP and uses
> > the 'unseen' directive to continue processing. I want to ignore
> > messages from certain senders. I had hoped to use
> >
> > senders = !somedomain.com
> >
> > but it doesn't seem to be having the intended effect(actually it
> > doesn't seem to have any effect).


Try running Exim in debugging mode to see what the router is doing.

> 'senders' checks against an address list - so you need
> '*@somedomain.com'.


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


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}