Wednesday, January 29, 2014

smtp server configuration in IIS

Setting up the IIS SMTP Server for Sending Email from SharePoint 2010 on Server 2008 R2

Insure that the IIS role is installed on your server.  Then, make sure that the SMTP Server feature is enabled.
image
The SMTP service should be started.
image
Open the IIS 6.0 Manager so you can manage the SMTP server settings.
image
Right-click to open the properties dialog.
Click the Authentication button.  Ensure that anonymous access is selected (SharePoint requires this).
image
Use the Connection button to Add computer(s) that can connect to this SMTP server.  Since it is anonymous, you want to be very selective.
image
Use the Relay button to add computers that can relay through the virtual server.  Again, necessary for security.
image
Select the Delivery tab.  We’re assuming you have to authenticate to your email provider to forward and send email through them.
image
Click the Outbound Security button.  This shows using basic authentication with TLS encryption (pretty standard from what I’ve seen).
image
Click the Outbound Connections button.  In many cases you’ll have to change the TCP port from the default of 25.  My provider uses 587.
image
Clicked the Advanced button.  In the Advanced Delivery dialog, enter the SMTP server in the Smart host field and a Masquerade domain.  The Masquerade domain name replaces the local domain name listing in Mail From lines in the SMTP protocol (your SMTP server may be in a domain such as mail.yourdomain.com).
image
Set the Outgoing E-Mail Settings in SharePoint Central Administration.  Notice there are no security settings.
image

No comments:

Post a Comment