Re: [exim] exim still accepting email after 550 from acl_che…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Drav Sloan
Ημερομηνία:  
Προς: Exim Users
Αντικείμενο: Re: [exim] exim still accepting email after 550 from acl_check_helo
Mike Brudenell wrote:
> OK, so this begs the question that if the RFC says a client MUST issue a
> HELO/EHLO before a mail transaction, then shouldn't Exim refuse to accept
> MAIL FROM until a HELO/EHLO has been received *and* accepted? (ie, doing a
> "deny" and issuing a 5xx response should leave Exim in its initial 'still
> looking for a HELO/EHLO or non-mail transaction command')


I've always dealt with that situation in the rcpt acl:

  # some spammers can't be bothered saying HELO
  deny condition = ${if eq{$sender_helo_name}{}{yes}{no}}
       !hosts = +relay_from_hosts
       message = RFCs mandate HELO/EHLO before mail can be sent


Regards

D.