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

Góra strony
Delete this message
Reply to this message
Autor: Keith Edmunds
Data:  
Dla: exim-users
Temat: 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