Re: [exim] Combining server_condition

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Heiko Schlittermann
Data:  
Para: exim-users
Asunto: Re: [exim] Combining server_condition
Torsten Müller via Exim-users <exim-users@???> (Fr 16 Apr 2021 02:35:22 CEST):
> My last attempt was:
>
>         server_condition = ${if or{\
>             {{${lookup mysql {MYSQL_AUTH_GWUSERPLAIN}}} {no}{yes}}\
>             {{${lookup mysql {MYSQL_AUTH_PLAIN}}} {no}{yes}}\
>         }}


          server_condition = ${if or{\
              {bool{{${lookup mysql {MYSQL_AUTH_GWUSERPLAIN}}} {no}{yes}}}\
              {bool{{${lookup mysql {MYSQL_AUTH_PLAIN}}} {no}{yes}}}\
          }}


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -