Solved

Mail Flow issues in Hybrid deployment between exchange 2003 and exchange online

Posted on 2012-03-28
4
1,968 Views
Last Modified: 2012-03-29
I'm having trouble sending emails from my on-premises exchange server to a cloud based user.  Messages are being sent from my Exchange 2003 server and are getting stuck on the Exchange 2010 hybrid server with the Hub Transport Role installed.  The message will sit in the "dnsconnectordelivery" queue and won't go anywhere.
 
I can send emails from the cloud based mailbox to an on-premises mailbox, but have the above issue when replying.
 
I've gone throught the deployment assistant a few times and I am trying to accomplish the following:
1. Staged migration from existing exchange 2003 server to Exchnage Online cloud-based service
2. I do not require SSO
3. All inbound mail for both on-premises and exchange online mailboxes is routed through my on-premises organization
4. All mail between on-premises and exchnage online will be routed via a Hybrid Hub Transport server
5. All mail sent to external recipients from Exchange Online mailboxes will be routed directly to the internet
 
I'm wondering if this could be an issue with the Exchange Certificates used on both hybrid servers (the deployment assistant is lacking some explanation and seems to contradict itselt).
 
Thanks,
Jason
0
Comment
Question by:stoltzhelpdesk
  • 3
4 Comments
 
LVL 3

Accepted Solution

by:
Padamdeep earned 500 total points
ID: 37780252
What is the last error you see in the DnsConnectorDelivery queue?
Increase the Verbose logging on Send Connector and see where is it failing.

Lets start with above 2 first and I'll tell you what to do next.

~ Singh
0
 

Author Comment

by:stoltzhelpdesk
ID: 37783424
@Padamdeep

Thanks for the reply.  
The last error/delivery report is "554 5.4.4 SMTPSEND.DNS.NonExistentDomain"

Below is some additional information that may help...

I used the hybrid configuration wizard with Exchange 2010 sp2.

The domains I'm currently using follow the examples below...

mycomp.mail.onmicrosoft.com  -  "Hosted"
 
mycomp.microsoftonline.com    -  "Hosted"
 
mycomp.onmicrosoft.com         -  "Hosted"

mycompany.com                       -  "Shared"

So my issue is that we are using an abbreviated version of our domain in office 365, "mycomp" as opposed to "mycompany".  

I do see the public MX record for mycomp.mail.onmicrosoft.com, but how can I create that internally (or do I)?  Do I need to create a new internal DNS zone for onmicrosoft.com and place the MX record (mycomp.mail.onmicrosoft.com) there?  Will that work?

Also, if I try to send an email from my personal email (Gmail) to user@mycomp.mail.onmicrosoft.com, i receive a "relay access denied" non deliverable.  I've found the following article that may help, but wanted to see if you agree and what domains I would need to use when following the below article.

http://www.cgoosen.com/2011/07/moving-from-bpos-to-office365-550-5-4-1-relay-access-denied/

** UPDATE

I created an internal DNS zone for onmicrosoft.com.  I added a MX record for mycomp.mail.onmicrosoft.com that points to mycomp-mail-onmicrosoft-com.mail.eo.outlook.com.

Unfortunately after waiting for DNS to replicate, I still have messages getting stuck on the Hybrid 2010 sp2 server.  

I was also wondering if the SPF/TXT record could have anything to do with this (I haven't created yet, and wasn't 100% clear on how to use it)

Thanks!
0
 

Author Comment

by:stoltzhelpdesk
ID: 37783958
After enabling verbose logging on the send connector to office 365, I was able to see that DNS was resolving to an IP address, but was just timing out or not receiving a response from the other end.
 
I figured this may just be a firewall issue and created a policy to allow SMTP traffic from my Hub Transport server to any of the Microsoft Datacenters that were listed in the Office 365 documentation (I had already allowed SMTP traffic in, but not out).
 
Once I configured the firewall, I manually selected "retry" on the message stuck in the queue and it went through immediately.  I've now been able to test mail flow in every direction with full success!

Thanks for pointing me in the right direction Singh!
0
 

Author Closing Comment

by:stoltzhelpdesk
ID: 37784065
Thanks again for leading me to the answer!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

910 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

19 Experts available now in Live!

Get 1:1 Help Now