Solved

Switched ISP IP address, now internal exchange server showing MSexchangetransport errors

Posted on 2011-03-17
6
444 Views
Last Modified: 2012-05-11
Our organization recently switched ISPs.  We got a new data T1 and new IP addresses from AT&T.  I've switched our A record tat our registrar to point to the new WAN IP for our exchange server. Everything seems to work, but here's the problem:

Most email goes out from our organization.  I tested several high level domains: gmail.com, yahoo.com, but there are a few other domains that I cannot send email to.

When I try and send mail to a comcast.net, agfc.state.ar.us, or several other domains, we get a delay of delivery notification from our exchange server.

Our exchange server is not set up as a mail relay, our SMTP virtual outbound settings do not point to a smart host.  We are managing everything from our exchange server

There are hundreds of application event warnings for the MSexchangeTransport in our event logs. Here are a few examples:
Source: MSExchangeTransport
Category: SMTP Protocol
Event ID: 7010
Description:
This is an SMTP protocol log for the vertual server ID 1, connection #466. The client "166.137.140.122" sent a "rcpt" command and the SMTP server responded with "550 5.7.1 Unable to relay for xxxxx@agfc.state.ar.us". The full command sent was "rcpt TO:<xxxxx@agfc.state.ar.us>". This will probably cause the connection to fail.

I've got hundreds of these in my event log.  I just need some help figuring out why some mail is going through and some is not.

Thanks in advance for your help.
0
Comment
Question by:J_bodenheimer
  • 3
  • 3
6 Comments
 
LVL 9

Expert Comment

by:TBK-Consulting
Comment Utility
you need to change or add an SPF Record to your DNS Records so that other servers will know that you are set to a good ip address that is authorized to send your domains email ... also you need to have reverse dns setup properly from the new ISP for that IP Address to show it does belong to the mail server.
0
 

Author Comment

by:J_bodenheimer
Comment Utility
Can you provide me with instructions for change/add of an SPF record in my DNS records?  That would be awesome.  I think I have the reverse setup properly.  

Also, what is a good command line input I can give to test proper reverse DNS?

Thank you TBK for your prompt response on this.
0
 
LVL 9

Expert Comment

by:TBK-Consulting
Comment Utility
mxtoolbox.com has a reverse dns lookup tool and also has a tool to help create the spf record as well
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:J_bodenheimer
Comment Utility
TBK,

I'm really just an admin for the organization.  I mainly do hardware.  I see on mxtoolbox.com that the spf query shows no record, but I'm not finding the tool that will help me create an spf record or where that spf record is even suppose to reside.

Here's a little more information:
When we switched our T1 over to AT&T and got the new IP address, they will not set a reverse lookup, but will allow our IPs to be associated with our registrar's name servers.  
Are you say I have to work with my registrar to make sure there are reverse dns set on their name servers and the SPF record as well?

Thanks!
Jason
0
 
LVL 9

Accepted Solution

by:
TBK-Consulting earned 500 total points
Comment Utility
The SPF in of itself will get you past most spam filters, but there are some that will absolutely not pass your email unless the reverse dns points the ip address to mail.yourdomain.com

For the SPF Record creation, there is a link to www.openspf.org from mxtoolbox.com but it's hard to find sometimes ... try going directly to www.openspf.org and the tool is right on the front page towards the right side ...

If you still can't get all your email passing thru servers for proper delivery, you may want to consider using your ISP's email servers as a smarthost to deliver the email.
0
 

Author Closing Comment

by:J_bodenheimer
Comment Utility
TBK Gave the right solution for the question I asked, but ultimately the best solution for me was to completely give DNS control to our ISP.  
We were having our Registrar handle DNS, which made it quick and efficient to make changes for CNAME and A Records, but when it came to reverse DNS lookups for our inhouse exchange server, the provider that is hosting your exchange server's IP address is (as a rule) the provider you want to handle your DNS.   I think it's stupid and the SPF record should've worked...  in theory it should have, but in practice it did not.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

771 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

11 Experts available now in Live!

Get 1:1 Help Now