Solved

Exchange 2010 smtp headers show WAN IP not NAT'ed Exchange IP

Posted on 2013-01-30
3
745 Views
Last Modified: 2013-01-31
good morning all,

we've been tracing a phantom rDNS record (which we found our ISP was hosting a bad/old rDNS/PTR record.  As a result, we started carefully looking at the headers in our emails.
I've hidden most of the actual public ips (for obvious reasons) for the example, but I am hoping someone can help me figure out either:
A) where our misconfiguration is, and how to correct it
B) if this is by design and we just need to update the PTR

Here's our set up.  2 Exchange 2010 Hub/Cas servers in a cas array.  The array has inbound and outbound NAT rules on our Sonicwall TZ210 in our datacenter.  I can resolve our "mail.domain.com" address properly.  We use Proofpoint as our SPAM filter and route all inbound and outbound mail through them.  

For reference here's the examples of the IPs we're dealing with.
Wan IP- xx.xxx.xxx.130
Exchange IP-  xx.xxx.xxx.133

When we send mail, the headers list:
Received: from mail.domain.com (xx.xxx.xxx.130."ptr record"  [xx.xxx.xxx.130] (may be forged))

I've been scratching my head trying to figure out why this lists our WAN ip when we have nat rules in place.  It also creates issues for us sending to certain domains, but not all domains.  

our send connectors properly list the "mail.domain.com" record and our Filters list both the WAN IP and the Exchange IP as "allowed relays."  I already have a call into them to see if it's a mis-configuration on their end, but I figured I'd try this group as well.

Any help would be appreciated.  I can also provide any additional info that might be helpful and forgive me if I didn't include it from jump-street.

Thanks in advance!
0
Comment
Question by:Jeremyricci
3 Comments
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 250 total points
ID: 38836832
Are the NAT rules 1:1 or port forwarding? That is the usual cause of these problems, as firewalls will handle them slightly differently. If you have dedicated external IP address/es for the Exchange servers, configure a 1:1 NAT, removing the port forwarding settings. Then configure a regular open port on the firewall.

Simon.
0
 
LVL 49

Assisted Solution

by:Akhater
Akhater earned 250 total points
ID: 38838254
what you have configured on your firewall should be reverse NAT that is mapping Exchange inbound IP-  xx.xxx.xxx.133 to the IP address of your antispam

however, when sending, the firewall is using the global (default) ip address xx.xxx.xxx.130
what you should do is also configure the firewall to use xx.xxx.xxx.133 for outbound when the antispam is sending email address, you can do that by configuring a 1 to 1 NAT
0
 

Author Closing Comment

by:Jeremyricci
ID: 38839645
Thank you both, this was exactly the problem.  A little extra info.  Our previous FW person, was a huge fan of using the Wizards in the Sonicwall.  However, the public server wizard does not create 1-to-1 NAT, by design.  It only creates One-to-Many NAT.  1-to-1 NAT policies need to be entered manually.  

Thanks for the shove in the right direction!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create an Address List 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 Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

747 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

18 Experts available now in Live!

Get 1:1 Help Now