> I'm having some trouble setting up a rule in acl_check_mail to reject
> remote hosts that HELO or announce their own host name with my own domain.

> the rule was only triggered twice.
> The rest of the time it seemed to fall straight through to the
> acl_check_rcpt right below and performed a verify sender which failed.
> I'm not sure how to test in a way that causes the host name to appear as
> whatever I want and I'm also not quite understanding why the rules
> failed.  I know I missed something.

> 2015-02-20 20:47:50 H=(mail.acarver.net) [177.11.51.69] I=[10.0.0.6]:25
> rejected MAIL <[email protected]>: Invalid HELO
> 2015-02-20 20:47:50 H=(smtp.acarver.net) [177.11.51.69] I=[10.0.0.6]:25
> sender verify fail for <[email protected]>: Unrouteable address
> 2015-02-20 20:47:50 H=(smtp.acarver.net) [177.11.51.69] I=[10.0.0.6]:25
> F=<[email protected]> rejected RCPT <[email protected]>: Sender
> verify failed

Try to move the checks from acl_check_mail to acl_check_rcpt.
If that helps then please tell us (that may be considered as a bug in Exim).

-- 
## 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