HeloName
Set the name for the HELO/EHLO commands V8.14 and later
When sendmail connects to a
listening MTA server, it waits for the 220 greeting
and then sends its HELO or EHLO command:
220 foo.example.com ESMTP Sendmail 8.14.0/8.14.0; Fri, 14 Dec 2007 11:53:38 −0800 (PST) EHLO your.host.domain
Normally, the hostname following the HELO or EHLO is the value of the
$j macro ($j on page 830). There may be
instances, however, when the value of $j is not correct. For
example, when the value assigned to $j is one that is not
known to the outside world (such as
host.inside.example.com),
this would mean that the hostname following HELO or EHLO could not be looked
up, potentially causing some sites to reject that
HELO or
EHLO command.
In such a circumstance the HeloName option can be used to set a
new value.
The forms of the HeloName option are as follows:
OHeloName=domain ← configuration file (V8.14 and later) -OHeloName=domain ← command line (V8.14 and later) define(`confHELO_NAME',domain) ← mc configuration (V8.14 and later)
The value of domain
must be a canonical hostname that can be looked up
using DNS. The string you specify is used as is. Do
not include macros in the declaration because they
will be used literally, not expanded.
The HeloName option
is not safe. If specified from the command line, it
can cause sendmail to
relinquish its special privileges.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access