Go Premium for a chance to win a PS4. Enter to Win


Exchange 2003 email delivery problem - status 5.4.6

Posted on 2004-09-20
Medium Priority
Last Modified: 2011-04-01

Client has a new install of SBS2003. During setup of SBS a few months ago, user did not know what their eventual DNS name would be (company changing partnerships - its an accountant). So we picked something, hoping to be correct. Lets call it paulcuddycpa. Set up SBS with all the wizards to be:

Server name: pcuddy01
Win domain name: paulcuddycpa
DNS name: paulcuddycpa.local

Users (5) began using server, and exchange for local email. They continued to pop email using outlook from their old email addresses located on some ISP servers. All was reasonably well...

This old name was never registered as a "Real" internet domain name. Now that he has changed partners, he has a "real" name he wants to use. cuddyandwardcpa.com is now registered at godaddy.com. I wend ahead and re-ran the internet connection wizard in SBS and told it that the exchange dns name was now cuddyandwardcpa.com. I pointed the godaddy MX record at the server's IP address, making no other changes at godaddy (A record still ponited to godaddy etc).

It didn't see to totally work, as outbound email would come out with the wrong address (either paulcuddy.local or some other address that the local sysadmin had re-run the wizard with). I eventually found that the default sender policy had a whole slew of addresses in it, so I paired it down to just paulcuddycpa.local and cuddyandwardcpa.com (default). Each user was set up the same (both addresses, and nothing else).

This seemed to work for about a day. Now however, whenever any user sends email TO them from outside (say yahoo) they get a non delivery message stating:

Reporting-MTA: dns;cuddyandwardcpa.com
Received-From-MTA: dns;gwia201.syr.edu
Arrival-Date: Mon, 20 Sep 2004 11:32:15 -0400

Final-Recipient: rfc822;pcuddy@cuddyandwardcpa.com
Action: failed
Status: 5.4.6
X-Display-Name: Paul Cuddy

I see that this is a looping problem - buy WHY? Doesnt the server see that it's supposed to be handling the mail for cuddyandwardcpa? It appears to be redirecting (or attempting to) to itself. Where can I look, and what can I do.... I've thought about renaming the domain for the whole AD and server to cuddyandwardcpa but Im not sure how to do that, and wether it would screw things up even worse.

ANY help, or pointers, or even if I can provide more info, is GREATLY appreciated as I need to have this working again asap.

jeff brinkerhoff

(email jbrinker(*nospam)@syr.edu)

*Remove nospam and parens to email
Question by:jbrinker
LVL 12

Accepted Solution

ColinRoyds earned 1000 total points
ID: 12104645
this sounds like a mess, no offense.
forget about the setup wizards and all that, this is how to do it.
Open Exchange system Manager / recipients / recipient policy / Default recipient policy right click properties / email address policy ;
now check that it has the domains you want if not add the in the format @*.com

Now make certain your DNS records @ your ISP are correct for each domain make certain the DNS is something along these lines for each domain.

MX Record - domain.com = servername.domain.com
A Record - servername.domain.com = external ip of firewall

Give that a go, let me know if you get stuck

Author Comment

ID: 12104897

Thanks for the advice. I am aware that the wizards suck - but I thought it was important to mention that I (and the local admin) had used them. I already had the recipient policy as you suggest, and in fact it was all working fine Friday set up as you say. Default policy = @cuddyandwardcpa.com (default) and an additional of paulcuddy.local (which Im 99% sure I can remove).

DNS was set up as follows:

A record = Godaddy default (some server of theirs)
MX record = IP of the external interface of the SBS server

I have changed it to be:

A record = Godaddy server IP
A record = mail = Correct IP of SBS server
MX record = (MX0) = mail.cuddyandwardcpa.com (the above A record).

This will take some time to percolate I assume... It just seems really strange that it worked fine friday (registered and made original MX change last monday) and stopped over the weekend with this strange routing error. I Have logging cranked up and find the following error message every time the server tries to deliver an inbound SMTP email:

A non-delivery report with a status code of 5.4.6 was generated for recipient rfc822;pcuddy@cuddyandwardcpa.com (Message-ID <PCUDDY01Uk0JFVTKQP300000001@cuddyandwardcpa.com>).  
Cause: A forward loop was detected by the categorizer. This is a common hosting configuration problem caused when someone uses the provisioning tool to create a contact in one organization unit and creates a user in a different organization user that share the same e-mail address.    
Solution: Verify that you do not have a user in organizational unit and a contact in a different organizational unit that have the same e-mail address.


Assisted Solution

mcsallad earned 1000 total points
ID: 12120915
Sounds like you have some old external contacts in your address lists that is making a mess.
try to rebuild the address lists and check the event logs for errors.

Numeric Code: 5.4.6

Possible Cause: A Categorizer forward loop was detected.
The targetAddress attribute is set on a mailbox-enabled user. Hosting Pack: This is a common hosting configuration problem when someone creates a contact in organizational unit (OU) 1 and then creates a user in OU 2 that has the same e-mail address by using the user provisioning tool.

This issue occurs when contactA has an alternate recipient that points to contactB and contactB has an alternate recipient that points back to contactA. Check the alternative recipient for every contact.
Check and remove the targetAddress attribute from mailbox-enabled users.
For hosting where you want to send mail from one user in one company (OU) to another company (OU), it is best to configure the following two related objects:

User: SMTP proxy: user@company.com
Contact: targetAddress: user@company.com; SMTP proxy: contact@company2.com


Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

877 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