[CentOS] Mail has quit working

Gordon Messmer gordon.messmer at gmail.com
Sat Aug 25 06:02:11 UTC 2018


On 08/24/2018 05:40 PM, TE Dukes wrote:
>
>>      getent hosts localhost
> ::1                        localhost

Can't say that's what I expected.  What about "getent hosts 127.0.0.1"?

Also, uncomment the ::1 line in /etc/hosts.

>> Can you reach localhost by "normal" means?
>>      telnet localhost 25
> I cannot.


Can you share the specific output of the command?  It might help. From 
what you've told us, localhost resolves to the IPv6 local address, and 
that address is present on your "lo" device.  You *should* be able to 
connect.  The type of error might indicate what is still wrong with the 
system.




More information about the CentOS mailing list