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

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] MySQL - Blocking senders at RCPT time
On 2017-08-05, Jasen Betts <jasen@???> 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