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

Attachment: signature.asc
Description: Digital signature

-- 
## List details at http://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