Quick Fix Blog

You are viewing all posts from August, 2008. To return to the front page, click here.

MS Exchange returning 5.7.1 error sending email using wrong domain

Tuesday 26th August 2008 2:44 PM

You are on a network and your email is being supported by MS Exchange, you try to send an email and you get the following error.

Your message did not reach some or all of the intended recipients.

Subject: Whatever your message subject was

Sent: 20/08/2008 16:55

The following recipient(s) could not be reached:

theperson@youwereemailing.comon 20/08/2008 16:56

You do not have permission to send to this recipient. For assistance, contact your system administrator.

<domain.com #5.7.1 smtp;554 5.7.1 <theperson@youwereemailing.com >: Relay access denied>

This is because the recipients email server has received your email and is checking that the sending server is legitimate, we've found that it usually occurs because the Exchange is announcing it's self as the LAN name mydomain.local etc. and not the real external domain name - mydomain.com....

The receiving server got the email from exchange.domain.local and went to check the DNS records to make sure that mailserver exists on the domain.local domain.

Obviously domain.local domain can only be seen from within it's own network so the recipients server tags it as a message likely to be bad or spam.

If you tell Exchange to announce it's self as exchange.domian.com then it should be good, as long as you have told the guys who hold your DNS records to add your live (broadcast) IP as an A record with that name.

To tell MS Exchange to announce it's self correctly do the following.

Go to the Exchange Server Manager on the server.

Go to Servers, <your server>

Protocols, SMTP. Right click on the SMTP Virtual Server and choose Properties.

Click on the tab delivery and then advanced. Change the FQDN from server.domain.local to mail.domain.com (or whatever the server is known as on the internet).

Click on Apply and then back out.

You'll need to restart the services (or the server if you're not sure) but should be good.

Alternatively you can set your Exchange outgoing emails to go through Smart hosts instead of DNS resolution; this is not ideal for some people but certainly could help you out. You will need to get the smart host address from your ISP if you do that, usually smtp.adslprovidersname.com.


diggslashdotredditnetscapetechnoratinewsvinemixxfacebookdeliciousstumbleuponfurlsquidoomagnoliayahoomywebgooglebookmarkswindowsliverss

Posted 2:44 PM | 0 Comments | Permalink


[Front Page]

| Subscribe to this page's news feed | What's this?