Answered by:
Exchange 2010 SMTP and Send connector

Question
-
Hi all,
I have a problem, I'm not sure if its an error, or just something to do with the way I've got it set up.
I've installed Exchange 2010 alongside my Exchange 2003 server. So far I have migrated one mailbox from 2003 to 2010.
When I go and look at the send connectors, there is one already there that was created on the 2003 server, so using the test mailbox account, I logged into outlook ant attempted to send an email to my own hotmail account, however the message never arrived. So, I then created a new Send connector, with all the correct details and set the source server as my new exchange 2010 server. However I'm still not able to send the email out.
Do I have to do something to the send connector on the old 2003 exchange server before I'll be able to send emails out via 2010. or is it something to do with the routing group (which I plan to delete soon anyway, as I'm moving all the users from 2003 to 2010 all at once!)
Many thanks,
James.
Friday, July 30, 2010 1:22 PM
Answers
-
Also double check this post for file-level exclusions for AV and Exch 2010:
http://technet.microsoft.com/en-us/library/bb332342.aspx
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com- Marked as answer by Alan.Gim Friday, August 6, 2010 6:18 AM
Friday, July 30, 2010 2:50 PM
All replies
-
Hi,
Before you created the send connector the mail should have used the routing group connector to the 2003 server and used the smtp connector here. Can you tell where this message got stuck?
Do you have the firewall open for SMTP from the 2010 server?
If you look in the queue viewer - what message is there for the message you are trying to send?
Leif
Friday, July 30, 2010 1:31 PM -
Hi,
the status of the message is at retry. Could it be that the message isn't being sent through the routing group connector then? How do I check it?
I've got windows firewall disabled on the 2010 server...
Thanks
James.
Friday, July 30, 2010 1:43 PM -
Do you have 2010 Hub Role installed?
Infrastructure ArchitectFriday, July 30, 2010 1:47 PM -
You should only have one Send connector (with address space of *) to the internet in your environement or you are likely to have mail flow issues. Remove one or the other.
First things firs, are you able to send email from a 2003 user to a 2010 user? If so, then it is just having issues routing externally. If outbound email is working from 2003 users, then keep the send connector there while you troubleshoot. In the 2010 EMC -> Toolbox node, run the Mail Flow Troubleshooter. Post the results if you need help deciphering them.
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 1:55 PM -
Yes, hub transport role is installed on the same server.Friday, July 30, 2010 1:55 PM
-
Area: Connectivity Other root causes Area: Connectivity It appears that the SMTP service and SMTP instance(s) on server RBREXCHANGE are started but the port did not respond. Check if there are any network errors or hung services. Tell me more about this issue and how to resolve it.
Server: RBREXCHANGE Port 25 did not respond Server: RBREXCHANGE Port 25, which is used by SMTP instance 'Default RBREXCHANGE', did not respond on server RBREXCHANGE. Tell me more about this issue and how to resolve it.
Port 587 did not respond Server: RBREXCHANGE Port 587, which is used by SMTP instance 'Client RBREXCHANGE', did not respond on server RBREXCHANGE.
Friday, July 30, 2010 2:06 PM -
That's what I got...Can't seem to figure why SMTP on 25 and 587 isn't working....Friday, July 30, 2010 2:09 PM
-
So you have turned off the firewall completely. Do you have any anti-virus software running? From the 2003 server, can your telnet over port 25 to the 2010 server and vice-versa?
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 2:11 PM -
Hi again,
Firewall is definately off on both servers, I can't do 'telnet [servername] 25 between either of the exchange servers, funnily enough, however, if I do telnet [servername] 25 from my laptop using putty, I get a responce and can do a helo to it.
Any ideas?
Friday, July 30, 2010 2:32 PM -
Again, any AV software? So you can telnet over port 25 from your laptop to both servers? Have you adjusted the Default Receive connector at all? Can you double check that it is in an "enabled" state? Can you run from a cmd: netstat -a, and see if the server is listening on port 25?
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 2:44 PM -
Appologies, yes, it's running Mcafee enterprise -
I'll try that netstat command and let you know
Friday, July 30, 2010 2:47 PM -
Netstat shows that it is indeed listening on port 25Friday, July 30, 2010 2:48 PM
-
Please disable McAfee and try again. By default McAfee is set to block SMTP traffic. You will have to create an exclusion within Mcaffee for SMTP
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com- Proposed as answer by TWHarrington Friday, July 30, 2010 5:24 PM
Friday, July 30, 2010 2:49 PM -
Also double check this post for file-level exclusions for AV and Exch 2010:
http://technet.microsoft.com/en-us/library/bb332342.aspx
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com- Marked as answer by Alan.Gim Friday, August 6, 2010 6:18 AM
Friday, July 30, 2010 2:50 PM -
GOT IT!!! Thankyou so much. It appears to be the virus scanner. Disabled it and now working fine. Just need to figure out how to stop it blocking ports to I can re-enable it!
Thanks,
James.
Friday, July 30, 2010 2:53 PM -
Ah...Almost got it.
I'm able to send out now, however can't recieve.
I sent a test mail from the test accound thats on 2010, to a user who I know is on the old 2003 server. He recieved the email and replied, but my test account failed to recieve the reply... odd
Thanks
Friday, July 30, 2010 2:58 PM -
Is it stuck in any queues? Is there a smarthost configured for the Default SMTP Virtual server on the 2003 server? Maybe you can run the Mail Flow Troubleshooter again.
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 3:06 PM -
Right. I think there is a smarthost on the Default SMTP - I ran the troubleshooter again and it gets 'Mail submission failed: Error message: The SMTP host was not specified.'
I've had a look at the queues on the 2003 server, the only thing that looks suspicious is the routing group connector from exch2003 to exch2010 - its state is at retry...
Thanks
James.
Friday, July 30, 2010 3:11 PM -
If you have a smarthost defined on the Default SMTP Virtual server, you will need to remove that. Create a separate connector with Address space * to your smarthost. This should fix your issue. With a smarthost defined in that Default SMTP Virtual server, it is going to try and pass everything through the smarthost. After you remove it, you will need to restart that Virtual server on the 2003 server.
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 3:14 PM -
Appologies for a dumb question, how do I confirm if there is a smarthost defined?
Friday, July 30, 2010 3:19 PM -
See this article:
http://mostlyexchange.blogspot.com/2006/03/exchange-smtp-virtual-server-smart.html
http://www.computerperformance.co.uk/exchange2003/exchange2003_virtual_servers.htm
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 3:24 PM -
Ahh, found it!
Yes, it looks like there is a smart host defined. If I just delete what it written in the 'Smart Host:' field, would that start it working?
(obviously after stopping and starting the virtual server)
Will there be any negative impact of me taking that setting out?
Thanks,
James.
Friday, July 30, 2010 4:51 PM -
Once you take the value of the smarthost out of your Default SMTP virtual server, outbound email will not work. You will need to create a separate SMTP connector on the 2003 server for outbound email. So delete the smarthost value from the Defualt SMTP virtual server, then create an SMTP connector and use the smarthost value in that. Put in an address space of *
See link for help:
http://www.msexchange.org/tutorials/Configuring-SMTP-Connector.html
http://support.microsoft.com/kb/265293
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.com- Proposed as answer by TWHarrington Friday, July 30, 2010 5:23 PM
Friday, July 30, 2010 5:08 PM -
got it, thanks!
James.
Friday, July 30, 2010 5:21 PM -
One last thing (sorry to keep bothering you, you've been such a fantastic help already!) I'm soon to move all users over to exchange 2010 anyway, so that would make the virtual smtp smart host irrelevant wouldn't it?
Because I'm guessing that once I'm migrated everything over, and deleted the routing groups everything will be going through the exchange 2010 server anyway wouldn't it?
Thanks loads,
James.
Friday, July 30, 2010 5:29 PM -
That is correct. You will have to delete the newly created SMTP connector for outbound email on 2003 server. Create a new "Send Connector" on 2010 for outbound email. Use the same smarthost value in the new "Send Connector". You can switch the outbound connector over to 2010 from 2003 anytime during the migration (2003 users will route through the 2010 server for outbound email). Do not have both created at the same time. One or the other. You will also need to configure the 2010 server to receive email from your smarthost. That configuration really depends on the smarthost, but usually you will create an anonymous receive connector and lock down the IP of your smarthost to use it. This link should help: http://howdouc.blogspot.com/2010/07/anonymous-relay-with-exchange-20072010.html
Removing the 2003 server from your organization (it mentions 2007, but applies to 2010 as well):
http://technet.microsoft.com/en-us/library/bb288905(EXCHG.80).aspx
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comFriday, July 30, 2010 5:36 PM -
Oh dear. I did the mailbox migration, and I've pointed all inbound SMTP traffic to the new exchange server, but it doesn't seem to be getting through. Just bounces straight back.
- Edited by severniae Saturday, July 31, 2010 3:48 AM font
Saturday, July 31, 2010 3:45 AM -
Did you create a receive connector to accept email from your smarthost like I described in my last post? Did you make the proper changes in your firewall (if needed) to all SMTP inbound/outbound to the new exchange server? Did you switch outbound to go out your new server?
Tim Harrington - Catapult Systems - http://HowDoUC.blogspot.comSaturday, July 31, 2010 2:37 PM -
Any update?
James Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.comTuesday, August 3, 2010 6:11 AM -
0
hello
sorry i install exchange server2010 in my office and my exchange server recive email but does not send any email,
i create mx record and ptr recor and text record d in revers look up zoon,and i created mx and text record in revers lookup zone.i create spf in microsoft site,but when i enter my domain name in testexchangeconnectivity.com show me these error::
Performing Outbound SMTP Test Test Steps Attempting reverse DNS lookup for IP address 178.173.163.5. Reverse DNS lookup failed. Additional Details IP address 178.173.163.5 doesn't have a PTR record in DNS
Performing Sender ID validation. Sender ID validation was performed successfully. Test Steps Attempting to find the SPF record using a DNS TEXT record query. ExRCA wasn't able to find the SPF record. Additional Details
please help me.thank very much
123@diba
Tuesday, April 10, 2012 9:39 AM