Exchange 2010 unable to recieve external emails when firewall points to it

Have recently installed Exchange 2010 into an existing 2003 Organisation. Currently everything is coexisting fine and we are able to send and receive emails. Users with legacy exchange mailboxes can access OWA using https://oldexchangeserver/exchange internally and

I have moved some test mailboxes to the 2010 server and can access using webapp at https://newexchangeserver/owa internaly

(please note i have not setup a legacy namespace as i plan to move all mailboxes soon as there are not many)

Our firewall does basic nat translation to the oldexchange server. If i change the nat rule to the new exchange server I can no longer receive emails externally and I cannot connect to https://mail.ourdomainname/owa

i cant see it as the nat rule itself as all i am doing is changing the server it is pointed to and have confirmed this is OK

I have setup the receive connector to accept anonymous users here is the output of the command get-receiveconnector :fl

RunspaceId                              : 1e98eadc-b558-42c9-ae54-0e0aca28b504
AuthMechanism                        : Tls, Integrated, BasicAuth, BasicAuthRequireTLS, ExchangeServer
Banner                                     :
BinaryMimeEnabled                  : True
Bindings                                   : {:::25,}
ChunkingEnabled                         : True
DefaultDomain                           :
DeliveryStatusNotificationEnabled       : True
EightBitMimeEnabled                     : True
DomainSecureEnabled                     : False
EnhancedStatusCodesEnabled              : True
LongAddressesEnabled                    : False
OrarEnabled                             : False
SuppressXAnonymousTls                   : False
AdvertiseClientSettings                 : False
Fqdn                                    : EXCHANGE2010.ourdomain.local
Comment                                 :
Enabled                                 : True
ConnectionTimeout                       : 00:10:00
ConnectionInactivityTimeout             : 00:05:00
MessageRateLimit                        : unlimited
MessageRateSource                       : IPAddress
MaxInboundConnection                    : 5000
MaxInboundConnectionPerSource           : unlimited
MaxInboundConnectionPercentagePerSource : 100
MaxHeaderSize                           : 64 KB (65,536 bytes)
MaxHopCount                             : 30
MaxLocalHopCount                        : 8
MaxLogonFailures                        : 3
MaxMessageSize                          : 10 MB (10,485,760 bytes)
MaxProtocolErrors                       : 5
MaxRecipientsPerMessage                 : 5000
PermissionGroups                        : AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers
PipeliningEnabled                       : True
ProtocolLoggingLevel                    : None
RemoteIPRanges                          : {::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff,}
RequireEHLODomain                       : False
RequireTLS                              : False
EnableAuthGSSAPI                        : False
LiveCredentialEnabled                   : False
Server                                  : BENEXCH
SizeEnabled                             : EnabledWithoutValue
TarpitInterval                          : 00:00:05
MaxAcknowledgementDelay                 : 00:00:30
AdminDisplayName                        :
ExchangeVersion                         : 0.1 (8.0.535.0)
Name                                    : Default EXCHANGE2010
DistinguishedName                       : CN=Default EXCHANGE2010,CN=SMTP Receive Connectors,CN=Protocols,CN=EXCHANGE2010,CN=Serv
                                          ers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Grou
                                          ps,CN=Our Company,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC
Identity                                : EXCHANGE2010\Default EXCHANGE2010
Guid                                    : 413ac4f1-dafa-44e9-b1f4-050425e8d1b9
ObjectCategory                          : domain.local/Configuration/Schema/ms-Exch-Smtp-Receive-Connector
ObjectClass                             : {top, msExchSmtpReceiveConnector}
WhenChanged                             : 7/09/2010 9:45:38 AM
WhenCreated                             : 4/09/2010 11:55:29 AM
WhenChangedUTC                          : 6/09/2010 11:45:38 PM
WhenCreatedUTC                          : 4/09/2010 1:55:29 AM
OrganizationId                          :
OriginatingServer                       : OURDC.benrad.local
IsValid                                 : True
Who is Participating?
have you tried to establish a telnet session from an external source on port 25?
your receive connector looks good, the remote ip ranges are all inclusive, you have anonymous (as stated too)
i would enable the logging on the connector to verbose and check the log

do you have another receive connector configured (other than client)?
update your receive connector to allow anonymous connections on the permissions group tab for the "Default SERVER" receive connector
sorry, re-reading :)
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

PACSAdminAuthor Commented:
I knew that would be the first comment so i specificlly wrote

"I have setup the receive connector to accept anonymous"

PACSAdminAuthor Commented:
thats OK  i hid it at the bottom
that's what happens when you have a kid talking to you while on the phone and reading a post :)
PACSAdminAuthor Commented:
I have no other receive connectors other than client.

Can telnet to it internally but not externally.
you changed the nat translation which in some cases will move all traffic to the new server
double check the port forwarding rules to ensure that 80,443,and 25 are going to the correct server

enabling the logging on the receive connector should show the lack of connections
PACSAdminAuthor Commented:
Not quite sure what you are getting at?

I am changing the nat rules that are setup to route  25 and 443 to the new exchange2010 Server. I want 25 and 443 to go directly to the new exchange receive connector to test OWA and email connectivity to the new server before i move all the mailboxes over and decommision the old exchange server.

I was assuming that once 25 and 443 were directed to the New Server that i would be able to access and receive emails through this connector and have them route to the 2010 mailboxes. Is this assumption wrong or does mail flow still need to go though the old server

No that is correct
Enable logging and see if the connection reaches your server
PACSAdminAuthor Commented:
I checked that under Server configuration -- Hub Transport -- Log settings tab that logging was enabled

also clicked on manage Diagnostic Logging properties and upped the logging properties for smtpReceive  to expert

changed the nat back to the new server and attempted to send an email from outside into our mail server

checked under the "..\logs\protocolLog\SmtpReceive" directory. The location is empty so am i gueesing right in saying the smtp receive connector is not getting hit.

PACSAdminAuthor Commented:
also checked the nat rules logging on the Cisco ASA and that seems ok too seems to be translating the address OK
PACSAdminAuthor Commented:
fixed it.

Installed wireshark on exchange server and verified 25 and 443 was hitting it so it had to be a routing issue. Turned out to be simple misconfiguration of gateway.

PACSAdminAuthor Commented:
even though i fixed the issue myself i am awarding points to endital for pointing me in the right direction which ultimatly led to resolution
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.