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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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