[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Exchange 5.4.6 problem

Posted on 2013-11-12
Medium Priority
Last Modified: 2013-11-29

My company is using some external marketing company to do bulk email.
Let's say our domain is example.com. We have an mx record mail.example.com.
We were asked to setup A, MX and TXT records for news.example.com so they could
spam people from address news@news.example.com.

Everything works fine, except for sending test email to our users with email addresses @example.com.

I asked them if they have any logs and they said that they are getting this:

'Looks like we're getting a "5.4.6 (routing loop detected) / routing-errors" error message back on the deliveries sent to the example.co.uk contacts.  

Please let me know if you have any further questions in the meantime.

I'm not sure what is going on, I don't even know if the emails are reaching our server at all (exchange 2007), I don't see anything in message tracking. I suspect a DNS problem but I maybe completely wrong.
Question by:tp-it-team
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
  • 3

Expert Comment

ID: 39641394
It sounds like you have nominated their mail server as an authoritative receiving mail server for the domain via an MX record. When they send email, it is attempting to send the email externally but the MX record is pointing the SMTP connection back to itself and not to your server where the recipients are hosted. Double check the MX record settings and post back.

Expert Comment

ID: 39641400
What you should have done is created an SPF record designating their mail server as authoritative to 'send' emails for your domain. Unless you want them to also receive emails for your domain, which is what has caused the loopback, you should not create an MX record for their server/IP.

Author Comment

ID: 39641635
is it really all whats needed ? and SPF record in order for them to send email on our behalf?
Can you explain it to me or point me to a good article ?

They asked us to do this:

news.example.com.       A   their IP
news.example.com.        MX   10   incoming.one of their domains.com.
news.example.com.       TXT  "v=spf1 include:their domain.com -all"
news.example.com.       TXT  "spf2.0/pra mx include:one of their domains.com -all"

after what they requested, news.example.com resolves to their IP.

here is the MX LOOKUP result for my domain example.com
5       mail.example.com       our IP
5       news.example.com       their IP
10       relay.net                         here we will get emails queued if our server is down.

They actually asked for the weight to be 10 but I think it doesn't matter and still would be wrong.

Accepted Solution

guswebb earned 2000 total points
ID: 39641653
There's your problem. The MX is pointing back to their server but it's not configured to receive email for your domain and is essentially a loopback.

For SPF record creation follow this link...


This is what I use to generate our SPF records. It looks like you may have already taken care of this in which case deletion of the MX record for their IP and pointing at your IP instead is all that is required.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
In this video we show how to create an Address List 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 Organization >> Ad…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

656 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