sendmail not delivering, deferred

Posted on 2015-02-20
Last Modified: 2015-02-21
I switched the IP address for our mail server and now some messages are not getting delivered. Most are OK, but it superficially appears that messages to aol and roadrunner are having trouble. Here is an example:
Feb 20 08:34:32 mail sm-mta[17788]: t1KDYWkl017788: from=<>, size=5075, class=0, nrcpts=1, msgid=<01d601d04d11$f4869d70$dd93d850$>, proto=ESMTP, daemon=MTA, relay=MARK.hprs.local []
Feb 20 08:34:32 mail sm-mta[17788]: t1KDYWkl017788: Milter add: rcpt: allmail
Feb 20 08:34:32 mail sm-mta[17792]: t1KDYWkl017788: to=/var/spool/mail/allmail, ctladdr=allmail (2/0), delay=00:00:00, xdelay=00:00:00, mailer=*file*, pri=125075, dsn=2.0.0, stat=Sent
Feb 20 08:34:33 mail sm-mta[17792]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=125075, [], dsn=4.0.0, stat=Deferred: 421 4.7.1 : (DNS:NR)
Feb 20 08:46:51 mail sm-mta[17954]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=00:12:19, xdelay=00:00:01, mailer=esmtp, pri=215075, [], dsn=4.0.0, stat=Deferred: 421 4.7.1 : (DNS:NR)
Feb 20 09:11:51 mail sm-mta[18318]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=00:37:19, xdelay=00:00:00, mailer=esmtp, pri=305075,, dsn=4.0.0, stat=Deferred
Feb 20 09:36:52 mail sm-mta[18578]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=01:02:20, xdelay=00:00:00, mailer=esmtp, pri=395075,, dsn=4.0.0, stat=Deferred
Feb 20 10:01:52 mail sm-mta[18896]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=01:27:20, xdelay=00:00:00, mailer=esmtp, pri=485075,, dsn=4.0.0, stat=Deferred
Feb 20 10:26:51 mail sm-mta[19338]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=01:52:19, xdelay=00:00:00, mailer=esmtp, pri=575075,, dsn=4.0.0, stat=Deferred
Feb 20 10:51:52 mail sm-mta[19613]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=02:17:20, xdelay=00:00:00, mailer=esmtp, pri=665075,, dsn=4.0.0, stat=Deferred
Feb 20 11:07:27 mail sm-mta[19887]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=02:32:55, xdelay=00:00:00, mailer=esmtp, pri=755075,, dsn=4.0.0, stat=Deferred
Feb 20 11:29:44 mail sm-mta[20133]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=02:55:12, xdelay=00:00:00, mailer=esmtp, pri=845075,, dsn=4.0.0, stat=Deferred
Feb 20 11:54:57 mail sm-mta[20469]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=03:20:25, xdelay=00:00:00, mailer=esmtp, pri=935075,, dsn=4.0.0, stat=Deferred
Feb 20 12:19:45 mail sm-mta[20857]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=03:45:13, xdelay=00:00:00, mailer=esmtp, pri=1025075,, dsn=4.0.0, stat=Deferred
Feb 20 12:48:59 mail sm-mta[21261]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=04:14:27, xdelay=00:00:00, mailer=esmtp, pri=1115075,, dsn=4.0.0, stat=Deferred
Feb 20 12:48:59 mail sm-mta[21261]: t1KDYWkl017788: t1KHihek021261: sender notify: Warning: could not send message for past 4 hours
Feb 20 13:14:00 mail sm-mta[21653]: t1KDYWkl017788: to=<>, ctladdr=<> (3000045/100), delay=04:39:28, xdelay=00:00:00, mailer=esmtp, pri=1205075,, dsn=4.0.0, stat=Deferred

Open in new window

I'm not seeing this exact message when searching the net. Most examples have "connection timeout" or "connection refused", which is not the case here.

Why is the status deferred?
Question by:jmarkfoley
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 53

Accepted Solution

Will Szymkowski earned 400 total points
ID: 40621816
I switched the IP address for our mail server and now some messages are not getting delivered
Are you referring to your External IP address for your mail server? If this is the case you will also need to ensure that your Reverse DNS is setup accordingly as well. This could be why your emails are not making it to some domains.

LVL 28

Assisted Solution

by:Jan Springer
Jan Springer earned 100 total points
ID: 40621858
This is exactly why they are not getting delivered.

The fqdn of the server and forward/inverse DNS should match.

You can see that errors in your logs.
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40621890
You will need to contact your ISP to ensure that your Reverse PTR records are correctly assigned.


Author Comment

ID: 40622563
What I did instead of contacting the ISP (who sucks) is to switch the new mail server to the same IP as the old mail server (which is now offline). I did appear that some of the messages got delivered. I will monitor until tomorrow then post back.

Author Closing Comment

ID: 40623263
That looks like it did the trick. I suppose I should have remembered that, but the last time I had to get the ISP to put a reverseDNS record in was 5 years ago.

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question