Sendmail problem

Kevin Cummings cummings at kjchome.homeip.net
Tue Aug 5 17:40:54 UTC 2014


On 08/05/2014 10:56 AM, Kevin Martin wrote:
> On 08/05/2014 09:37 AM, Kevin Cummings wrote:
>> Starting at some point during the day on July 30, my outgoing emails
>> have been queueing up on my Fedora 19 server with some strange messages:
>>
>>> # mailq
>>> 		/var/spool/mqueue (1 request)
>>> -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
>>> s75EJYwb013189*    3981 Tue Aug  5 10:19 <cummings at kjchome.homeip.net>
>>>                  (Deferred: Connection refused by localhost.localdomain.homeip)
>>> 					 <recipient at gmail.com>
>>> 		Total requests: 1
>>
>> It takes a manual flush (/usr/local/bin/runq, where runq is a script to
>> run: sendmail -q) to send them out.
>>
>> Initially I thought this was a name server problem, but even after
>> adding entries to /etc/hosts for localhost.localdomain.homeip.net (to
>> point to 127.0.0.1) my sent emails keep queueing up and not being sent
>> out.  But I can now flush them manually.
>>
>> Any ideas what is wrong?  And why is localhost.localdomain being
>> prepended to my local domain name in the mqueue?  I'm fairly sure this
>> is my problem.  What happened on July 30th?  My yum logs show that no
>> updates were applied between July 28 @ 22:46 and August 2 @ 00:50, but
>> my outgoing emails started hanging up on July 29 or 30th....
>>
>> I have resorted to adding a crontab entry to flush my mailq every 5
>> minutes in the meantime.
>>
> 
> Do you have a sendmail daemon running and/or did you restart it after adding the entry to /etc/hosts?

Yes, sendmail was/is running (according to systemctl).  And my changing
/etc/hosts wasn't even attempted until after mail started backing up in
the mqueue.  But, yes, again, I have systemctl restart sendmail a couple
of time since then.  Last time was Saturday.

> Have you checked your cf file(s) to see if something changed (not thru
yum)?

I have looked at my mc file, and nothing has changed there....

The cf file is dated June 9th (the mc file much older), so it is
unchanged since before the problem has started.

> 
> Kevin
> 

-- 
Kevin J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)


More information about the users mailing list