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 = [email protected]
         condition  = ${if match{$sender_address}{[email protected]}}



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.





--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to