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

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: 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