Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-08-2008, 03:10 AM   #1
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Rep: Reputation: 38
Question Sendmail using lower priority MX

Emails sent to a particular domain ( is always using the lower priority MX which happens to be down and so the emails are not getting delivered.

From my server:
[root@mx1 ~]# host -t mx mail is handled by 50 mail is handled by 10

[root@mx1 ~]# mailq
                /var/spool/mqueue (18 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
m887bl45020906      704 Mon Sep  8 13:38
                 (Deferred: Connection refused by

/var/log/maillog shows no connection attempt made to the higher MX at all.

I can connect to the higher priority MX but not the lower 1 from the server:
[root@mx1 ~]# telnet 25
Connected to (
Escape character is '^]'.
220 ESMTP server of Telnet Communication Limited (Telnet). Sending Unsolicited Commercial or Bulk E-mail or SPAM to/from TELNET Computer Network is Strictly Prohibited. Any Attempt Of This Type Of Abuse Will Cause From Termination Of Network Connectivity Up To Activity Of Law Enforcement Agencies.
221 2.0.0 Bye
Connection closed by foreign host.

[root@mx1 ~]# telnet 25
telnet: connect to address Connection refused
telnet: Unable to connect to remote host: Connection refused
Any advice?

Last edited by the_gripmaster; 09-08-2008 at 03:13 AM.
Old 09-08-2008, 03:36 AM   #2
Registered: Oct 2007
Posts: 71

Rep: Reputation: 15

check whether is listening to port 25.

netstat -nap | grep smtp
If active, check your firewall if it allowing port 25.
iptables -L
Old 09-08-2008, 03:41 AM   #3
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 38
It's not actually a firewall issue. I called up and they said that their lower priority MX server has been deliberately shut down.

So, what else could be the problem?

Last edited by the_gripmaster; 09-08-2008 at 05:58 AM.


mx, priority, sendmail

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
How to lower the sound of beep? chickenjoy Linux - Newbie 6 09-26-2007 09:48 AM
process priority,nice -- small question regarding high/low priority values beeblequix Linux - Newbie 1 10-11-2006 10:22 AM
How do I lower security? njbrain Slackware 12 05-01-2005 12:51 PM
konqueror lower right corner what is that? demmylls Linux - General 1 01-19-2004 07:07 AM
Lower resolution on 9.1? pprms Mandriva 1 09-07-2003 01:52 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:46 AM.

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