[exim] Combining server_condition

2021-04-15 Thread Torsten Müller via Exim-users
Hello, i have this working server_condition in the PLAIN authenticator setup: auth_plain: driver = plaintext public_name = PLAIN server_prompts = : server_condition = ${if eq {} {${lookup mysql{MYSQL_AUTH_PLAIN}}} {no}{yes}} server_set_id = $2 Now i want

Re: [exim] Combining server_condition

2021-04-16 Thread Torsten Müller via Exim-users
Hello Heiko and Evgeniy, thanks for your answers. Heiko, i tried your suggestion Am 16.04.2021 um 10:04 schrieb Heiko Schlittermann via Exim-users: server_condition = ${if or{\ {bool{{${lookup mysql {MYSQL_AUTH_GWUSERPLAIN}}} {no}{yes}}}\ {bool{{${looku

Re: [exim] Combining server_condition

2021-04-16 Thread Torsten Müller via Exim-users
Am 16.04.2021 um 14:07 schrieb Evgeniy Berdnikov via Exim-users: IMHO, there was a mistake: one redundant level of {..} iside bool{} and improper ${lookup..} termination. Try: server_condition = ${if or{\ {bool{${lookup mysql {MYSQL_AUTH_GWUSERPLAIN}{no}{yes}

Re: [exim] Combining server_condition

2021-04-16 Thread Torsten Müller via Exim-users
Am 16.04.2021 um 15:16 schrieb Jeremy Harris via Exim-users: On 16/04/2021 13:59, Torsten Müller via Exim-users wrote: Now both MySQL queries work like expected, the first lookup yielded: 1, the second yielded: 0 The way you have coded that ${lookup } you are getting a "no" string

Re: [exim] autoreply sql from date to date

2023-01-24 Thread Torsten Müller via Exim-users
Hello, i do it this way. Greetings Torsten Am 24.01.2023 um 12:38 schrieb Sławomir Dworaczek via Exim-users: hi Do you have any idea how to set the auto-response parameter to work from date to date in exim using SQL query Regards --- router uservacation: driver = accept domain