Re: [exim] Produce 550 error depending on sender's email

Top Page
Delete this message
Reply to this message
Author: Jeffrey Starin
Date:  
To: Always Learning
CC: Exim
Subject: Re: [exim] Produce 550 error depending on sender's email
On 3/16/2012 11:19 AM, Always Learning wrote:
>> We need to send a 550 error to several senders even though the recipient
>> email address is, in fact, valid. This is because the recipient does
>> not want to receive any email from the sender and wishes them to think
>> that their email does not exist on our receiving servers.
> How about this ?
>
> acl_check_rcpt:
>
> deny   message    = [2C03] Unknown email address $local_part@$domain.
>         recipients = jonny@???
>         condition  = ${if match{$sender_address}{sally@???}}

>
>
>

Hmmm. . . I've tried both methods. Not working yet. I'm wondering if
the placement of the acl_check_rcpt within the acl stanza of exim.conf
matters? Currently it's the first entry after "begin acl"