Answered by:
Configure incoming email for a SharePoint 2013 farm

Question
-
Hello,
I want to receive mails in my sharepoint document library. My mail service is perfectly fine. I am getting proper mails from my workflow and other activities. Even my incoming e-mail service is also running fine.
I read your entire blog on this. But it is when you will create SMTP on same server.
Here my SharePoint is on different domain and my SMTP is on different domain.
When I perform nslookup this is what I got :
C:\windows\system32>nslookup
Default Server: lmbsrhzwadc1.efron.com
Address: 10.7.74.226> APPMAIL.EFRONOUTSOURCING.COM
Server: lmbsrhzwadc1.efron.com
Address: 10.7.74.226Non-authoritative answer:
Name: APPMAIL.EFRONOUTSOURCING.COM
Addresses: 192.168.70.109
10.1.11.2My mail address pattern is <name>@EFRONMAILS.com
Please guide me how can I set up incoming mails for my document library.
I would be thankful to any type of help or guidance. *Due to confidentiality I have change the name of domains.
Regards,
Rujal jariwala
- Edited by Rujal Jariwala Thursday, July 14, 2016 11:59 AM EDITED
Thursday, July 14, 2016 11:57 AM
Answers
-
Take a look at the following article. It will walk you through the entire process including Exchange.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.- Marked as answer by Rujal Jariwala Wednesday, July 20, 2016 11:10 AM
Saturday, July 16, 2016 4:26 PM -
- Verify that the user account that is performing this procedure is a member of the Administrators group on the front-end web server.
- Open Server Manager.
- In Server Manager, click Add Roles and Features.
- Click next to skip Role in Installation
- On the Features screen, select SMTP Server.
- In the Add Roles and Features Wizard dialog box, click Add Features, and then click Next.
- On the Confirm Installation Selections page, click Install.
- On the Installation Results page, ensure that the installation finished successfully, and then click Close.
- Open Internet Information Services (IIS) 6.0 Manager.
- In IIS Manager, expand the server name that contains the SMTP server that you want to configure.
- Right-click the SMTP virtual server that you want to configure, and then click Start.
- Right-click the SMTP virtual server that you want to configure, and then click Properties.
- On the Access tab, in the Access control area, click Authentication.
- In the Authentication dialog box, verify that Anonymous access is selected.
- On the Access tab, in the Relay restrictions area, click Relay.
- To enable relaying from any server, click All except the list below.
-
To accept relaying from one or more specific servers, follow these steps:
- Click Only the list below.
- Click Add, and then add servers one at a time by IP address, or in groups by using a subnet or domain.
- Click OK to close the Computer dialog box.
- Click OK to close the Relay Restrictions dialog box.
- Click OK to close the Properties dialog box.
- Open Services.
- In Services, right-click Simple Mail Transfer Protocol (SMTP), and then select Properties.
- In the Simple Mail Transfer Protocol (SMTP) Properties dialog box, on the General tab, in the Startup type list, select Automatic.
- Click OK.
- Verify that the user account that is performing this procedure is a member of the Domain Administrators group or a delegated authority for domain administration on the domain controller that is running DNS Manager.
- Click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
- In Active Directory Users and Computers, right-click the folder for the second-level domain that contains your server farm, point to New, and then click Organizational Unit.
- Verify that the user account that is performing this procedure is a member of the Domain Administrators group or the Enterprise Administrators group in AD DS, or a delegated authority for domain administration.
- Right-click the OU, and then click Delegate control.
- In the Delegation of Control Wizard, click Next.
- Click Add, and then type the name of the application pool identity account for Central Administration.
- On the Tasks to Delegate page of the Delegation of Control Wizard, select Create a custom task to delegate, and then click Next.
- In the Permissions section, select Create all Child Objects and Delete all Child Objects.
- On the last page of the Delegation of Control Wizard, click Finish to exit the wizard.
- Browse to Exchange Control Panel https://ExchangeServer/ecp(Both my SQL and Exchange runs on same server)
- Choose “Route mail through smart hosts” and click on Add and provide SharePoint Server FQDN
- Choose None as the Authentication method
- Provide the FQDN of the SharePoint Server where SMTP role is installed and click on Save and then Next
- On the Source Server screen add the exchange server and click on Finish
- Ensure that the Connector status shows as Enabled
- Make sure Microsoft SharePoint Incoming Email service is started. If its stopped, Start the service.
-
Then in Central administration System Settings >> Configure Incoming Email Settings set the settings as below.
- Settings Mode: Advanced
- Directory Management Service: Yes
- AD Container: OU=SharePoint Contacts, DC=AD2012, DC=Loc
- SMTP Server: FQDN of the Front End Server: SP2013Srv.AD2012.Loc
- Browse to a library >> Library Settings >> Incoming Email Settings to enable
- Under Document Library Settings you can check the mail address.
-
Wooow it works
Install SMTP Server
Configure SMTP Server
Click OK.
Set SMTP Service to start Automatically
Create an OU in AD DS
Type the name of the OU, and then click OK. In my scenario I used the name as “SharePoint Contacts”
Delegate Permission to Create and Delete all child objects
Click OK.
Click Next.
Click This folder, existing objects in this folder, and creation of new objects in this folder, and then click Next.
Click Next.
Create Send Connector in Exchange Server
Click on Mail Flow then Send Connectors
Click on New Send Connector Icon and give it meaningful name and chose Internal
Configure SharePoint Incoming Email
Configure Document Library to Receive Email
Hope this will help you.
Mark as answer if it helps you.
Thanks- Proposed as answer by Lisa Chen1226Microsoft contingent staff Monday, July 18, 2016 10:07 AM
- Marked as answer by Rujal Jariwala Wednesday, July 20, 2016 11:10 AM
Saturday, July 16, 2016 4:37 PM
All replies
-
The domain membership of the server doesn't matter. What matters is how the Mail is configured to flow. Normally when setting up incoming email you designate a subdomain of the email domain as the base address for all Sharepoint email. For example SPT.Efronmails.com. Then any email addressed to that subdomain is forwarded by the mail system to the SMTP service on the SharePoint server. SharePoint will pick it up from there. So for incoming email your pattern will need to be something like <name>@subdomain.efronmails.com. Without the subdomain your regular email server won't know that the mail needs to be forwarded to SharePoint.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.- Proposed as answer by Amjad Khan Microsoft Saturday, July 16, 2016 6:13 PM
Thursday, July 14, 2016 12:29 PM -
Hey Paul.
Thanks for your response. Here I didn't get what do you mean by subdomain.
We have one main domain EFRONOUTSOURCING under which we have multiple sub-domains like EFRONMAILS.
Now how can I create subdomain.efronmails.com.
We are using Microsoft Exchange 2013.
I know what should I do to receive mail at SharePoint site.
But I want exact steps for Mail Server side.
- Edited by Rujal Jariwala Friday, July 15, 2016 6:44 AM
Friday, July 15, 2016 6:41 AM -
Take a look at the following article. It will walk you through the entire process including Exchange.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.- Marked as answer by Rujal Jariwala Wednesday, July 20, 2016 11:10 AM
Saturday, July 16, 2016 4:26 PM -
- Verify that the user account that is performing this procedure is a member of the Administrators group on the front-end web server.
- Open Server Manager.
- In Server Manager, click Add Roles and Features.
- Click next to skip Role in Installation
- On the Features screen, select SMTP Server.
- In the Add Roles and Features Wizard dialog box, click Add Features, and then click Next.
- On the Confirm Installation Selections page, click Install.
- On the Installation Results page, ensure that the installation finished successfully, and then click Close.
- Open Internet Information Services (IIS) 6.0 Manager.
- In IIS Manager, expand the server name that contains the SMTP server that you want to configure.
- Right-click the SMTP virtual server that you want to configure, and then click Start.
- Right-click the SMTP virtual server that you want to configure, and then click Properties.
- On the Access tab, in the Access control area, click Authentication.
- In the Authentication dialog box, verify that Anonymous access is selected.
- On the Access tab, in the Relay restrictions area, click Relay.
- To enable relaying from any server, click All except the list below.
-
To accept relaying from one or more specific servers, follow these steps:
- Click Only the list below.
- Click Add, and then add servers one at a time by IP address, or in groups by using a subnet or domain.
- Click OK to close the Computer dialog box.
- Click OK to close the Relay Restrictions dialog box.
- Click OK to close the Properties dialog box.
- Open Services.
- In Services, right-click Simple Mail Transfer Protocol (SMTP), and then select Properties.
- In the Simple Mail Transfer Protocol (SMTP) Properties dialog box, on the General tab, in the Startup type list, select Automatic.
- Click OK.
- Verify that the user account that is performing this procedure is a member of the Domain Administrators group or a delegated authority for domain administration on the domain controller that is running DNS Manager.
- Click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
- In Active Directory Users and Computers, right-click the folder for the second-level domain that contains your server farm, point to New, and then click Organizational Unit.
- Verify that the user account that is performing this procedure is a member of the Domain Administrators group or the Enterprise Administrators group in AD DS, or a delegated authority for domain administration.
- Right-click the OU, and then click Delegate control.
- In the Delegation of Control Wizard, click Next.
- Click Add, and then type the name of the application pool identity account for Central Administration.
- On the Tasks to Delegate page of the Delegation of Control Wizard, select Create a custom task to delegate, and then click Next.
- In the Permissions section, select Create all Child Objects and Delete all Child Objects.
- On the last page of the Delegation of Control Wizard, click Finish to exit the wizard.
- Browse to Exchange Control Panel https://ExchangeServer/ecp(Both my SQL and Exchange runs on same server)
- Choose “Route mail through smart hosts” and click on Add and provide SharePoint Server FQDN
- Choose None as the Authentication method
- Provide the FQDN of the SharePoint Server where SMTP role is installed and click on Save and then Next
- On the Source Server screen add the exchange server and click on Finish
- Ensure that the Connector status shows as Enabled
- Make sure Microsoft SharePoint Incoming Email service is started. If its stopped, Start the service.
-
Then in Central administration System Settings >> Configure Incoming Email Settings set the settings as below.
- Settings Mode: Advanced
- Directory Management Service: Yes
- AD Container: OU=SharePoint Contacts, DC=AD2012, DC=Loc
- SMTP Server: FQDN of the Front End Server: SP2013Srv.AD2012.Loc
- Browse to a library >> Library Settings >> Incoming Email Settings to enable
- Under Document Library Settings you can check the mail address.
-
Wooow it works
Install SMTP Server
Configure SMTP Server
Click OK.
Set SMTP Service to start Automatically
Create an OU in AD DS
Type the name of the OU, and then click OK. In my scenario I used the name as “SharePoint Contacts”
Delegate Permission to Create and Delete all child objects
Click OK.
Click Next.
Click This folder, existing objects in this folder, and creation of new objects in this folder, and then click Next.
Click Next.
Create Send Connector in Exchange Server
Click on Mail Flow then Send Connectors
Click on New Send Connector Icon and give it meaningful name and chose Internal
Configure SharePoint Incoming Email
Configure Document Library to Receive Email
Hope this will help you.
Mark as answer if it helps you.
Thanks- Proposed as answer by Lisa Chen1226Microsoft contingent staff Monday, July 18, 2016 10:07 AM
- Marked as answer by Rujal Jariwala Wednesday, July 20, 2016 11:10 AM
Saturday, July 16, 2016 4:37 PM