On 2017-08-05, Jasen Betts <ja...@xnet.co.nz> wrote: >> >> I have data like this in the table: >> >>| 21 | *.date | >>| 22 | *.top | >>| 23 | *.us | >> >> Would it still work? > > No, but like this it will. > > Q_BL_SENDERS = SELECT email FROM blacklists WHERE \ > email='${quote_mysql:$sender_address}' \ > OR email LIKE '*%';
Re-thinking this it comes to me that you also need to specify newline as the list separator when using the result. reject senders=<\n ${lookup [...] -- This email has not been checked by half-arsed antivirus software -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/