[CentOS] Mail has quit working

Tue Jul 24 01:53:42 UTC 2018
Nataraj <incoming-centos at rjl.com>

On 07/23/2018 06:46 PM, TE Dukes wrote:
>
>> -----Original Message-----
>> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of
>> tdukes at palmettoshopper.com
>> Sent: Monday, July 23, 2018 9:28 PM
>> To: CentOS mailing list
>> Subject: Re: [CentOS] Mail has quit working
>>
>>
>>
>>
>> -------- Original Message --------
>> Subject: Re: [CentOS] Mail has quit working
>> From: Nataraj <incoming-centos at rjl.com>
>> Date: Mon, July 23, 2018 9:01 pm
>> To: centos at 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 at 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 at validdomain.com>
>> rcpt to: <youremailaddress at yourdomain.com>
>> data
>> From: someuser at validdomain.com
>> to: youremailaddress at 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.
>>
>> Thanks!!
> Tried following your instructions and got 227 2.7.0 Error: I can break
> rules, too. Goodbye.
> Connection closed by foreign host.
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

If your grabbing text and stuffing it with the mouse, you need to send
only 1 line at a time and wait for a reply for each line, except for the
data section where you can send multiple lines.  If you get errors, run
script before running telnet and post a log of the session or else tell
us which line caused the error.


Nataraj