[CentOS] Mail has quit working

Sun Aug 26 13:25:29 UTC 2018
TE Dukes <tdukes at palmettoshopper.com>


> -----Original Message-----
> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Gordon
> Messmer
> Sent: Sunday, August 26, 2018 2:16 AM
> To: centos at centos.org
> Subject: Re: [CentOS] Mail has quit working
> 
> On 08/25/2018 10:20 AM, TE Dukes wrote:
> >
> >> Let's go back to pastebin.  What are the contents of /etc/nsswitch.conf
> >> and /etc/hosts, now?
> >>
> > Link to pastebin:
> https://paste.fedoraproject.org/paste/97keKuhV4lMoLZ8DIrYT8w
> 
> "Hosts: files dns"
> 
> Try again.  "hosts"
> 
Thanks!

Made the change above in nsswitch, rebooted, ran dig @localhost localhost +short
Got: dig: couldn't get address for 'localhost': failure

Checked maillog:

Aug 26 09:12:31 ts130 postfix/qmgr[2194]: E5B948331053: from=<fail2ban at palmettodomains.com>, size=469, nrcpt=1 (queue active)
Aug 26 09:12:31 ts130 postfix/smtp[2307]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Aug 26 09:12:32 ts130 postfix/smtp[2307]: E5B948331053: to=<root at ts130.palmettodomains.com>, orig_to=<root>, relay=none, delay=77, delays=77/0.39/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Aug 26 09:12:34 ts130 postfix/pickup[2193]: 4670E8252A22: uid=0 from=<fail2ban at palmettodomains.com>
Aug 26 09:12:34 ts130 postfix/cleanup[2197]: 4670E8252A22: message-id=<20180826131234.4670E8252A22 at ts130.palmettodomains.com>
Aug 26 09:12:34 ts130 postfix/qmgr[2194]: 4670E8252A22: from=<fail2ban at palmettodomains.com>, size=482, nrcpt=1 (queue active)
Aug 26 09:12:34 ts130 postfix/smtp[2307]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Aug 26 09:12:34 ts130 postfix/smtp[2307]: 4670E8252A22: to=<root at ts130.palmettodomains.com>, orig_to=<root>, relay=none, delay=0.58, delays=0.58/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)

Really appreciate everyone's help and patience!