Re: [Exim] Return code using ACL

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: William Thompson
CC: exim-users
Betreff: Re: [Exim] Return code using ACL
On Mon, 31 Mar 2003, William Thompson wrote:

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

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.