Solved

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

Posted on 2014-09-09
5
229 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
In this video we show how to create a Distribution Group 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 Recipients >>…
This video discusses moving either the default database or any database to a new volume.

743 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

8 Experts available now in Live!

Get 1:1 Help Now