On Sat, May 23, 2015 at 06:51:59PM +0200, Herbert J. Skuhra wrote:
> On Sat, May 23, 2015 at 06:22:45PM +0200, Joerg Jung wrote:
> > 
> > > Am 23.05.2015 um 18:15 schrieb Herbert J. Skuhra <[email protected]>:
> > > 
> > > how can I receive mails from a server that is sending an invalid domain
> > > name in EHLO/HELO command?
> > > 
> > > smtpd[16165]: smtp-in: Failed command on session 6a0f577547bb0d7c: "EHLO 
> > > spce." => 501 5.5.4 Invalid command arguments: Invalid domain name
> > > smtpd[16165]: smtp-in: Failed command on session 6a0f577547bb0d7c: "HELO 
> > > spce." => 501 5.5.4 Invalid command arguments: Invalid domain name
> > > 
> > > My postfix server accept such mails (if reject_invalid_helo_hostname and 
> > > reject_non_fqdn_helo_hostname is off).
> > 
> > Which smtpd version have you running?
> 
> I am running OpenSMTPD 5.4.5p1 on FreeBSD.
> 
> > AFAIK, the associated code changed recently.
> > So, try upgrading?
> 
> You are right. The git version accepts such mails.

For more fine-grained control, e.g. allowing specific HELO arguments
while rejecting other (invalid) ones, you may want to play with
filter-regex.

Regards,
Joerg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to