Re: [exim] expansion string logic

Top Page
Delete this message
Reply to this message
Author: Matthias Waffenschmidt
Date:  
To: Drav Sloan
CC: exim-users
Subject: Re: [exim] expansion string logic
Hello,

On Wed, Dec 05, 2007 at 01:54:25PM +0000, Drav Sloan wrote:
>    I've been banging my head against a wall and I cannot see what
> I've got wrong. Can anyone spot anything wrong with...

>
> ./bin/exim -d -be '${if and { \
>    { isip{151.115.203.35}{true}{false} }\
>    { !eq{151.115.203.35}{127.0.0.9} }\
>    }\
> }'


First, the {true}{false} inside the first condtion is not correct,
just leave it.

Second, there seems to be a problem with the line breaks (maybe the
escaping of '\'). All in a single line or entering the condition
interactively gives the correct result.

-- 
Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
mw@???              |  D-70565 Stuttgart  |  http://www.lf.net