Link to home
Start Free TrialLog in
Avatar of mapalaska2003
mapalaska2003Flag for United States of America

asked on

Exchange 2007 and Gmail

I’m running Exchange Server 2007. I have users that also have email accounts with Gmail. (username@googlehosteddomain.com), these are working fine. However, when I try to send a message from user@myadomain.com to an alies@googlehosteddomain.com, my server reply’s with the following error:  

“#554 5.4.4 SMTPSEND.DNS.NonExistentDomain; nonexistent domain ##“

So what’s happening is Exchange is not letting the message leave the domain. The alias accounts work fine from outside the domain.

Any ideas?  Thanks.
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Is googlehosteddomain.com listed anywhere in your Active Directory's DNS zones? Exchange will give that error if it tries to find MX records for the domain it is sending to and can't find them. Log on to your Exchange server and run NSLOOKUP from the CMD prompt.

When NSLOOKUP opens, you'll have a simple > prompt. Enter this:
set type=mx

then type out googlehosteddomain.com and hit enter. If DNS doesn't return anything when you do this, then Exchange can't find any DNS records for googlehosteddomain.com and can't send to it as a result.

To fix this, you would need to check your DNS settings to make sure googlehosteddomain.com was being propery resolved with authoritative data. If you have a domain zone in your internal DNS for that domain name, but have no MX records listed, that will cause your problem. If that's the case, you should delete the Zone for that domain.
Avatar of mapalaska2003

ASKER

when I enter:  set type=mx googlehosteddomain.com, Iget  an Unrecognized command error?
ASKER CERTIFIED SOLUTION
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. That worked. i do get a response. But still get the "#554 5.4.4 SMTPSEND.DNS.NonExistentDomain; nonexistent domain ##" error returned from my server when trying to send to an email to an alies address to that domain.
Thanks.