Skip to main content

Name

require_ehlo — reject mail from clients that don't say HELO

Synopsis

require_ehlo = false

require_ehlo = true

Description

This directive instructs Momentum to force clients to initiate conversations with an EHLO or HELO command. Early RFCs defining the SMTP protocol did not require or even define the HELO command (notably RFC788). However, starting with RFC821 and currently in RFC2821, one of EHLO or HELO is required. As such, much older SMTP clients may not implement a version of SMTP newer than RFC788. Enable this setting if you wish to enforce RFC821 and later HELO/EHLO handling.

Setting require_ehlo to true will cause Momentum to response with a 501 error to any commands issued before an EHLO or HELO command.

The default value is false.

Scope

require_ehlo is valid in the global, listener, listen, and peer scopes.

Was this page helpful?