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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeffrey Starin
Datum:  
To: Always Learning
CC: Exim
Betreff: Re: [exim] Produce 550 error depending on sender's email
In my configuration the acl_smtp_rcpt was further up and looks like this:

acl_smtp_rcpt = check_recipient

so I then tried your parameters but under check_recipient, instead, and
now it works!

I placed it under:

#END ACL_NOTQUIT_BLOCK
#!!# ACL that is used after the RCPT command
check_recipient:

Thanks a million!

If you see any possible conflict please advise.

On 3/16/2012 12:41 PM, Always Learning wrote:
> On Fri, 2012-03-16 at 12:21 -0400, Jeffrey Starin wrote:
>>> 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"
> It needs to be defined. In your configuration file before 'begin acl'
> you need:
>
> acl_smtp_rcpt = acl_check_rcpt
>
> ---------------------
> The sequence in the configuration file is:-
>
> acl_smtp_rcpt = acl_check_rcpt
>
> begin acl
>
> acl_check_rcpt:
>
>
>
>
> Hope that helps.
>
>
>