Re: [exim] EHLO/HELO checking problem

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: David Woodhouse
Ημερομηνία:  
Προς: Andris Peize
Υ/ο: exim-users
Αντικείμενο: 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