troubleshooting Question

Exchange Server Event ID 7004

Avatar of NGPSoft1
NGPSoft1Flag for United States of America asked on
7 Comments2 Solutions723 ViewsLast Modified:
I am having an intermittent problem with messages bouncing back.  After doing some research I have found that my Exchange server is attempting to connect to server that has the A record for the domain but does not connect to the MX record of the domain.

I try to send to and get a bounce back of “550 not local host, not a gateway>”.  I check the Event log and find Event ID 7004 telling the following:

This is an SMTP protocol error log for virtual server ID 1, connection #8829. The remote host "", responded to the SMTP command "rcpt" with "550 not local host, not a gateway  ". The full command sent was "RCPT TO:<>  ".  This will probably cause the connection to fail.

I then look up the MX records for and find the following: MX IN 28800 mail1. [Preference = 10] MX IN 28800 mail2. [Preference = 30] A IN 28800 A IN 28800

I then look up the A records for and find the following: A IN 28800

Bascially, my mail server is connecting to the A record of the domain vs. the MX record of the domain.  In most cases, I can resend the same message later to the same email address with no problem.  This problem does not happen all of the time.

Why would this happen?  How can I correct the problem.
Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros