LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-14-2011, 05:32 PM   #1
kitek
Member
 
Registered: Apr 2005
Posts: 252

Rep: Reputation: 15
Sendmail "queue" messages.


Sendmail isn't sending mail for some reason and keeping it in the Queue. I attemped to flush them but it deferres the connection to the server in which it is trying to relay the message to. I have checked to see if there is a DNS error or anything like that. I attemped to flush the messages through webmin. This is the result.

Code:
Running /var/spool/mqueue/p4DG1hlS014037 (sequence 1 of 1)
p4DG1hlS014037: locked
I am not finding anything in the logs to let me know their is an error. I can ping the mail servers that it is trying to send to. Now it has started delaying when ping MX servers. So I knew something was starting to mess with it. I have checked the /etc/hosts. It is correct. The server isn't black listed. Mail to root just gives me.

Code:
  **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Fri, 13 May 2011 11:01:17 -0500
from localhost.localdomain [127.0.0.1]

   ----- Transcript of session follows -----
<hawk@airboatingmagazine.com>... Deferred: Connection timed out with mailstore1.secureserver.net.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
It's basically not sending any email.

Any ideas of what might be going on?

This is sendmail 8.13.8 config V10/Berkeley. CentOS 5.5 Fully updated.
 
Old 05-15-2011, 06:31 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
I'd suggest connecting to your mail server and getting a telnet
session open on port 25 to the remote host. Try to sent an
email message using smtp commands. You might find you cannot
connect, that you get disconnected after connecting, or that
some type of error message comes up.

Here is a sample smtp session. Of course you'll want to use
your real email addresses and hostnames.
Code:
telnet remote.com 25
helo myorg.com
mail From: <me@myorg.tld>
rcpt To: <user@fqdn.tld>
data
To: Client Name <spam@user.com>
From: Fake Name <faker@psych.com>
Subject: Whatever

Whatever followed by a "."
.
quit
 
Old 05-15-2011, 09:47 AM   #3
kitek
Member
 
Registered: Apr 2005
Posts: 252

Original Poster
Rep: Reputation: 15
Cool

Quote:
Originally Posted by carltm View Post
I'd suggest connecting to your mail server and getting a telnet
session open on port 25 to the remote host. Try to sent an
email message using smtp commands. You might find you cannot
connect, that you get disconnected after connecting, or that
some type of error message comes up.

Here is a sample smtp session. Of course you'll want to use
your real email addresses and hostnames.
Code:
telnet remote.com 25
helo myorg.com
mail From: <me@myorg.tld>
rcpt To: <user@fqdn.tld>
data
To: Client Name <spam@user.com>
From: Fake Name <faker@psych.com>
Subject: Whatever

Whatever followed by a "."
.
quit
It turned out, recently we switch ISP's. Now looking on it, I finally after many attemps I troubleshooted the server I couldn't find anything wrong. This is a business connection. We asked our ISP several times if they were block port 25 on the line. I was so ready to just quit. I was out of ideas. I finally insisted that it was a problem on there side, they did finally discover they were still blocking the outgoing port 25. I was sure it was them when I find out I had multiple web servers with the same problem. Of course I only missed emails that where going over the internet to be delivered. Local on the network was fine of course. NE ways, it was simply that. Just "make sure your ISP no matter what kind of connection you order, they still could be block your port 25".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 specific Sendmail questions about "delay_checks" and "Connect:" in access.db fast-reflexes Linux - Server 0 08-05-2010 09:33 AM
"irq timeout" and "failed opcode was: unknown" dmesg messages kenneho Linux - Server 0 06-17-2009 02:35 AM
how to stop "Returned Mail" messages from sendmail amushtaq Linux - Software 3 03-29-2006 05:37 PM
Configuring Sendmail to save "Sent Messages"? provo1234 Linux - Networking 1 01-08-2005 02:10 AM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration