Re: [exim] Deny for a recipient if a sender is on a that rec…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] Deny for a recipient if a sender is on a that recipients blacklist
On 23/02/15 07:17, Matt Bryant wrote:
> mysql table
> recipientAddress, senderAddress, listType (1 = white/2= black)
>
>
> acl_smtp_rcpt:
>
>     deny
>         recipients = ${lookup mysql {select recipientAddress from
> senderLists where senderAddress = ${quote_mysql:$sender_address}' and
> recipient = '${quote_mysql:$local_part@$domain}'
>         logwrite = 'LOG: Reject - recipient $local_part@$domain has
> blacklisted $sender_address


When you run in debug mode, what is the lookup doing?
--
Cheers,
Jeremy