Re: [exim] only relay mail for our domain in relay_from_host…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dave Evans
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] only relay mail for our domain in relay_from_hosts..
On Thu, Aug 05, 2010 at 11:37:47AM -0400, B. Cook wrote:
> in the acl_smtp_mail I have tried..
>
> acl_check_mail:
> require domains = mydomain.org
> accept
>
> which passes exim -bV but gives a 451 and: cannot test domains
> condition in MAIL ACL


In acl_smtp_mail, you probably want sender_domains, not domains.

To quote the spec,

domains = <domain list>

    This condition is relevant only after a RCPT command ...


sender_domains = <domain list>

    This condition tests the domain of the sender of the message ...


Regards,

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey