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 result if the MySQL lookup returns *anything*.