• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 364
  • Last Modified:

Exchange Not Delivering NDR to Outside Addresses

This question is slightly involved as it incorporates our proprietary software developed by my company, I will explain the best I can.

We have a Newsletter service for Real Estate agents.

Our application masks the From field to match that of the users Personal email, for instance an @aol.com or @yahoo.com address.  So when Joe User recieves the newsletter it appears it came from Joe RealEstateAgent.

In some cases our users have Contacts that are invalid email addresses.

Since our application Smart Hosts ALL system messages through our Exchange 2003 server, when an NDR is generated it is Generated by our Exchange server.

Now to the problem that I am facing:

The NDR is generated but is not being delivered to the proper place.  I am able to view the NDR and the 'To:' Field says the correct address however, it is not arriving there ever.

If the address that the NDR is going to exists as a user in our domain however, the message will arrive at the correct recepient.

I understand if no one can help me, I am pretty self-sufficient and I know I can probably eventually figure it out, but I know there are some brilliant minds on this site and figured I would give it a shot.

Any help is appreciated.

Thank You,

Drew
0
1Parkplace
Asked:
1Parkplace
  • 3
  • 2
1 Solution
 
gdekhayserCommented:
Is your app using MAPI or SMTP to attempt its delivery?  If it's MAPI, it will never try to get the NDR out; but if it's SMTP, and relaying is allowed, perhaps it will.

I would turn up diagnostics logging to a high level, try again, and take a look in the application event log.  Guaranteed you see the error for delivery of your NDR and the exact reason will show there.

Glenn
0
 
SembeeCommented:
At first glance, what you are seeing appears to be by design.

You are masking the from field. That basically means that you are spoofing the from field - which is generally considered a very bad thing. However if the From address is inaccurate, because it is the same as the To: field, then what is Exchange going to do with the NDR? Who can it deliver the NDR to? It can't deliver it to the "sender" because the sender doesn't exist - because you have told Exchange the sender is the same person who the message is to!

What is your reason for wanting to mask the from address?
What you are doing is a common spammers trick and many sites will block the messages on that basis. I have clients who have seen a significant drop in the spam their users receive by simply blocking messages that appear to come from their own domain.

Simon.
0
 
1ParkplaceAuthor Commented:
Sembee,

We only mask the address of the sender because the Real Estate agents want the newsletters to look like it is coming from them.

Let's say for instance we have an Agent that has JoSchmoe@yahoo.com.  We put that in to their profile.

Now let's say that they have a contact in their database that is Contact@aol.com

Now, Let's say that Contact@aol.com doesn't exist...  What we are trying to do is have the NDR get back to JoSchmoe@yahoo.com, However this is not happening.

The test I have done is set the Email Address to an internal email address that belongs to a user account on our network.  The NDR successfully arrives to myself when attempting to send to falseContact@aol.com

As Soon as the email address in the users profile is changed to something that does not exist in our active directory, The NDR will never arrive.
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
SembeeCommented:
I am pretty sure that you aren't going to get it to work in the way that you want.

That is a form of relaying - which is why the messages aren't going out. Exchange doesn't recognise the recipient - because they are in the separate database, so drops the message.

I don't even think that a mail enabled contact with an email address on your domain and the external email address would work either - although you could try that.
Make sure that you configure it correctly... otherwise you will cause an email loop.
http://www.amset.info/exchange/contacts.asp

Simon.
0
 
1ParkplaceAuthor Commented:
The interesting thing about this issue, is that if I set the Default SMTP Service on the Exchange server to Copy ALL NDR's to a specific address which in this case is PostMaster@mydomain.com  I can see the NDR that is generated and in the TO: Field it says the correct outbound address .... So why is it not going there ...
0
 
SembeeCommented:
The NDR will always be generated - it is being dropped later in the process.

If it is that key to your business then you will need to speak to Microsoft - perhaps through the developer support channels.

Simon.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now