Re: [Exim] Return code using ACL

Top Page
Delete this message
Reply to this message
Author: William Thompson
Date:  
To: Philip Hazel
CC: exim-users
Subject: Re: [Exim] Return code using ACL
> > I didn't realize it did that. By the way, how do I restrict MAIL if HELO
> > wasn't sent w/o using an ACL? or is it possible?
>
> helo_verify_hosts              Type: host list*                 Default: unset |
>                                                                                |
>     For hosts that match this option, Exim checks that the host name given in  |
>     the HELO or EHLO in the same way as for "helo_try_verify_hosts". If the    |
>     check fails, the HELO or EHLO command is rejected with a 550 error, and    |
>     entries are written to the main and reject logs. If a MAIL command is      |
>     received before EHLO or HELO, it is rejected with a 550 error.             |

>
> But that does rather more than just check for HELO-before-MAIL.
>
> OTOH, if you are prepared to use an ACL it is easy. Just check that
> $sender_helo_name is set in the MAIL ACL.


I see, however, it appears that it does a little more than simply requiring
HELO before MAIL.

I must be hungup on HELOs for some reason =)