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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jasen Betts
日付:  
To: exim-users
題目: 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