Re: [exim] Combining server_condition

Inizio della pagina
Delete this message
Reply to this message
Autore: Evgeniy Berdnikov
Data:  
To: exim-users
Oggetto: Re: [exim] Combining server_condition
On Fri, Apr 16, 2021 at 02:35:22AM +0200, Torsten Müller via Exim-users wrote:
> My last attempt was:
>
>         server_condition = ${if or{\
>             {{${lookup mysql {MYSQL_AUTH_GWUSERPLAIN}}} {no}{yes}}\
>             {{${lookup mysql {MYSQL_AUTH_PLAIN}}} {no}{yes}}\
>         }}

>
> , but this doens't give the expected result.
> Did i i make an error in combining the conditions ?


Yes, or{..} expects boolean arguments, not strings like "no" or "yes".
I recommend to use "exim -be" to debug such expressions quickly.
--
Eugene Berdnikov