Trouble with Mail Relay (Full Version)

All Forums >> [Microsoft Exchange 2013] >> Message Routing


HimeshGohil -> Trouble with Mail Relay (9.May2016 9:05:02 AM)

Hi, I've just upgraded to exchange 2013 and relay is working fine apart from one server.
I've created a receive connector and tested relay from other servers quite happily, one particular one won't relay. When testing from Telnet, I get 5.7.1 unable to relay.

The server has been listed in the relay rule. It sits in the DMZ behind a firewall. Checking the firewall logs, I see the traffic being passed through with the correct IP's listed. As a precaution, I've added the firewalls IP to the relay connector in case exchange sees the firewall as the sender.
I've tried turning on verbose logging but my failed attempts do not get logged.

Any tips on what else I can do do discover where this is failing would help


HimeshGohil -> RE: Trouble with Mail Relay (10.May2016 4:27:13 AM)

A little update, I've connected the server directly to the internal LAN to bypass the firewall and the mail relay works fine.
So it's only when running through the firewall. Inspecting the packets and it all looks fine. with the correct source, destination and sources.
Any other thoughts on how to check logs etc would be appreciated

HimeshGohil -> RE: Trouble with Mail Relay (11.May2016 5:39:08 AM)

I finally tracked this down to the firewall natting the connection so the Exch server thought he traffic was coming from the firewall and not the client

Lekhan -> RE: Trouble with Mail Relay (22.May2016 11:56:27 AM)

Possible you have NAT in your network, and source IP can be replaced by some NAT IP.
You need enable verbose logging for your receive connectors, and check via telnet "hello thisisatest"
Then find this string in transport logs. You will discover your real ip address.

Page: [1]