Solved

Recommended interval to Configure the message expiration time-out interval in Exchange 2010

Posted on 2014-09-09
5
284 Views
Last Modified: 2016-06-13
Hello experts!
I have Exchange 2010 running in Windows 2011 Small Business Server.
We recently changed Internet providers and found that some of our outgoing email messages were stuck in the queue with "451 4.4.0 Primary target IP address responded with: ""421 4.2.1 Unable to connect.  Apparently, the recipients were blocking our new IP because it was on a dynamic IP list.  
The primary concern is that these messages were delayed in the queue and not being delivered to the recipients and it was many hours before we knew there was a problem.  Apparently the default retry expiration time out interval is two days.  I have found the following to change the default time, but it only speaks of changing the number of days.  I was more inclined to change it to 4 hours.  That way I'd know if there was a delivery problem a whole lot more quickly.  Is there a way to do this or another way to be notified if messages are stuck in the queue?

Configure the message expiration time-out interval

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Hub Transport server" and "Edge Transport server" entries in the Transport Permissions topic.
The message expiration time-out interval specifies the maximum length of time that an Edge Transport server or a Hub Transport server tries to deliver a failed message. If the message can't be successfully delivered before the message expiration time-out interval has passed, a non-delivery report (NDR) that contains the original message or the message headers is delivered to the sender, and the original message is removed from the queue.

By default, the message expiration time-out interval is 2 days.
Use the EMC to configure the message expiration time-out interval
1.Perform one of the following steps:

•On a computer that has the Edge Transport server role installed, in the console tree, select Edge Transport, and then click the Properties link that's directly under the server name.
•On a computer that has the Hub Transport server role installed, in the console tree, expand Server Configuration, and then select Hub Transport. In the result pane, select a server. In the action pane, click the Properties link that's directly under the server name.
2.Click the Limits tab.
3.Enter a value in days next to Maximum time since submission (days). In the EMC, the valid input range is from 1 day through 90 days.
4.Click Apply to save your changes and remain in the Properties page, or click OK to save your changes and exit the Properties page.
0
Comment
Question by:baggio8
  • 2
  • 2
5 Comments
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 500 total points
ID: 40314883
I wouldn't recommend reducing the expired time to 4 hours. That is a very short time. Most sites expect people to be trying for two days which gives them time to resolve issues.

Your problem here is actually with the recipient. If they had found your IP address on a blacklist then they should have NDR'd the email back with a permanent failure. You would have got the message back immediately and could have resolved it. They were sending back a temporary failure. Without looking in the queue you wouldn't see the true message, as it would simply time out.

Otherwise, monitor the length of the queue. Loads of applications can do that, you can even get PowerShell scripts which will send you an email if the queue is above a certain length of time.
For example:
http://gallery.technet.microsoft.com/office/e0bb250e-e699-4c6c-a5be-f1af245a2219
(It does require some modification for Exchange 2013, but easily done if you look at the script).

Simon.
0
 

Author Comment

by:baggio8
ID: 40315013
Simon,
I'm very pleased to see your response as I have seen your expert advice for many years and know that I am in great hands.  
Agreed, the sender should just outright reject the connection with an NDR.  I have to take responsibility for this because there are time sensitive contacts that are being made to our clients and if there is a long delay we are not servicing our customers in a timely fashion.
I think this script is going on the right track, but if I understand it correctly, it is based on the number of messages in the queue rather than the length of time it is in the queue.  Is there a script that will message me if there is an email in the queue exceeding 2 hours?  Also, we noticed that eventually after several hours some senders were notified that there message was delayed:
Delivery is delayed to these recipients or groups:
 
(recipient)
 
Subject: RE: Testing Item19-r - Roll Cur2Std
 
This message hasn't been delivered yet. Delivery will continue to be attempted.
 
The server will keep trying to deliver this message for the next 1 days, 19 hours and 54 minutes. You'll be notified if the message can't be delivered by that time.
 
Can this delay message be consistently sent to the sender after 2 hours?

Jon
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 40318114
You can change the notification time down - that isn't uncommon to do.
EMC, Server Config, Hub Transport. Right click on the server and choose the Limits tab. Restart Transport afterwards.

As for a script to alert on time in the queue - I haven't seen one myself and have looked around quickly to see if someone had written one. Alerting on items in the queues over two or three should catch most things though because items wouldn't normally stay in the queue at all.

Simon.
0
 

Author Comment

by:baggio8
ID: 40321776
Simon,
Changing the notification time is a good option.  I set it to 1 hour.  That way I can investigate any delays promptly.  Thanks for your work.

Jon
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issue with Outlook Mail 13 58
exchange out of office 8 42
Email password question 6 32
exchange, outlook, calendar 2 0
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
how to add IIS SMTP to handle application/Scanner relays into office 365.

863 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

20 Experts available now in Live!

Get 1:1 Help Now