On 2017-08-02 22:13, Evgeniy Berdnikov wrote:
On Wed, Aug 02, 2017 at 10:03:47PM +1000, [email protected] wrote:
>drop    senders = ${lookup mysql{select sender from
>mail.bannedsenders} {$value}fail}
>        message = Not acceptable - You are blacklisted
>
>Doesn't work. Any suggestions would be appreciated.

 It should not work because you are doing lookup of word 'sender'
 instead of $sender_address (or something like that).
--
 Eugene Berdnikov

Hi Eugene,

'sender' is a column in the table, its needed somewhere in the query so mysql knows which column in the table to return data from.

A.





--
## 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/

Reply via email to