-   Linux - General (
-   -   Mail Queue failures (

Ziggie 12-05-2005 02:37 PM

Mail Queue failures
My mailqueue has 66 requests, all of them MAILER-DAEMON messages stating that the connection was refused.

The server name, let's say, is SERVER, and the message says: Deferred: Connection refused by SERVER

So this server is refusing to send mail to itself from itself?

Anyone have any suggestions? Send mail is working because the server sends me a daily status report, which I receive.

I appreciate any help you can give, and I will gladly provide whatever further information is needed (presuming I can find it).


Ziggie 12-06-2005 07:15 AM

I'm afraid this may have gotten lost with all the new posts. Am I in the wrong place?

trickykid 12-06-2005 08:16 AM


Originally Posted by Ziggie
I'm afraid this may have gotten lost with all the new posts. Am I in the wrong place?

No, your in the right place, you just have to be patient at times. This is a site where volunteers come to help others in their own free time.

Now, if you post the exact error messages or returned mail, that might help. Any other details like connection type, if your using DHCP or static IP and where these emails are trying to be sent to, would be helpful. If you are on a cable connection or the like, it could be blocked by hostname and IP from your ISP. A lot of ISP's do not like smtp servers that are DHCP and or not registered mail servers, they treat them like spam.

Other things to look for are, your getting other messages daily, were these sent to localhost or an IP address instead of an actual hostname or domain? If the messages being rejected are named based, you probably have a DNS issue on the machine and or network.

But more details always get better responses.

Ziggie 12-06-2005 09:51 AM

Heh, I was being patient, but noticed it got pushed to the second page but didn't want it to get lost. I totally understand and appreciate that ya'all volunteer to help dummies like me learn their way around.


to answer your questions:


This is a MIME-encapsulated message


The original message was received at Tue, 29 Nov 2005 00:00:04 -0500
from localhost.localdomain []

----- The following addresses had permanent fatal errors -----

----- Transcript of session follows -----
<>... Deferred: Connection refused by
Message could not be delivered for 5 days
Message will be deleted from queue

Content-Type: message/delivery-status

Reporting-MTA: dns; DIBACFS
Arrival-Date: Tue, 29 Nov 2005 00:00:04 -0500

Final-Recipient: RFC822;
Status: 4.4.7
Remote-MTA: DNS;
Last-Attempt-Date: Sun, 4 Dec 2005 00:41:50 -0500

Content-Type: message/rfc822

Return-Path: <>
Received: from (localhost.localdomain [])
by DIBACFS (8.12.10/8.12.10) with ESMTP id jAT504M7023043
for <>; Tue, 29 Nov 2005 00:00:04 -0500
Received: (from root@localhost)
by (8.12.10/8.12.10/Submit) id jAT504TC023041
for root; Tue, 29 Nov 2005 00:00:04 -0500
Date: Tue, 29 Nov 2005 00:00:04 -0500
Message-Id: <>
From: (Cron Daemon)
Subject: Cron <root@DIBACFS> /usr/local/awstats/wwwroot/cgi-bin/ -update
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

Update for config "/etc/awstats/"
With data in log file "/var/log/httpd/access_log"...
Phase 1 : First bypass old records, searching new record...
Direct access after last parsed record (after line 994)
Jumped lines in file: 994
Found 994 already parsed records.
Parsed lines in file: 11139
Found 42 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 11097 new qualified records.

This is on a static IP, connected to a router. The router is plugged into a T1 connection. There shouldn't be anything being blocked at the router for this. The messages that are going out are sent to actual email addresses ( The messages all seem to be rejected by localhost with localhost as the destination.

All times are GMT -5. The time now is 08:44 PM.