Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't Receive Mail to 07 Server 1

Status
Not open for further replies.

jmank91

MIS
Feb 22, 2005
45
US
I had finished the installation of my Exchange 07 Server and everything was working fine for a few hours (I migrated one mailbox to Exchange07). I'm not sure what I did but somehow I messed up Outgoing Mail on the Exchange03 box that is still housing the rest of my mailboxes. Thinking that it had something to do with the 07 Installation I deleted all of the settings on Hub transport role and deleted the Receive Connector. This didn't fix my problem so I just recreated my 03 SMTP Connector and the 03 box started working fine again.
I went back to 07 and recreated the SMTP Connector and Receive Connector. Now the 07 box sends mail everywhere just fine, but won't receive any mail.
Receive Connector Settings as follows.
General: Connector Status Enabled;helo/ehlo = mail.mydomain.com
Network: Local IP Address (All Available IPv4)
Remote IP Address 0.0.0.0 - 255.255.255.255
Authentication: TLS is only checked box
Permission Groups: All boxes checked.

The messages are building up in the queue on my 03 box and are sitting in the "Messages with an unreachable destination" folder
However, if I send mail to user@mail2.mydomain.com "Mail2.mydomain.com is the external fqdn for Exchange 07 box" the 07 box receives the mail just fine.
Problem is obviously with my 03 Exchange not delivery mail to mailboxes on the 07 server.
 
On ther Permissions Group Tab
Anonymous Users box is checked
All boxes are checked on the Permissions Group Tab
 
220 lsxchg07.local Microsoft ESMTP MAIL Service ready at Fri, 19 Dec 2008 14
18:14 -0600
HELO
250 lsxchg07.local Hello [10.10.100.97]
EHLO lsxchg07.local
250-lsxchg07.local Hello [10.10.100.97]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM LOGIN
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250 XRDST
MAIL FROM:spam@lsxchg07.local
250 2.1.0 Sender OK
RCPT TO:user@mydomain.com
250 2.1.5 Recipient OK
DATA
354 Start mail input; end with <CRLF>.<CRLF>
SUBJECT:test message


This is a test message for exchange07
.
250 2.6.0 <0fe2686d-588b-4748-8867-3ffe3d57ff24@lsxchg07.local> Queued mail
or delivery
 
It receives messages if I send them from any email account on or off site to the secondary FQDN I set up for OWA Testing from the Internet.
The Recipient policies have the appropriate @mydomain.com settings to receive mail. If I send from User@exchange07box.com to User2@exchange07box.com The mail is received.
User@gmail.com to User2@exchange07boxfqdn.com works fine
User@gmail.com to User@exchange03boxfqdn.com does not work. Both the 03 server and the exchange 07 server are in the same domain, organization. Both are accessible from the exchange 03 system manager and the exchange 07 management console.
 
You've probably got a smarthost on the 2003 connector. Delete it and everything will start working.
 
Also, it's not recommended to enable anonymous on the default receive connector on the 2007 side. Create a separate connector and just enable anonymous on that.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Essentially you need a receive connector from the Internet to 2003 then a bidirectional connector between 2003 and 2007.

Check for link state suppression on the Exchange 2003 server:
Regedit (usual caveats about using regedit)
Drill down to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RESvc\Parameters.
Right-click Parameters and select New | DWORD value.
Name the new DWORD value SuppressStateChanges.
Double-click SuppressStateChanges.
In the Value data field, enter 1.

Restart the SMTP and Exchange Routing Engine services on the Exchange 2003 server.

Then:
In EMC on Exchange 2007, delete the receive connectors on the HT (there will probably be 2 of them), one called Client (port 587) and one called Default (port 25).

In ESM on Exchange 2003, delete the one routing group connector from the E2003 routing group that specifies the E2007 name.

In ESM on Exchange 2003, delete the one routing group connector from the E2007 routing group that specifies the E2003 name.

Then in EMS on Exchange 2007, type the following:
New-RoutingGroupConnector -Name "2003 to 2007 conduit" -SourceTransportServers "E2007 server name" -TargetTransportServers "E2003 server name" -Cost 1 -Bidirectional $true -PublicFolderReferralsEnabled $true

There are no services that require stopping / restarting.

Mail will start to flow assuming you now have no smart host.

By default, when you set up new connectors to interoperate with your Exchange 2003 servers, you will find that the connectors are set with 10MB limits. With any encapsulating overhead this means less than 10MB.

Drop to a Powershell command prompt and type:
Get-Receiveconnector | Select identity,MaxMessageSize

This will list the 10MB limits of both your client connector and default connector (if you have followed standard practice). Now increase it. Since this is for internal traffic, make it large.

Set-Receiveconnector -identity "server\site" -MaxMessageSize: 300MB

Substitute server\site for the exact output in the get- results. Then repeat the get- command to ensure that the new limits are in place.
 
I had no smarthost in any send connector in 03 ESM
The registry setting for Suppress State Changes Already existed
I deleted all receive connectors from 07 ESM
In 2003 ESM for 2003: The was no connector for the 07 Box
In 2003 ESM for 2007: I deleted the existing 2003 referenced Connector
In 2007 I ran the New-RoutingGroupConnector -Name "2003 to 2007 conduit ... command. It created two routing groups successfully

I noticed there was still no Receive connectors in the 2007 EMC. So I created them both Port 587 and 25. I also added anonymous to the Default connector port 25.

Still no mail flowing in. I had to include all this now, but I will attempt a 2003 server reboot tonight. The 2003 Server has given me issues at times with SMTP service so I couldn't restart it. I know this defeats the whole purpose of what you had me do (not restarting SMTP) but I needed to include to write this while I was doing it. Will update after reboot tonight.
Thank you for the assistance.
 
Nevermind. You got it, it just took a few minutes for the
"Message queued for deferred delivery" in the ESM 2003, 2003Server queue to empty out. Messages started coming in without the SMTP Service restart.
They are arriving from both OFFnet accounts and the 03 Mailboxes. Looks like it is time to get together my test users to figure out what is going to annoy people.
I make most users use OWA and browser settings and certificates are not enjoyable for me to setup. But, it must be done.
Z, you really know your stuff.
 
:)

You just made my Christmas!! No-one ever said that before!

I learned this particular bit when I had the same trouble a year or so ago.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top