Send connector doesn't match domain name
This is probably going to sound pretty silly but I was totally new to Exchange at the time this happened. We have Exchange 2007 Hub Transport & CAS server installed on Server 2008. I had some help getting Exchange set up & one of the first things my help did was set up the Send/Receive connectors with the information I gave him. So the send connector we set up uses mail.domainname1.com in the "Specify the FQDN this connector will provide in response to HELO or EHLO" field. What didn't occur to me at the time, was that we were going to be using a different domain to test the Exchange setup. When we were ready, we had a DNS record for mail.domainname2.com set to point to our Exchange server. We have been experiencing some odd behavior with our Exchange server in regard to how it handles mail from domainname1. For instance, any message sent from any member of our organization from domainname1.com to domainname1com is delivered to the inbox of domainname2.com. It isn't that big a deal but I'm wondering if the fact that the send connector was set up with mail.domainname1.com rather than mail.domainname2.com might be causing this? With the exception of one user running Entourage, we all generally get our mail but, if there is something I can do to make sure mail from each domain is being delivered into the correct inbox, my users would be really happy. I also believe that in fixing this issue, my Entourage user might not have as much trouble. Thoughts?
August 5th, 2009 12:17am
when a message is sent internally the hub transport server should perform a lookup and determine the mailbox server the message should be delivered tointernal messages should not go out thru any send connectorscan you explain domain2 further? is this a second ad domain that is in a separate site or is it another accepted domain within your exchange org?
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2009 2:29pm
Domain2 is another accepted domain within our Exchange org. It is actually a separate branch of our company but is still not widely used; that is why we wanted to use it for testing. Ultimately, we will need to be able to receive mail from both domains & also be able to change the reply from address within Outlook. I know I will have to set up a separate domain in order to change the Reply From address but didn't know if I would have to set up separate Send & Receive connectors in order for mail to be routed properly. Please let me know if need any more info. from me. Thanks for your help.
August 5th, 2009 5:33pm
Hi,
Please understand that Send Connector is used to route external message. In addition, Exchange select Send Connector to use based on recipients domain instead of senders domain. In other words, Exchange routes message based on recipient email address instead of sender email address
Regarding your requirement:
Ultimately, we will need to be able to receive mail from both domains & also be able to change the reply from address within Outlook
To receive message for domain1 and domain2, you need to:
1. Have external MX record for two domains point to your Exchange server
2. Configure the two domains as accepted domain
3. Would you please let me know whether one user has both two domain email addresses? If yes, configure Email Address Policy to apply two domain email addresses to users
To change from email address:
I would like to explain that if a user has both two email addresses like below, he is only able to send as primary smtp address.
user@domain1.com
user@domain2.com
Mike Shen
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2009 12:46pm
I realized yesterday that I may have been confusing the send connector with the receive connector. Perhaps I should give some in depth info. on what we are experiencing & you can give me some insight. We decided to move to an Exchange mail system last March, so MS Server 2008 was installed on a new server along with Exchange 2007. As I had no idea what I was doing, we enlisted outside help to get it set up. He did most of the work & I just watched. When all settings were in place, he helped me to connect to the server via Outlook with the idea that I would walk the rest of the organization through setup. When we did this, he explained that we would need a separate profile for our Exchange server. Setup & connection went off without incident but one of the supervisors was not happy about having to close Outlook & restart in order to change profiles. On his own, he set up his Exchange account alongside his POP3 account under the same profile. He advised me it could be done & indicated that he wanted the remaining staff members set up the same way. Now each staff member has 2 Outlook accounts under 1 profile; 1 a POP3 account & the other an Exchange account. Each from a different domain. The POP3 account is domain1.com & the Exchange account is domain2.com. We've also been experiencing some strange e-mail behavior. Particularly if mail is sent to another staff member using the domain1.com account & the staff member replies, the "To" field is populated with the domain2.com address. This only happens when sending mail to another Exchange user in our company. One of the reasons this is a concern is because one of our users is having trouble connecting to the Exchange server on his Mac. Because of this, he is unable to receive mail to his domain2.com account. In the end, I thought it might be that the send/receive connectors are using the FQDN of domain1.com. Additionally, I needed to know if send/receive connectors needed to be set up for each domain; which, if I'm reading your last response correctly, is yes. I'm a little confused by the last part of your answer, though. Do you mean that if a user has 2 e-mail address accounts using Outlook that he/she cannot choose which address an e-mail is being sent from? This is critical to our operation so, if it is not possible, we will have to rethink our migration to Exchange. Thanks for your help on this, I really appreciate it.
August 6th, 2009 6:44pm
Hi,
Thanks for your response.
Firstly, please let me know whether I understand your question correctly:
The internal user has two email addresses:
User@domain1.com
User@doamin2.com (Primary address)
UserA sends a message to UserB by using UserA@domain1.com. When UserB attempts to reply to the message, the message is sent to UserA@domain2.com.
I would like to explain that it is design behavior. I would like to explain when the sender address (UserA@domain1.com) send a message to UserB. The Sender address is resolved to legacyExchangeDN of UserA like EX:/O=org/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=UserA and saved in PR_Sender_Email_Address and PR_Sender_EntryID properties when deliver to UserBs mailbox. When UserB reply the message, it actually uses the PR_Sender_EntryID (LegacyExchangeDN) as the recipient address to submit message. The following trace shows how the message is submitted to Transport Server by Mailbox Server if the message is submitted by Outlook MAPI profile. From the Trace, you can see the Primary address is used. Therefore, in my previous thread, I would like to we are not be able to send message by using secondary email address if you use Outlook MAPI profile.
49 Debug 2009/08/10-02:15:12.324 2884 3600 StoreDriver MapiSubmit Try to get routing address for EX:/O=LAB/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=PWD.
50 Debug 2009/08/10-02:15:12.324 2884 3600 StoreDriver MapiSubmit Use primary smtp address pwd@lab.com
To work around the issue, I suggest you create two Users for UserA like below:
UserAdomain2: Primary address UserA@domain2.com
UserAdomain1: Primary Address UserA@domain1.com
Then, grant UserAdomain2 send as permission to UserAdomain1. Configure the UserAdomain1 to auto-forward received message to UserAdomain2. UserA can just create Exchange account profile for UserAdomain2 to send and receive messages. When UserAdomain2 needs to send message as UserA@domain1.com, he can use From Address in Outlook
How to Send an Email with Any From: Address in Outlook
http://email.about.com/od/outlooktips/qt/et060505.htm
To grant send as permission:
Add-ADPermission -Identity "UserAdomain1" -User UserAdomain2 -AccessRights extendedright -ExtendedRights "send as"
Note: You need to restart Information Store to make Send As permission work immediately. Otherwise, you need to wait some time.
To Configuration Auto-forward:
Please run Set-mailbox command with ForwardAddress and DeliverToMailboxAndForward switches:
Set-Mailbox
http://technet.microsoft.com/en-us/library/bb123981.aspx
Thanks,
Mike
Free Windows Admin Tool Kit Click here and download it now
August 10th, 2009 10:20am
In addition, please understand the Send Connector is used to control Outbound mail flow based on destination mail domain. Therefore, it will not affect internal mail flow. Thanks,Mike
August 10th, 2009 10:22am
It seems that this issue has resolved itself and I understand the design dictates that mail will be sent from a specific account but, at the moment, we are using to separate servers to handle mail. Will all e-mail be routed through Exchange since all of our users have an Exchange account? Even though one mail domain is being handled by a separate server/company? Aside from that, we will be moving domain2.com to our Exchange server in the future & I need to know if additional send/receive connectors need to be set up for that domain or can we continue to use the ones in place? I've read the information on send & receive connectors in the TechNet library & the information is, in my opinion, very ambiguous. Once again, thank you for your help.
Free Windows Admin Tool Kit Click here and download it now
August 10th, 2009 8:42pm
Hi,Regarding the first question, please understand once the message is received by Exchange Server (either through SMTP or RPC), it will route the mail based on your configuration. Nevertheless, if the message is submitted to another mail server instead of Exchange server, you need to configure the mail server to deliver message to Exchange.
Regarding the second question, I would like to explain that you can use same receive connector to receive message from two domains.
Please understand that when you use Outlook (Exchange) account to submit message, the message is submitted to Mailbox Server and Mailbox Server submitted the message to Hub Transport service through Store Driver. The message does not go through Receive Connector. When you use Outlook (SMTP) account to submit message, the Outlook connects to Receive Connector on Hub Transport server to submit the message.
Regarding send connector, as I explained in my previous post, Exchange server route mail and select send connector based on target email address regardless source email address domain. Therefore, if you do not have specific requirement, a send connector is enough.
Mike Shen
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact tngfb@microsoft.com
August 12th, 2009 6:14am