Re: [exim] Combining server_condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Heiko Schlittermann
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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 -