On 07/23/2018 06:28 PM, tdukes@palmettoshopper.com wrote:
-------- Original Message -------- Subject: Re: [CentOS] Mail has quit working From: Nataraj incoming-centos@rjl.com Date: Mon, July 23, 2018 9:01 pm To: centos@centos.org
On 07/23/2018 03:39 PM, TE Dukes wrote:
Hello,
Mail has come to an abrupt stop. Running C7, postfix and dovecot. Using Roundcube as the client.
Mail stopped working Saturday and I cannot figure was has happened. I have not touched this server except to upgrade packages. I believe Roundcube was updated maybe a week ago but know I was getting mail since then.
Crond is no longer send mail. I checked /var/spool/mail as well as /Maildir in home directories. Zero byte files.
Checked all logs and the only thing I could find was in /var/log/maillog : warning hostname localhost does not resolve to address 127.0.0.1
I corrected that by changing inet_interfaces to localhost from all in postfix.cf
When I try to log in with Roundcube, it just times out.
I'm stuck!
TIA for any suggestions!!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
More information would be helpful to troubleshoot this. Try sending output from:
postfix status
mailq
Try telnetting to your smtp server and sending a message like this from the local system: substitute a valid user/domain on the mail from line and a valid email address in your domain on the rcpt to line. Do this, logged onto the mailserver.
telnet localhost 25 helo mydomain.com (substitute a valid domain here) mail from: someuser@validdomain.com rcpt to: youremailaddress@yourdomain.com data From: someuser@validdomain.com to: youremailaddress@yourdomain.com subject: test
This is a test mesage .
note: blank line between mail headers and body
end data with line containing only '.'.
Then check your maillog and send the output to the list.
Nataraj
postfix status:
postfix/postfix-script: the Postfix mail system is running: PID 5936
mailq: Mail queue is empty
Did the telnet localhost 25, it answered but not sure I understood you what I needed to do.
Simply telnet to mailserver on port 25 and type what I've shown, substituting valid email addresses and valid addresses in your domain as indicated. You can use your own domain for the hello command, i.e. "helo mydomain.com". Everything between the data command and the '.' is input to the data command. After you type the '.' the message will be sent and should be delivered to the user on the "rcpt to" line. You should see logging of successful delivery or errors in the maillog.
Nataraj