[CentOS] Mail has quit working

Sat Aug 25 16:27:36 UTC 2018
Gordon Messmer <gordon.messmer at gmail.com>

On 08/25/2018 03:35 AM, TE Dukes wrote:
>> Can't say that's what I expected.  What about "getent hosts"?
>       localhost

OK.  /etc/hosts isn't being used.  You indicated earlier that you had 
more hostnames in that file.  They should show up there.

Let's go back to pastebin.  What are the contents of /etc/nsswitch.conf 
and /etc/hosts, now?

Are you running nscd, nslcd, or sssd?  If so, you may need to stop them 
or flush their cache.

What do you get if you "dig @localhost localhost +short".  If that 
doesn't return a "localhost" address, then the name server that you're 
running has a broken configuration.

Do you get any output from "echo $HOSTALIASES"?