Re: [exim] EHLO/HELO checking problem

Top Page
Delete this message
Reply to this message
Author: David Woodhouse
Date:  
To: Andris Peize
CC: exim-users
Subject: Re: [exim] EHLO/HELO checking problem
On Wed, 2004-08-25 at 17:14 +0300, Andris Peize wrote:
> How do I ensure that:
> a) HELO/EHLO was presented
> b) HELO/EHLO was accepted


In your MAIL ACL:

  # Don't allow any MAIL commands without HELO or EHLO
  deny    condition    = ${if !def:sender_helo_name {1}{0}}
      message    = You must identify yourself with HELO or EHLO before sending mail.


> c) maybe even that (b) happens only once ???


Don't do that. RFC2821 allows multiple HELO.

--
dwmw2