Re: [Exim] Condition question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Oren Levi
CC: exim-users
Betreff: Re: [Exim] Condition question
On Fri, 19 Sep 2003, Oren Levi wrote:

> would this work ?
>
> accept authenticated = *
>          message = Authenticated user must match sender!
>          endpass
>          condition = ${if eq{$authenticated_id}{$sender_address}{yes}{no}}
>          condition = ${if !eq{$authenicared_id}{not@???}{yes}{no}}
>          verify = sender


Yes, but only if you correct the typo! :-)

However, if the second condition, or the verify, fails, it will give a
misleading error message. You might want to insert some more "message"
modifiers.

The best way of answering the question "does this work?" is to try it
out using Exim's testing facilities. In this case, the -bh option can be
useful.

> is it case sensitive ?


eq is case sensitive. eqi (added for release 4.23) is not.

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