Re: [Exim] Warn ACL with sender verify problem

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Horne
Ημερομηνία:  
Προς: Exim usersEximUsersList
Αντικείμενο: Re: [Exim] Warn ACL with sender verify problem
On Wed, 2004-04-21 at 15:49, Edgar Lovecraft wrote:
> John Horne wrote:
> >
> ..[snip]...
> >
> > The MAIL ACL was:
> >
> >   warn    condition = ${if eq {$acl_m5} {} {true} {false} }
> >           condition = ${if == {$acl_m3} {0} {true} {false} }
> >           verify = sender
> >           set acl_m7 = 1

> >
> > and the RCPT became:
> >
> >   deny    log_message = Prohibited: Sender address is unrouteable
> >    message = Prohibited: Sender address is unrouteable
> >    condition = ${if == {$acl_m7} {0} {true} {false} }

> >
>
> try !condition = ${if == {$acl_m7} {1} {true} {false} }
>
> As you never set acl_m7 to 0, just to 1
>

No, that was my fault. The first part of the ACL sets all the relevant
variables to 0.


John.

--
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne@???       Fax: +44 (0)1752 233839