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
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fetching data from Multiple Linux Server using Shell Scripting 55 133
IronPort on cloud MX recored 9 32
expectj telnet failing 5 35
centos linux 65 123
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Fine Tune your automatic Updates for Ubuntu / Debian
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now