You are currently viewing Configure Incoming emails in SharePoint Server 2013

Configure Incoming emails in SharePoint Server 2013

In couple of months time, I will have to implement SharePoint 2013 at my work. I have started playing around with installation and configuration on my lab environment. I am going to blog any issues that I encountered and the solutions for future reference.

Lab Info:

OS: Windows Server 2012 R2
Database : MS SQL Server 2012 Standard
Active Directory Certificate Service
SharePoint 2013
Exchange 2013
Single Farm will suffice

After I configured incoming emails in both SharePoint and Exchange 2013, I did testing by sending a document but never made it through to SharePoint Document folders.  I am going to document the requirements for SMTP configuration along with the creating send connectors in Exchange.

Topics:
(I) Installing SMTP  feature in SharePoint Server
(II) Installing certificate for SMTP service
(III) Configure SMTP on SharePoint Server
(IV) Creating Send Connector in Exchange 2013 
(V) Enable Incoming Email on document Library

(I) Installing SMTP  feature in SharePoint Server

1. On the SharePoint server, open Server manager and click on Manage -> Add Roles and Features.

2. Click Next on the following screen

 

3. Choose “Select a server from the server pool” and click Next

4. Click Next on the Roles Screen, Select Features from the left, check SMTP from the features, click Next

5. Click Add Features, Next and Install

(II) Install Certificate 


As a part of security requirement, SMTP service is required to implement TLS encryption. Under the Properties for the SMTP service, in the Access Tab, the Require TLS encryption check box is grayed out.



I assume that you already have Active Directory Certificate installed on your environment and certificate is installed in Exchange too. We need to request and install certificate in SharePoint/SMTP server.

a. Run MMC
b. From File menu, Choose Add/Remove Snap-in

b. From the Available snap-ins, select Certificate and click on Add
c. Choose Computer Account and click Next
d. Choose Local Computer from select computer and click Finish
e. You should see certificates(local computer) on the selected snap-ins; and click OK.
f. Right Click on personal,->Choose All Tasks-> Click on Request New Certificate
g. On the Certificate Enrollment, click Next
h. under Request Certificates, choose Computer and Click on Enroll
i. On the certificate installation results page, click Finish
h. In the Certificate console of SharePoint server, navigate to Personal, Certificates, the new certificate has been installed.
Now the certificate is made available to the SMTP service, Secure Communication -> Require TLS encryption is available and no more grayed out.

(III) Configure SMTP on SharePoint Server

a. Browse to Server manager -> Local Server->Tools-> “Internet Information Services (IIS) 6.0 manager”

b.Expand Server Name-> Right Click on SMTP and click on Properties
c. On the General Tab,  select Enable logging and keep everything as default.
d. Click on the Access Tab-> Under Secure communication -> check Require TLS Encryption
e. Under Access->click on Authentication and make sure Anonymous is selected
f. Under Access ->Click on connection and make sure All except the list below is selected
g. Under Access-> Select Relay and make sure All except the list below is selected.
h. Select Delivery Tab-> Outbound Security
i. under Outbound Security, make sure Anonymous Access and TLS encryption are selected
j. Delivery Tab->click Advanced
k. Check the SMTP/SharePoint Server FQDN is displayed.
(IV) Creating Send Connector in Exchange 2013 
(V) Enable Incoming Email on document Library
(VI) Configuring AD to allow contracts to show up in the OAB