Answered by:
Is it possible to configure outgoing email for SharePoint 2010 using IIS 7 ?

Question
-
I have 2 different SharePoint 2010 farms in different locations.
I configured outgoing email using IIS 6 on lets say 1st farm, it works fine there - it sends alerts & emails.
But with the same settings (with different smtp server & credentials), it is unable to send emails from 2nd farm.
I configured it by following way -
1. Central Administration ->System Settings->Outgoing Email Settings->added appropriate entries for ->Outbound SMTP Server, From Address, Reply - to address & Char. set etc.
2. IIS 6 ->Access->Authentication->Anonymous Access->enabled.
3. IIS 6 ->Access->Connection->All Except the list below.
4. IIS 6 ->Access->Relay->Only the list below->Added all required IPs.
5. IIS 6 ->Delivery->Outbound Security->Basic Authentication-> Username+Password.
6. IIS 6 ->Delivery->Outbound Security->Enabled TLS encryption (my smtp server requires TLS encryption).
7. IIS 6 ->Delivery->Outbound Connections->TCP Port->It is 587 in my case.
8. IIS 6 ->Delivery->Advanced->FQDN->Mydomain.com
9. IIS 6 ->Delivery->Advanced->Smart Host->mysmtp.outgoingserver.com
Can anybody help me into this ?
Is it possible to configure outgoing email for SharePoint 2010 server using IIS 7 ? If yes, please let me know how to configure.
Or is there any other way to configure it, except IIS 6 ?
Thanks in advance !
Monday, June 4, 2012 7:43 AM
Answers
-
Looks to me that you are configuring one of your SharePoint servers in the farm as a mail relay with a SMTP service for all the other SharePoint server in the farm because your mail server requires authentication. This way you only need to allow the ons SharePoint mail relay to your "other" smtp server (mysmtp.outgoingserver.com).
If you have followed the same setup for farm2 as farm1 I would check the Access lists on the mysmtp.outgoingserver.com or the "other" smtp server that you have defined in IIS 6 ->Delivery->Advanced->Smart Host
Another scenario that is often used is to configure the access list of mysmtp.outgoingserver.com to allow all IP addresses of all SharePoint servers to relay mail without authentication. This way you do not need to configura anything in IIS 6.0 Manager and do not require a local SMTP server.
Now for the SMTP service configuration on a Windows 2008 server, you can only use the IIS 6.0 Manager. The SMTP service which has been left in Windows 2008 is a legacy feature because the SMTP service reponsabilities have been moved to the Exchange product group. This is the reason why the IIS 7 management console does not allow you to configure the SMTP service. Because it is still the IIS 6.0 version and there is no IIS 7.0 version of it.
Dirk Van den Berghe
- Proposed as answer by Hemendra Agrawal Monday, June 11, 2012 10:46 AM
- Marked as answer by GuYuming Friday, June 15, 2012 8:09 AM
Monday, June 4, 2012 9:05 AM
All replies
-
Please ask your question in the SharePoint 2010 forum and not in this pre-SharePoint 2010 forum.
SharePoint 2010 - General Questions and Answers
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/threadsSharePoint 2010 - Setup, Upgrade,Administration and Operation
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/threadsSharePoint 2010 - Using SharePoint Designer, Infopath, and other customization
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/threadsSharePoint 2010 - Using Visual Studio with SharePoint and other programming
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/threadsDirk Van den Berghe
Monday, June 4, 2012 8:32 AM -
Thanks a lot Dirk Van den Berghe !Monday, June 4, 2012 8:47 AM
-
Looks to me that you are configuring one of your SharePoint servers in the farm as a mail relay with a SMTP service for all the other SharePoint server in the farm because your mail server requires authentication. This way you only need to allow the ons SharePoint mail relay to your "other" smtp server (mysmtp.outgoingserver.com).
If you have followed the same setup for farm2 as farm1 I would check the Access lists on the mysmtp.outgoingserver.com or the "other" smtp server that you have defined in IIS 6 ->Delivery->Advanced->Smart Host
Another scenario that is often used is to configure the access list of mysmtp.outgoingserver.com to allow all IP addresses of all SharePoint servers to relay mail without authentication. This way you do not need to configura anything in IIS 6.0 Manager and do not require a local SMTP server.
Now for the SMTP service configuration on a Windows 2008 server, you can only use the IIS 6.0 Manager. The SMTP service which has been left in Windows 2008 is a legacy feature because the SMTP service reponsabilities have been moved to the Exchange product group. This is the reason why the IIS 7 management console does not allow you to configure the SMTP service. Because it is still the IIS 6.0 version and there is no IIS 7.0 version of it.
Dirk Van den Berghe
- Proposed as answer by Hemendra Agrawal Monday, June 11, 2012 10:46 AM
- Marked as answer by GuYuming Friday, June 15, 2012 8:09 AM
Monday, June 4, 2012 9:05 AM -
Hi Dirk Van den Berghe,
I could solve the problem !
I really appreciate your help ! Thanks for explaining IIS 7 limitations.
I checked the "other" SMTP server configuration, & I found all required entries (as you suggested) added there. Mail server has also configured for anonymous access. Your suggestions definately helped me to sort out the problem.
I also tried to check the configuration through telnet & mail server was responding properly.
The problem was with local SMTP service, eventhough it was started & startup type was set to Automatic, some how my local SMTP serice was unable to contact mail server. I uninstalled SMTP feature from local (SharePoint) server & reinstalled & configured it & it started delivering alerts & emails !
Many many thanks for your support !
- Edited by amolk75 Monday, June 11, 2012 4:40 AM
Monday, June 4, 2012 9:54 AM -
Hello amolk75,
May I ask if finally you could use your sharepoint server as an SMTP relay with IIS 7, or is it indeed impossible as per Dirk said:
"Now for the SMTP service configuration on a Windows 2008 server, you can only use the IIS 6.0 Manager. The SMTP service which has been left in Windows 2008 is a legacy feature because the SMTP service reponsabilities have been moved to the Exchange product group. This is the reason why the IIS 7 management console does not allow you to configure the SMTP service. Because it is still the IIS 6.0 version and there is no IIS 7.0 version of it."
Thanks a lot for your answer !
Yvan
Wednesday, June 18, 2014 3:33 PM