Re: [exim] MySQL - Blocking senders at RCPT time

Góra strony
Delete this message
Reply to this message
Autor: thunder
Data:  
Dla: exim-users
Temat: Re: [exim] MySQL - Blocking senders at RCPT time
On 2017-08-02 22:13, Evgeniy Berdnikov wrote:
> On Wed, Aug 02, 2017 at 10:03:47PM +1000, thunder@??? 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.