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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Always Learning
Datum:  
To: Exim
Betreff: Re: [exim] Produce 550 error depending on sender's email

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.



--
Paul.
England,
EU.