[BlueOnyx:18525] Re: 5209R hostname
Michael Stauber
mstauber at blueonyx.it
Sat Oct 17 11:15:09 -05 2015
Hi Ernie,
> The hostname on 5209R is not showing the FQDN only showing the host
> part, missing the domain, this screws up the 220 greeting string on
> sendmail so it doesn't fully match the A records and PTR records.
>
> Previous versions of BlueOnyz set the host name properly.
Yeah. EL7 changed that part of the behaviour. It doesn't matter if you
put the correct HOSTNAME string into /etc/sysconfig/network. It doesn't
matter if you put the domain name or the full FQDN into /etc/hostname:
"uname -a" will only report the domain name, not the FQDN. OTOH:
"hostname -a" does show the full FQDN. This behaviour is different from
all previous versions of RHEL and CentOS - for no good reason.
As far as Sendmail goes: You're right, the "220" only shows the
hostname. But anything else (see the "221") makes clear that Sendmail is
fully aware of the full FQDN:
mstauber at beast:~/$ telnet 5209r.smd.net 25
Connected to 5209r.smd.net.
Escape character is '^]'.
220 5209r ESMTP Sendmail Ready; Sat, 17 Oct 2015 11:06:09 -0500
quit
221 2.0.0 5209r.smd.net closing connection
Connection closed by foreign host.
I'm not sure how this can be tackled. Or if it should be in first place.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list