Solved

Exchange 2003 and number of MX Records queried

Posted on 2004-10-19
5
343 Views
Last Modified: 2008-03-04
We have one particular domain which has 3 MX preferences 10 15 and 20
All mail for this domain is being queued at present on my exchange 2k3 server for this domain, then after the default number of tries sends users 4.4.7 NDR

Actual bounce
donna.parker@diamond-rec.co.uk on 15/10/2004 11:05
  Could not deliver the message in the time limit specified. Please retry or contact your administrator.
  <W2K3DC01.patton.co.uk #4.4.7>

However after running an nslookup I can setup an smtp session on the MX20 preference.

I can't find a setting anywhere within exchange 2k3 that forces it to try more than 2 mx preferences.

Many Thks
BJ Magill
0
Comment
Question by:BJMagill
  • 2
  • 2
5 Comments
 
LVL 104

Accepted Solution

by:
Sembee earned 250 total points
ID: 12351060
If that is the actual domain name, then according to dnsreport.com there is only one MX record - not three.

Exchange will only try the other MX record servers if it gets no response from the lowest server. If it gets any kind of response, and that response doesn't tell Exchange that the server is no longer responsible for that domain, then Exchange will keep trying the lowest preference server. That is by design of SMTP, not Exchange.

Simon.
0
 
LVL 8

Expert Comment

by:susanzeigler
ID: 12351527
The serial number on the DNS for that domain is from today--this indicates that a change to the zone file probably happened sometimes today. Possibly they were/are in the process of changing providers or mail servers and the situation will right itself in the next day or so.
0
 

Author Comment

by:BJMagill
ID: 12356166
That's right the hosting company made changes to DNS yesterday and mails are now being delivered, however my question still reamins.  

Before the change I could setup an smtp session with highest preference but not the two lowest which indicates that only 2 where being tried.  Is this possible.

Will Exchange SMTP session try ALL MX preferences ?
Is there a setting within Exchange to handle this ?

Thks
BJM
0
 
LVL 104

Expert Comment

by:Sembee
ID: 12357045
There is no setting that I am aware of that changes the behaviour of Exchange from what I outlined in my earlier message. Exchange will NOT try other MX records unless it gets a response that tells it that the primary MX record is no longer valid. This is by design of SMTP.

Simon.
0
 
LVL 8

Assisted Solution

by:susanzeigler
susanzeigler earned 250 total points
ID: 12363730
As Simon said, it is not an issue with Exchange. Exchange was not getting the correct response from one or the other of the two lower MXs and so it either only tried one and failed or it tried two and failed. The failure did not indicate to Exchange that it should try another MX. This is an issue on the other mail server, not on yours. If no server was answering at all, then Exchange would have gone on to the next MX. Since it didn't continue to the valid one, it means that a machine answered at one or the other of  MX IPs but that completion of the send didn't happen for some reason. This is solely part of the SMTP protocol and not a failure or inability of Exchange to attempt further delivery. It is simply the system working the way it is supposed to. It is also possible that the Exchange server was looking at outdated DNS zone info that didn't have the working MX in it which resulted in failure.

If there is a persistant problem with a domain, and delivery is critical, a workaround would be to create a zone file on the DNS server that Exchange looks to for resolution, duplicating the live zone and then omit the offending MX(s). This is NOT recommended because anytime the other company changes their zone, you would need to change yours. As a temporary solution, it can work but should only be tried if you fully understand the workings of DNS and remember to remove the fake zone when all is working again.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

895 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

13 Experts available now in Live!

Get 1:1 Help Now