Re: [exim] ACL for rejecting own host in HELO

Top Page
Delete this message
Reply to this message
Author: Lena
Date:  
To: exim-users
Subject: Re: [exim] ACL for rejecting own host in HELO
> 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 <cwcxk@???>: 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 <lsvbxff@???>: Unrouteable address
> 2015-02-20 20:47:50 H=(smtp.acarver.net) [177.11.51.69] I=[10.0.0.6]:25
> F=<lsvbxff@???> rejected RCPT <teste13.pop3@???>: 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).