Re: [exim] Using "or" in ACL condition statement

Pàgina inicial
Delete this message
Reply to this message
Autor: Keith Edmunds
Data:  
A: exim-users
Assumpte: Re: [exim] Using "or" in ACL condition statement
On Thu, 18 Oct 2007 08:18:54 -0400, msherman@??? said:

> Try ${if or{{0}{1}}}.


No, that doesn't work:

failed to expand ACL string "${if {or{{0}{1}}}{1}}": condition name
expected, but found "{or{{0}{1}}}{1}}"

On Thu, 18 Oct 2007 08:07:37 -0400 (EDT), jj33@??? said:

> $ exim -be '${if or{{eq{1}{0}}{eq{1}{1}}}{true}{false}}'
> true
> $ exim -be '${if or{{eq{1}{0}}{eq{a}{b}}}{true}{false}}'
> false


Thanks John, that works exactly as required.

Keith