設定 SharePoint 伺服器陣列的內送電子郵件Configure incoming email for a SharePoint Server farm

摘要:了解如何安裝及設定 SMTP 服務、 準備您的環境以及設定 SharePoint Server 2016、 SharePoint Server 2013 和 SharePoint Foundation 2013 伺服器陣列的內送電子郵件。Summary: Learn how to install and configure the SMTP service, prepare your environment, and configure incoming email for a SharePoint Server 2016, SharePoint Server 2013, and SharePoint Foundation 2013 farm.

本文說明如何為 SharePoint Server 中設定內送電子郵件。本文也會說明如何安裝及設定 SMTP 服務,以啟用內送電子郵件。This article describes how to configure incoming email for SharePoint Server. This article also describes how to install and configure the SMTP service to enable incoming email.

啟用內送電子郵件時,SharePoint 網站可接收並儲存電子郵件訊息與附件清單和文件庫中。本文說明兩種情況,一個 basic 進階的另一個。基本案例適用於單一伺服器陣列環境,建議您是否要使用預設設定。進階的案例適用於單一伺服器陣列或多個伺服器陣列及包含數個要選擇的進階的選項。如需詳細資訊,請參閱規劃 SharePoint 伺服器陣列的內送電子郵件When incoming email is enabled, SharePoint sites can receive and store email messages and attachments in lists and libraries. This article describes two scenarios, one basic and one advanced. The basic scenario applies to a single-server farm environment and is recommended if you want to use default settings. The advanced scenario applies to a single-server farm or a multiple-server farm and contains several advanced options from which to choose. For more information, see Plan incoming email for a SharePoint Server farm.

開始之前Before you begin

在開始進行此作業之前,請務必檢閱下列資訊:Before you begin this operation, make sure to review the following information:

  • 您的系統執行 SharePoint Server 2016、 SharePoint Server 2013 或 SharePoint Foundation 2013。Your system is running SharePoint Server 2016, SharePoint Server 2013, or SharePoint Foundation 2013.

  • 閱讀並了解規劃 SharePoint 伺服器陣列的內送電子郵件Read and understand Plan incoming email for a SharePoint Server farm.

  • 基本案例中,每個 SharePoint 應用程式伺服器必須執行簡易郵件傳送通訊協定 (SMTP) 服務及 SharePoint Foundation Web 應用程式服務。For the basic scenario, each SharePoint application server must be running the Simple Mail Transfer Protocol (SMTP) service and the SharePoint Foundation Web Application service.

  • 對於進階案例,伺服陣列中可以有一或多個伺服器執行 SMTP 服務並具有一個有效的 SMTP 伺服器位址。或者,您必須知道伺服器陣列外執行 SMTP 服務之伺服器的名稱以及電子郵件放置資料夾的位置。For the advanced scenario, you can use one or more servers in the server farm to run the SMTP service and to have a valid SMTP server address. Alternatively, you must know the name of a server outside the farm that is running the SMTP service and the location of the email drop folder.

如果尚未安裝及設定 SMTP 服務及未選擇使用電子郵件放置資料夾,您必須完成步驟安裝及設定 SMTP 服務設定內送電子郵件之前。If you have not installed and configured the SMTP service and do not choose to use an email drop folder, you must complete the steps in Install and configure the SMTP service before you configure incoming email.

安裝與設定 SMTP 服務Install and configure the SMTP service

SharePoint server 的內送電子郵件使用的 SMTP 服務。您可以使用的 SMTP 服務的兩種方式之一。您可以在伺服器陣列中的一或多個伺服器上安裝 SMTP 服務或系統管理員可以從另一部伺服器上的服務轉寄的電子郵件提供電子郵件放置資料夾。如需關於電子郵件下拉 [資料夾] 選項,請參閱規劃 SharePoint 伺服器陣列的內送電子郵件Incoming email for SharePoint Server uses the SMTP service. You can use the SMTP service in one of two ways. You can install the SMTP service on one or more servers in the farm, or administrators can provide an email drop folder for email that is forwarded from the service on another server. For more information about the email drop folder option, see Plan incoming email for a SharePoint Server farm.

安裝 SMTP 服務Install the SMTP service

如果您不使用放置資料夾的電子郵件,必須在想要設定內送電子郵件伺服器陣列中每部應用程式伺服器上安裝 SMTP 服務。若要安裝 SMTP 服務,請使用 [新增角色及功能精靈] 在 [伺服器管理員。完成此程序之後,應用程式伺服器上安裝 SMTP 服務。If you are not using a drop folder for email, the SMTP service must be installed on every application server in the farm that you want to configure for incoming email. To install the SMTP service, use the Add Roles and Features Wizard in Server Manager. After you complete the procedure, the SMTP service is installed on the application server.

若要安裝 SMTP 服務To install the SMTP service

  1. 確認執行此程序的使用者帳戶是應用程式伺服器上的管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Administrators group on the application server.

  2. 開啟 [伺服器管理員]、 按一下 [管理] 然後選取 [新增角色及功能Open Server Manager, click Manage, and select Add Roles and Features.

  3. 按一下 [下一步[選取功能] 頁面隨即顯示、 選取 [ SMTP 伺服器、 按一下 [新增功能],然後按 [下一步.Click Next until the Select features page appears, select SMTP Server, click Add Features, and then click Next..

  4. 在 [確認安裝選項] 頁面上按一下 [安裝]。On the Confirm Installation Selections page, click Install.

  5. 在 [安裝結果] 頁面上檢查順利完成安裝並再按一下 [關閉]。On the Installation Results page, check that the installation finished successfully, and then click Close.

安裝 IIS 6.0 管理工具Install IIS 6.0 Management tools

若要管理 Windows Server 2012 R2、 Windows Server 2016、 Windows Server 2008 和 Windows Server 2008 R2 上的 SMTP 服務必須使用網際網路資訊服務 (IIS) 6.0 Manager。不過,如果您在 Windows Server 2016 上安裝 SMTP 服務,新增角色及功能精靈] 自動安裝 IIS 6 管理工具。To manage the SMTP service on Windows Server 2012 R2, Windows Server 2016, Windows Server 2008, and Windows Server 2008 R2 you must use Internet Information Services (IIS) 6.0 Manager. However, if you install the SMTP service on Windows Server 2016, the Add Roles and Features Wizard automatically installs the IIS 6 Management tools.

安裝 IIS 6.0 管理員To install IIS 6.0 Manager

  1. 確認您具有下列系統管理認證:Verify that you have the following administrative credentials:

    • 您必須是前端網頁伺服器上 Administrators 群組的成員。You must be a member of the Administrators group on the front-end web server.
  2. 開啟 [伺服器管理員]、 按一下 [管理] 然後選取 [新增角色及功能Open Server Manager, click Manage, and select Add Roles and Features.

  3. 按一下 [下一步]直到選取伺服器角色] 頁面上出現,請選取 [管理工具IIS 6 管理相容性、] 和 [安裝Click Next until the Select server roles page appears, select Management Tools and IIS 6 Management compatibility, and then click Install.

  4. 在 [應用程式伺服器] 區段中,按一下 [新增角色服務]。In Application Server section, click Add Role Services.

  5. 在 [選取角色服務] 頁面上選取 [管理工具] 和 [ IIS 6 管理相容性、] 和 [安裝On the Select Role Services page, select Management Tools and IIS 6 Management compatibility, and then click Install.

設定 SMTP 服務Configure the SMTP service

安裝 SMTP 服務之後,您要設定它接受來自網域郵件伺服器的電子郵件。您可以決定接受從所有伺服器 (除了明確排除的伺服器以外) 轉送來的電子郵件。或者,您可以封鎖從所有伺服器 (除了明確包含的伺服器以外) 轉送來的電子郵件。您可以包含個別伺服器,或包含子網路中的群組或網域中的群組。After you install the SMTP service, you configure it to accept email from the mail server for the domain. You can decide to accept relayed email from all servers except those that you specifically exclude. Alternatively, you can block email from all servers except those that you specifically include. You can include servers individually, in groups by subnet, or in groups by domain.

設定服務之後,將它設定成自動啟動。After you configure the service, set it to start automatically.

設定 SMTP 服務To configure the SMTP service

  1. 確認執行此程序的使用者帳戶是應用程式伺服器上的管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Administrators group on the application server.

  2. 開啟 [伺服器管理員]、 [工具],然後選取 [網際網路資訊服務 (IIS) 6.0 ManagerOpen Server Manager, click Tools, and select Internet Information Services (IIS) 6.0 Manager.

  3. 在 [IIS 管理員] 中,展開包含要設定之 SMTP 伺服器的伺服器名稱。 In IIS Manager, expand the server name that contains the SMTP server that you want to configure.

  4. 以滑鼠右鍵按一下您要設定、 按一下 [開始] 然後之伺服器上按一下滑鼠右鍵並按一下 [內容] 的 SMTP 虛擬伺服器。Right-click the SMTP virtual server that you want to configure, click Start, and then right-click the server again and click Properties.

  5. 在 [存取] 索引標籤的 [存取控制] 區域中按一下 [* * 驗證 * On the **Access* tab, in the Access control area, click ** Authentication **.

  6. 在 [驗證] 對話方塊中,確認的匿名存取已選取,然後按一下 [確定]In the Authentication dialog box, verify that Anonymous access is selected, and click OK.

  7. 在 [存取] 索引標籤的 [轉送限制] 區域中按一下 [轉送]。On the Access tab, in the Relay restrictions area, click Relay.

  8. 若要啟用來自任何伺服器的轉送,請按一下 [全部,以下清單除外]。To enable relaying from any server, click All except the list below.

  9. 若要接受來自一或多部特定伺服器的轉送,請執行下列步驟: To accept relaying from one or more specific servers, follow these steps:

    • 按一下 [僅限下列清單]。Click Only the list below.

    • 按一下 [新增],然後再新增一部伺服器一次的 IP 位址或群組中使用子網路或網域。Click Add, and then add servers one at a time by IP address, or in groups by using a subnet or domain.

    • 按三次[確定]關閉 [電腦轉送限制屬性] 對話方塊。Click OK three times to close the Computer, Relay Restrictions, and Properties dialog boxes.

設定 SMTP 服務自動啟動To set the SMTP service to start automatically

  1. 開啟 [伺服器管理員]、 [工具] 和選取 [服務]。Open Server Manager, click Tools, and select Services.

  2. 在服務,以滑鼠右鍵按一下 [簡易郵件傳送通訊協定 (SMTP)],然後選取屬性In Services, right-click Simple Mail Transfer Protocol (SMTP), and then select Properties.

  3. 在 [簡易郵件傳送通訊協定 (SMTP) 內容] 對話方塊的 [一般] 索引標籤的 [啟動類型] 清單中選取 [自動] 並按一下 [確定]In the Simple Mail Transfer Protocol (SMTP) Properties dialog box, on the General tab, in the Startup type list, select Automatic, and click OK.

設定基本案例中的內送電子郵件Configure incoming email in a basic scenario

您可以使用下列程序來設定基本案例中的內送電子郵件選取 [自動] 設定模式並使用預設設定。完成此程序之後,使用者可以傳送電子郵件的清單與文件庫。You can use the following procedure to configure incoming email in a basic scenario by selecting the Automatic settings mode and using the default settings. After you complete the procedure, users can send email to lists and libraries.

若要設定基本案例中的內送電子郵件To configure incoming email in a basic scenario

  1. 請確認執行此程序的使用者帳戶是執行 SharePoint 管理中心網站的伺服器上的管理員群組的成員。Make sure the user account that is performing this procedure is a member of the Administrators group on the server that is running the SharePoint Central Administration website.

  2. 在管理中心按一下 [系統設定] 的 [電子郵件及簡訊 (SMS) ] 區段中,按一下 [設定內送電子郵件設定In Central Administration, click System Settings, in the E-Mail and Text Messages (SMS) section, click Configure incoming e-mail settings.

  3. 若要啟用此伺服器啟用內送電子郵件] 區段中接收電子郵件,在 [設定內送電子郵件設定] 頁面上的網站按一下 []。To enable sites on this server to receive email, on the Configure Incoming E-Mail Settings page, in the Enable Incoming E-Mail section, click Yes.

  4. 選取 [自動] 設定模式。Select the Automatic settings mode.

  5. 在 [內送電子郵件伺服器顯示位址] 區段的 [電子郵件伺服器顯示地址] 方塊中輸入顯示名稱的電子郵件伺服器,例如,mail.fabrikam.com。In the Incoming E-Mail Server Display Address section, in the E-mail server display address box, type a display name for the email server, for example, mail.fabrikam.com.

  6. 使用預設設定的所有其他區段中,並再按一下 [確定]Use the default settings for all other sections, and then click OK.

設定內送電子郵件之後,具有管理清單權限的使用者可以設定電子郵件啟用清單及文件庫。After you configure incoming email, users who have Manage Lists permissions can configure email-enabled lists and document libraries.

設定進階案例中的內送電子郵件Configure incoming email in an advanced scenario

下列程序說明如何在進階案例中的內送電子郵件設定所選取的 [進階] 設定模式和您想要用於內送電子郵件環境的其他選項。完成此程序之後,使用者可以傳送電子郵件的清單與文件庫。The following procedure explains how to configure incoming email in an advanced scenario by selecting the Advanced settings mode and additional options that you want to use for your incoming email environment. After you complete the procedure, users can send email to lists and libraries.

您也可以在進階案例中使用 [自動] 設定模式。在 [自動] 設定模式,您可以選取接收已接受透過安全電子郵件伺服器應用程式路由傳送的電子郵件。在 [進階] 設定模式,您可以改用指定放置資料夾。如需詳細資訊,請參閱規劃 SharePoint 伺服器陣列的內送電子郵件You can also use the Automatic settings mode in an advanced scenario. In the Automatic settings mode, you can select to receive email that has been routed through a safe-email server application. In the Advanced settings mode, you can instead specify a drop folder. For more information, see Plan incoming email for a SharePoint Server farm.

有幾個步驟提及本文稍後 <準備進階案例中的內送電子郵件的適用環境中所記載的先決條件程序。Several of these steps mention prerequisite procedures that are documented in Prepare your environment for incoming email in an advanced scenario later in this article.

若要設定進階案例中的內送電子郵件To configure incoming email in an advanced scenario

  1. 請確認執行此程序的使用者帳戶是執行 SharePoint 管理中心網站的伺服器上的管理員群組的成員。Make sure the user account that is performing this procedure is a member of the Administrators group on the server that is running the SharePoint Central Administration website.

  2. 在管理中心按一下 [系統設定] 的 [電子郵件及簡訊 (SMS) ] 區段中,按一下 [設定內送電子郵件設定In Central Administration, click System Settings, in the E-Mail and Text Messages (SMS) section, click Configure incoming e-mail settings.

  3. 若要啟用此伺服器啟用內送電子郵件] 區段中接收電子郵件,在 [設定內送電子郵件設定] 頁面上的網站按一下 []。To enable sites on this server to receive email, on the Configure Incoming E-mail Settings page, in the Enable Incoming E-Mail section, click Yes.

  4. 選取 [進階] 設定模式。Select the Advanced settings mode.

    您可以指定放置資料夾而不使用 SMTP 伺服器。放置資料夾的預設位置是 C:\inetpub\mailroot\drop。如果您想要讓但此放置資料夾時必須在所有的 SharePoint 伺服器上相同,您可以設定不同的位置。You can specify a drop folder instead of using an SMTP server. The default location of the drop folder is C:\inetpub\mailroot\drop. You can configure a different location if you want but this drop folder must be the same on all SharePoint Servers.

    注意

    您也可以選取 [自動設定模式並選取是否要使用目錄管理服務與還是要接受來自所有電子郵件伺服器的電子郵件或數部指定之電子郵件伺服器。如需詳細資訊,請參閱規劃 SharePoint 伺服器陣列的內送電子郵件You can also select the Automatic settings mode and select whether to use Directory Management Service and whether to accept email from all email servers or from several specified email servers. For more information, see Plan incoming email for a SharePoint Server farm.

  5. 如果您想要連線至目錄管理服務,在 [目錄管理服務] 區段中,按一下 []。If you want to connect to Directory Management Service, in the Directory Management Service section, click Yes.

    如果您選取這個選項,您必須先設定 Active Directory 網域服務 (AD DS)。如果您使用 Exchange Server,也必須設定 DNS 管理員及新增 SMTP 連接器。如需詳細資訊,請參閱本文後述的設定要搭配目錄管理服務使用的 AD DS設定 DNS 管理員] 及 [新增 SMTP 連接器在 Microsoft Exchange Server 2016If you select this option, you must first configure Active Directory Domain Services (AD DS). If you use Exchange Server, you must also configure the DNS Manager and add an SMTP connector. For more information, see Configure AD DS to be used with Directory Management Service, Configure DNS Manager, and Add an SMTP connector in Microsoft Exchange Server 2016 later in this article.

    • 其中會建立新的通訊群組與連絡人的 Active Directory 容器] 方塊中輸入的格式容器名稱OU = ContainerName ,DC = 網域 ,DC = com],其中_ContainerName_是在 AD DS 中之 OU 的名稱、 第二層網域的_網域_是與_com_是最上層網域。In the Active Directory container where new distribution groups and contacts will be created box, type the name of the container in the format OU= ContainerName , DC= domain , DC= com, where ContainerName is the name of the OU in AD DS, domain is the second-level domain, and com is the top-level domain.

      管理中心的應用程式集區身分識別帳戶必須是委派建立、 刪除及管理使用者帳戶工作的容器。Access 內容中設定 AD DS 中的 ou。The application pool identity account for Central Administration must be delegated the Create, delete, and manage user accounts task for the container. Access is configured in the properties for the OU in AD DS.

    • 在 [內送郵件的 SMTP 郵件伺服器] 方塊中輸入 SMTP 郵件伺服器的名稱。伺服器名稱必須符合的郵件伺服器在 DNS 管理員中的 A 資源記錄項目中的 FQDN。In the SMTP mail server for incoming mail box, type the name of the SMTP mail server. The server name must match the FQDN in the A resource record entry for the mail server in DNS Manager.

    • 若要只接受來自郵件已驗證的使用者,按一下[是]接受來自的郵件已驗證的使用者。否則請按一下 [否]To accept messages only from authenticated users, click Yes for Accept messages from authenticated users only. Otherwise, click No.

    • 若要讓使用者能夠從 SharePoint 網站建立通訊群組,按一下 [是] 允許建立通訊群組從 SharePoint 網站。否則請按一下 [否]To enable users to create distribution groups from SharePoint sites, click Yes for Allow creation of distribution groups from SharePoint sites. Otherwise, click No.

    • 通訊群組要求核准設定] 下選取 [將要求核准的動作。動作如下:Under Distribution group request approval settings, select the actions that will require approval. Actions include the following:

    • 建立新通訊群組Create new distribution group

    • 變更通訊群組電子郵件地址Change distribution group e-mail address

    • 變更通訊群組標題與描述Change distribution group title and description

    • 刪除通訊群組Delete distribution group

  6. 如果您想要使用遠端目錄管理服務,請選取 [使用遠端並完成此步驟的其餘部分。否則請按一下 [否]並繼續進行步驟 8。If you want to use a remote Directory Management Service, select Use remote and complete the remainder of this step. Otherwise, click No and proceed to step 8.

    如果您選取這個選項及使用 Exchange 伺服器,您必須設定 DNS 管理員及新增 SMTP 連接器。如需詳細資訊,請參閱本文後述的設定 DNS 管理員中新增 SMTP 連接器在 Microsoft Exchange Server 2016、 且新增 SMTP 連接器在 Microsoft Exchange Server 2010 。AD DS 有很有可能尚未設定,所以您不需要執行這項作業。If you select this option and you are using Exchange Server, you must configure the DNS Manager and add an SMTP connector. For more information, see Configure DNS Manager, Add an SMTP connector in Microsoft Exchange Server 2016, and Add an SMTP connector in Microsoft Exchange Server 2010 later in this article. The AD DS has most likely already been configured, so you do not need to do this.

    • 在 [目錄管理服務 URL ] 方塊中輸入您想要使用目錄管理服務的 URL。此 URL 通常是以下列格式: http://伺服器: adminport/vti_bin/SharePointEmailWS.asmx。In the Directory Management Service URL box, type the URL of the Directory Management Service that you want to use. The URL is typically in the following format: http:// _server:adminport/_vti_bin/SharePointEmailWS.asmx.

    • 在 [內送郵件的 SMTP 郵件伺服器] 方塊中輸入 SMTP 郵件伺服器的名稱。伺服器名稱必須符合之網域伺服器的郵件伺服器在 DNS 管理員中的 A 資源記錄項目中的 FQDN。In the SMTP mail server for incoming mail box, type the name of the SMTP mail server. The server name must match the FQDN in the A resource record entry for the mail server in DNS Manager on the domain server.

    • 若要接受來自經過驗證的使用者的郵件,按一下 [是] 接受郵件的來源經過驗證的使用者。否則請按一下 [否]To accept messages from authenticated users only, click Yes for Accept messages from authenticated users only. Otherwise, click No.

    • 若要允許從 SharePoint 網站的通訊群組的建立,按一下[是] 允許建立通訊群組從 SharePoint 網站。否則請按一下 [否]To allow creation of distribution groups from SharePoint sites, click Yes for Allow creation of distribution groups from SharePoint sites. Otherwise, click No.

  7. 在 [內送電子郵件伺服器顯示位址] 區段的 [電子郵件伺服器顯示地址] 方塊中輸入顯示名稱的電子郵件伺服器 (例如 mail.fabrikam.com)。一般會使用此選項與目錄管理服務。In the Incoming E-Mail Server Display Address section, in the E-mail server display address box, type a display name for the email server (for example, mail.fabrikam.com). You typically use this option together with the Directory Management Service.

    提示

    您可以指定在使用者為清單或群組建立內送電子郵件地址時所顯示的電子郵件伺服器位址。與目錄管理服務搭配使用時,請提供容易記住的電子郵件伺服器位址。You can specify the email server address that is displayed when users create an incoming email address for a list or group. Use this setting together with Directory Management Service to provide an email server address that is easy to remember.

  8. 在 [電子郵件放置資料夾] 區段的 [電子郵件放置資料夾] 方塊中輸入 [Windows SharePoint Services 計時器服務從中擷取來自 SMTP 服務的內送電子郵件] 資料夾的名稱。只有當您選取 [進階設定模式使用此選項。如果您選取這個選項,請確定您設定電子郵件放置資料夾的必要權限。如需詳細資訊,請參閱本文後述的設定權限的電子郵件放置資料夾In the E-Mail Drop Folder section, in the E-mail drop folder box, type the name of the folder from which the Windows SharePoint Services Timer service retrieves incoming email from the SMTP service. This option is available only if you selected Advanced settings mode. If you select this option, ensure that you configure the necessary permissions to the email drop folder. For more information, see Configure permissions to the email drop folder later in this article.

    很有用若預設電子郵件放置資料夾已滿或幾乎滿溢已具有專用的電子郵件放置資料夾。放置資料夾的預設位置是 C:\inetpub\mailroot\drop。如果您想要讓但此放置資料夾時必須在所有的 SharePoint 伺服器上相同,您可以設定不同的位置。It is useful to have a dedicated email drop folder if the default email drop folder is full or almost full. The default location of the drop folder is C:\inetpub\mailroot\drop. You can configure a different location if you want but this drop folder must be the same on all SharePoint Servers.

    確定 SharePoint 計時器服務的登入帳戶具有電子郵件放置資料夾的修改 」 權限。Ensure that the logon account for the SharePoint Timer service has Modify permissions on the email drop folder.

  9. 在 [安全的電子郵件伺服器] 區段中選取您要接受來自所有電子郵件伺服器或特定電子郵件伺服器的電子郵件。In the Safe E-Mail Servers section, select whether you want to accept email from all email servers or from specific email servers.

    只有當您選取 [自動設定模式使用此選項。This option is available only if you selected Automatic settings mode.

  10. 按一下 [ OK ]。Click OK.

設定內送電子郵件之後,網站管理員可以設定電子郵件啟用清單及文件庫。After you configure incoming email, site administrators can configure email-enabled lists and document libraries.

如果您選取 [目錄管理服務,所建立的文件庫的連絡人地址自動出現在 [Active Directory 使用者及電腦。地址會顯示在 AD DS 的 OU 中的 SharePoint Server 與必須由 AD DS 的系統管理員管理。AD DS 管理員可以新增更多的電子郵件地址每位連絡人。如需 AD DS 的詳細資訊,請參閱AD DS 快速入門If you selected Directory Management Service, contact addresses that are created for document libraries appear automatically in Active Directory Users and Computers. The addresses are displayed in the OU of AD DS for SharePoint Server and must be managed by the administrator of AD DS. The AD DS administrator can add more email addresses for each contact. For more information about AD DS, see AD DS Getting Started.

或者,您可以設定 Exchange Server 電腦加入新的 Exchange Server 通用收件者原則。原則會自動新增使用的第二層網域名稱而不是子網域或主機名稱為 SharePoint Server 的外部地址。Alternatively, you can configure the computer running Exchange Server by adding a new Exchange Server Global recipient policy. The policy automatically adds external addresses that use the second-level domain name and not the subdomain or host name for SharePoint Server.

準備進階案例中內送電子郵件的適用環境Prepare your environment for incoming email in an advanced scenario

在進階案例中設定內送電子郵件之前,您需要根據內送電子郵件環境的運作方式而執行額外的程序。Before you configure incoming email in an advanced scenario, you need to perform additional procedures depending on how you want your incoming email environment to work.

如果您想要使用目錄管理服務,您必須先設定 AD DS 與如果您使用 Exchange Server,您也必須設定 DNS 管理員及新增 SMTP 連接器。If you want to use Directory Management Service, you must first configure AD DS, and if you use Exchange Server, you must also configure the DNS Manager and add an SMTP connector.

如果想要使用特定電子郵件放置資料夾,請務必為電子郵件放置資料夾設定必要權限。If you want to use a specific email drop folder, ensure that you configure the necessary permissions to the email drop folder.

本節內容:In this section:

設定 AD DS 與目錄管理服務搭配使用Configure AD DS to be used with Directory Management Service

如果您打算使用目錄管理服務,您應該先建立組織單位 (OU) 並在 AD DS 中進行必要的設定。If you plan to use Directory Management Service, you should first create an organizational unit (OU) and make the necessary configurations in AD DS.

若要在 SharePoint 伺服器陣列上使用目錄管理服務,您必須設定可建立、 刪除及管理使用者帳戶使用者容器的從右至 SharePoint 管理中心網站的應用程式集區身分識別帳戶您在 AD DS 中指定。若要執行這項作業的慣用的方法是將指派 SharePoint 管理中心網站的應用程式集區身分識別帳戶的權限。AD DS 管理員必須設定 OU 和指派建立、 刪除及管理使用者帳戶從右至容器。遠端伺服器陣列上使用目錄管理服務的優點是您沒有指派給多個伺服器陣列服務帳戶的 OU 的權限。To use Directory Management Service on a SharePoint farm, you must configure the application pool identity account for the SharePoint Central Administration website to have the Create, delete, and manage user accounts user right to the container that you specify in AD DS. The preferred way to do this is to assign the right to the application pool identity account for the SharePoint Central Administration website. An AD DS administrator must set up the OU and assign the Create, delete, and manage user accounts right to the container. The advantage of using Directory Management Service on a remote server farm is that you do not have to assign rights to the OU for multiple farm service accounts.

在執行 Windows Server 2008 和 Windows Server 2012 R2 DNS 管理員中具有網域控制站上執行下列程序。在某些部署中,這些應用程式可能會在相同網域中的多部伺服器上執行。The following procedures are performed on a domain controller that runs Windows Server 2008 and Windows Server 2012 R2 with DNS Manager. In some deployments, these applications might run on multiple servers in the same domain.

若要在 AD DS 中建立 OUTo create an OU in AD DS

  1. 確認執行此程序的使用者帳戶是網域系統管理員群組或網域控制站執行 DNS 管理員中的網域管理的委派的授權的成員。Make sure 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.

  2. 開啟 [伺服器管理員]、 [工具],然後選取Active Directory 使用者及電腦Open Server Manager, click Tools, and then select Active Directory Users and Computers.

  3. Active Directory 使用者及電腦] 中以滑鼠右鍵按一下內含伺服器陣列的第二層網域的資料夾,並指向 [新增],然後按一下 [組織單位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.

  4. 輸入 OU 的名稱,然後按一下 [確定]Type the name of the OU, and then click OK.

    建立 OU 之後,您必須委派建立、 刪除及管理使用者帳戶從右至管理使用者帳戶之 OU 的容器。After you create the OU, you must delegate the Create, delete, and manage user accounts right to the container of the OU to manage the user accounts.

將權限委派給管理中心的應用程式集區身分識別帳戶To delegate the right to the application pool identity account for Central Administration

  1. 確認執行此程序的使用者帳戶是網域系統管理員群組或 Enterprise 管理員群組的 AD DS 或用於網域管理的委派的授權的成員。Make sure 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.

  2. Active Directory 使用者及電腦] 中以滑鼠右鍵按一下您建立的 OU 和 [委派控制]In Active Directory Users and Computers, right-click the OU that you created, and then click Delegate control.

  3. 按一下 [委派控制精靈] 的 [歡迎] 頁面上的 [下一步]。On the Welcome page of the Delegation of Control Wizard, click Next.

  4. 在 [使用者與群組] 頁面上,按一下 [新增],然後輸入管理中心使用的應用程式集區身分識別帳戶的名稱。On the Users and Groups page, click Add, and then type the name of the application pool identity account that the Central Administration uses.

  5. 在 [選取使用者、 電腦和群組] 對話方塊中,按一下 [確定]In the Select Users, Computers, and Groups dialog box, click OK.

  6. 在 [使用者或群組的 [委派控制精靈] 頁面上按一下 [下一步]。On the Users or Groups page of the Delegation of Control Wizard, click Next.

  7. 在工作] 頁面的 [委派控制精靈],選取 [建立、 刪除及管理使用者帳戶] 核取方塊,然後再按 [下一步On the Tasks to Delegate page of the Delegation of Control Wizard, select the Create, delete, and manage user accounts check box, and then click Next.

  8. 在 [委派控制精靈] 的最後一頁,按一下 [完成] 結束精靈。On the last page of the Delegation of Control Wizard, click Finish to exit the wizard.

若要建立及刪除子物件,您也必須管理中心委派建立所有子物件刪除所有子物件的應用程式集區身分識別帳戶的 OU 的控制權。完成此程序之後,管理中心的應用程式集區身分識別帳戶建立所有子物件刪除所有子物件控制項 OU,而且您可以啟用內送電子郵件。To create and delete child objects, you must also delegate Create all Child Objects and Delete all Child Objects control of the OU to the application pool identity account for Central Administration. After you complete this procedure, the application pool identity account for Central Administration has Create all Child Objects and Delete all Child Objects control on the OU, and you can enable incoming email.

將 OU 的「建立所有子物件」與「刪除所有子物件」控制權委派給管理中心的應用程式集區身分識別帳戶To delegate Create all Child Objects and Delete all Child Objects control of the OU to the application pool identity account for Central Administration

  1. 確認執行此程序的使用者帳戶是網域系統管理員群組或 Enterprise 管理員群組的 AD DS 或用於網域管理的委派的授權的成員。Make sure 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.

  2. 以滑鼠右鍵按一下 OU,並再按一下 [委派控制]Right-click the OU, and then click Delegate control.

  3. 在 [委派控制精靈] 中,按一下 [下一步]。In the Delegation of Control Wizard, click Next.

  4. 按一下 [新增],然後輸入管理中心的 [應用程式集區身分識別帳戶的名稱、 按一下 [確定],然後按 [下一步Click Add, and then type the name of the application pool identity account for Central Administration, click OK, and then click Next.

  5. 在工作] 頁面的 [委派控制精靈],選取 [建立自訂工作來委派],然後再按 [下一步On the Tasks to Delegate page of the Delegation of Control Wizard, select Create a custom task to delegate, and then click Next.

  6. 按一下這個資料夾、 在此資料夾,並建立的資料夾內的新物件的現有物件,然後再按 [下一步Click This folder, existing objects in this folder, and creation of new objects in this folder, and then click Next.

  7. [權限] 區段中選取 [建立所有子物件刪除所有子物件] 和 [下一步In the Permissions section, select Create all Child Objects and Delete all Child Objects, and then click Next.

  8. 在 [委派控制精靈] 的最後一頁,按一下 [完成] 結束精靈。On the last page of the Delegation of Control Wizard, click Finish to exit the wizard.

建立所有子物件刪除所有子物件的委派控制應用程式集區身分識別帳戶的 OU 管理中心可讓系統管理員可以啟用電子郵件的清單。已指派這些控制項之後,系統管理員無法停用的清單或文件庫的電子郵件因為管理中心帳戶嘗試刪除而不是從清單中的整個 OU 中的連絡人。若要避免此問題,您必須新增應用程式集區身分識別帳戶的管理中心內的刪除樹狀子目錄權限。使用下列程序可新增這些權限。完成此程序之後,您可以停用內送電子郵件的清單。Delegating Create all Child Objects and Delete all Child Objects control of the OU to the application pool identity account for Central Administration enables administrators to enable email for a list. After these controls have been delegated, administrators cannot disable email for the list or document library because the Central Administration account tries to delete the contact from the whole OU instead of from the list. To avoid this problem, you must add Delete Subtree permissions for the application pool identity account for Central Administration. Use the following procedure to add these permissions. After this procedure is complete, you can disable incoming email for a list.

新增管理中心之應用程式集區身分識別帳戶的刪除樹狀子目錄權限To add Delete Subtree permissions for the application pool identity account for Central Administration

  1. 確認執行此程序的使用者帳戶是網域系統管理員群組或 Enterprise 管理員群組的 AD DS 或用於網域管理的委派的授權的成員。Make sure 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.

  2. Active Directory 使用者及電腦] 中按一下 [檢視] 功能表及 [進階功能In Active Directory Users and Computers, click the View menu, and then click Advanced Features.

  3. 以滑鼠右鍵按一下 OU,並再按一下 [內容Right-click the OU, and then click Properties.

  4. 在 [屬性] 對話方塊中,按一下 [安全性] 索引標籤和 [進階In the Properties dialog box, click the Security tab, and then click Advanced.

  5. 在 [權限項目] 區域中,按兩下管理中心應用程式集區身分識別帳戶。In the Permission Entries area, double-click the application pool identity account for Central Administration.

    如果應用程式集區身分識別帳戶列出一次以上,請選取第一個。If the application pool identity account is listed more than once, select the first one.

  6. 在 [權限] 區域中,選取 [允許] 的刪除樹狀子目錄In the Permissions area, select Allow, for Delete Subtree.

  7. 按三次[確定]關閉權限內容對話方塊中,與 Active Directory 使用者及電腦。Click OK three times to close the Permissions, Properties dialog boxes, and Active Directory Users and Computers.

新增這些權限之後,您必須重新啟動 IIS 伺服器陣列。After you add these permissions, you must restart IIS for the farm.

設定 DNS 管理員Configure DNS Manager

如果您使用 Exchange Server 和已在組織中適用於內部路由電子郵件,您必須建立主機 (A) 資源記錄在 DNS 管理員中建立關聯之電腦 (或主機) DNS 網域名稱與其 IP 位址。您的組織可能已設定 DNS 管理員中與 A 資源記錄。如果不是,然後使用下列程序。If you are using Exchange Server and are routing email internally in your organization, you must create a host (A) resource record in DNS Manager to associate DNS domain names of computers (or hosts) to their IP addresses. Your organization might already have a configured DNS Manager and an A resource record. If not, then use the following procedure.

若要建立子網域的 A 資源記錄To create an A resource record for a subdomain

  1. 請確認執行此程序的使用者帳戶是本機電腦上的管理員群組的成員。Make sure the user account that is performing this procedure is a member of the Administrators group on the local computer.

  2. 在 DNS 管理員中,選取 [SharePoint server 包含子網域的正向對應區域。In DNS Manager, select the forward lookup zone for the domain that contains the subdomain for SharePoint Server.

  3. 以滑鼠右鍵按一下該區域,並再按一下 [新增主機 (A 或 AAAA)Right-click the zone, and then click New Host (A or AAAA).

  4. 在 [新增主機] 對話方塊的 [名稱] 文字方塊中輸入 SharePoint Server 的主機或子網域名稱。In the New Host dialog box, in the Name text box, type the host or subdomain name for SharePoint Server.

  5. 完整網域名稱 (FQDN) ] 文字方塊中,輸入執行 SharePoint Server 伺服器的 FQDN。這通常是在格式_subdomain.domain.com_。In the Fully qualified domain name (FQDN) text box, type the FQDN for the server that is running SharePoint Server. This is typically in the format subdomain.domain.com.

  6. 請確定會列在 IIS 中的 SMTP 伺服器底下的網域符合接收電子郵件伺服器的 FQDN。如果不相符,則必須建立本機網域。指示,請參閱建立本機網域本文稍後的。Ensure that the domains that are listed under the SMTP server in IIS match the FQDN of the server that receives email. If they do not match, you must create a local domain. For instructions, see To create a local domain later in this article.

  7. 在 [ IP 位址] 文字方塊中輸入您要 FQDN 解析的 IP 位址。In the IP address text box, type the IP address to which you want the FQDN to resolve.

  8. 按一下 [新增主機]Click Add Host.

  9. 在確認建立主機記錄的訊息中,按一下 [確定] 和 [新增主機] 對話方塊中,按一下 [完成]。In the message that confirms the creation of the host record, click OK, and in the New Host dialog box, click Done.

    A 資源記錄現在會顯示在 [DNS 管理員] 中。The A resource record now appears in DNS Manager.

如果您使用電子郵件伺服器顯示位址] 選項 andif 電子郵件地址會傳送電子郵件訊息這不是您的伺服器名稱相同,則必須建立本機網域。If you use the E-mail server display address option andif the email address to which you are sending email messages is not the same as your server name, you must create a local domain.

若要建立本機網域To create a local domain

  1. 開啟 [伺服器管理員]、 [工具],然後選取網際網路資訊服務 (IIS) 6.0 ManagerOpen Server Manager, click Tools, and then select Internet Information Services (IIS) 6.0 Manager.

  2. 在 IIS 管理員中,展開 SMTP 伺服器以滑鼠右鍵按一下 [網域],和 [動作] 功能表上指向 [新增],然後按一下 [網域In IIS Manager, expand the SMTP server right-click Domains, and on the Action menu, point to New, and then click Domain.

  3. 新增 SMTP 網域精靈] 對話方塊中,選取 [別名] 和 [下一步In the New SMTP Domain Wizard dialog box, select Alias, and then click Next.

  4. 在 [網域名稱] 區域中,在 [名稱] 方塊中輸入此網域將接收之郵件的地址。In the Domain Name area, in the Name box, type the address of the mail that is to be received by this domain.

    這個位址必須與您在步驟 4 中建立子網域的 A 資源記錄、 及設定進階案例中的內送電子郵件中的步驟 6b 中指定的值相同。This address must be the same as the one that you specified in step 4 in To create an A resource record for a subdomain, and in step 6b in To configure incoming email in an advanced scenario.

  5. 按一下 [完成]。Click Finish.

  6. 確認主機記錄的建立的訊息,按一下 [確定]In the message that confirms the creation of the host record, click OK.

  7. 重新啟動 SMTP 伺服器,讓還在 Queue 資料夾中的所有電子郵件,都移至 Drop 資料夾。Windows SharePoint Services 計時器服務會接著將郵件傳送至其目的地清單或文件庫。Restart the SMTP server so that all email messages that are still in the Queue folder move to the Drop folder. The messages are then sent by the Windows SharePoint Services Timer service to their destination list or library.

注意

如果您要傳送的電子郵件的 SMTP 伺服器您組織外部,您必須使用 MX 記錄。如需詳細資訊,請參閱新增郵件交換程式 (MX) 資源記錄加入區域If you are routing email from outside your organization to an SMTP server, you must use an MX record. For more information, see Add a mail exchanger (MX) resource record to a zone.

在 Microsoft Exchange Server 2016 中新增 SMTP 連接器Add an SMTP connector in Microsoft Exchange Server 2016

SMTP 連接器可讓您在組織中的郵件流程的多個 controlover。若要使用的 SMTP 連接器的其他原因是若要設定傳遞限制或指定特定的位址空間。如果您使用 Exchange Server 路由傳送至 SharePoint 清單和文件庫的內送電子郵件時,您必須具備 SMTP 連接器以便傳送至 SharePoint 網域的所有郵件都使用執行 SMTP 服務的伺服器。An SMTP connector gives you more controlover the message flow in your organization. Other reasons to use an SMTP connector are to set delivery restrictions or to specify a specific address space. If you use Exchange Server to route incoming email to SharePoint lists and libraries, you must have an SMTP connector so that all mail that is sent to the SharePoint domain uses the servers that are running the SMTP service.

使用下列程序在 Exchange Server 中新增 SMTP 連接器。完成此程序之後,可確保 SMTP 連接器的內送電子郵件傳送至正確的清單與伺服器陣列中的文件庫。Use the following procedure to add an SMTP connector in Exchange Server. After you complete the procedure, the SMTP connector ensures that incoming email messages are sent to the correct list and library in the farm.

若要在 Exchange Server 中新增 SMTP 連接器To add an SMTP connector in Exchange Server

  1. 確認執行此程序的使用者帳戶執行 Exchange Server 的伺服器上的管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Administrators group on the server that is running Exchange Server.

  2. 在 Exchange 系統管理中心中,按一下 [郵件流程、 反白顯示 [傳送連接器] 和 [ + (新增) 若要開啟 [新增傳送連接器] 精靈] 圖示。In Exchange Admin Center, click mail flow, highlight send connectors, and then click the + (Add) icon to open the new send connector wizard.

  3. 在 [簡介] 頁面上執行下列動作並再按 [下一步On the Introduction page, do the following and then click Next:

  4. 在 [名稱] 方塊中輸入 SMTP 連接器的名稱。In the Name box, type a name for the SMTP connector.

  5. 在 [選取這個傳送連接器的預定的用法] 方塊中選取 [自訂] 用法類型連接器。In the Select the intended use for this Send connector box, select the Custom usage type for the connector.

  6. 在 [網路設定] 頁面上選取 [ MX 記錄相關聯收件者的網域,並再按 [下一步On the Network settings page, select MX record associated with recipient domain, and then click Next.

  7. 在 [位址空間] 頁面上,按一下 [ + (Add) 圖示,並在 [位址空間] 網頁] 對話方塊中,執行下列動作:On the Address Space page, click the + (Add) icon, and in the Address Space webpage dialog, do the following:

    • 在 [完整的完整網域名稱 (FQDN) ] 方塊中輸入連接器的電子郵件網域。這是執行 SMTP 服務的 SharePoint 伺服器的 FQDN。In the Full Qualified Domain Name (FQDN) box, type an email domain for the connector. This is the FQDN for the SharePoint Server that runs the SMTP service.

    • 在 [成本] 方塊中,指派適當的成本。根據預設,成本為 1。In the Cost box, assign an appropriate cost. By default, the cost is 1.

  8. 按一下 [回到 [位址空間] 頁面的 [儲存並再按 [下一步Click Save to return to the Address Space page, and then click Next.

  9. 在 [來源伺服器] 頁面上,按一下 [ + (Add) 圖示,並會出現 [伺服器] 頁面上,選取 [按一下 [新增] 並再按一下 [確定]、 最後上新傳送連接器] 精靈、 按一下 [完成]On the Source Server page, click the + (Add) icon, and the Select a Server page appears, click add, and then click OK, finally on the new send connector wizard, click Finish.

    來源伺服器] 頁面上需要包含 transport role 的伺服器。The Source server page requires a server that contains transport roles.

如需詳細資訊,請參閱解更多關於傳送連接器類型的 Exchange Server 技術文件庫。For more information, see Learn more about Send connector types in the Exchange Server Technical Library.

在 Microsoft Exchange Server 2010 中新增 SMTP 連接器Add an SMTP connector in Microsoft Exchange Server 2010

SMTP 連接器可讓您更多控制權的郵件流程您組織中。若要使用的 SMTP 連接器的其他原因是若要設定傳遞限制或指定特定的位址空間。如果您使用 Exchange Server 路由傳送至 SharePoint 清單和文件庫的內送電子郵件時,您必須具備 SMTP 連接器以便傳送至 SharePoint 網域的所有郵件都使用執行 SMTP 服務的伺服器。An SMTP connector gives you more control over the message flow in your organization. Other reasons to use an SMTP connector are to set delivery restrictions or to specify a specific address space. If you use Exchange Server to route incoming email to SharePoint lists and libraries, you must have an SMTP connector so that all mail that is sent to the SharePoint domain uses the servers that are running the SMTP service.

使用下列程序在 Exchange Server 中新增 SMTP 連接器。完成此程序之後,可確保 SMTP 連接器的內送電子郵件傳送至正確的清單與伺服器陣列中的文件庫。Use the following procedure to add an SMTP connector in Exchange Server. After you complete the procedure, the SMTP connector ensures that incoming email messages are sent to the correct list and library in the farm.

若要在 Exchange Server 中新增 SMTP 連接器To add an SMTP connector in Exchange Server

  1. 確認執行此程序的使用者帳戶執行 Exchange Server 的伺服器上的管理員群組的成員。Verify that the user account that is performing this procedure is a member of the Administrators group on the server that is running Exchange Server.

  2. 在 Exchange 管理主控台中,依序展開 [組織組態] 群組、集線傳輸上按一下滑鼠右鍵、 指向 [新增傳送連接器In Exchange Management Console, expand the Organization Configuration group, right-click Hub Transport, point to New Send Connector.

    [新增傳送連接器] 精靈隨即顯示。The New Send Connector wizard appears.

  3. 在 [簡介] 頁面上執行下列動作並再按 [下一步On the Introduction page, do the following and then click Next:

    • 在 [名稱] 方塊中輸入 SMTP 連接器的名稱。In the Name box, type a name for the SMTP connector.

    • 在 [選取這個傳送連接器的預定的用法] 方塊中選取 [自訂] 用法類型連接器。In the Select the intended use for this Send connector box, select the Custom usage type for the connector.

  4. 在 [位址空間] 頁面上,按一下 [新增] 及 [ SMTP 位址空間On the Address Space page, click Add, and then click SMTP Address Space.

  5. 在 [ SMTP 位址空間] 對話方塊中,執行下列動作:In the SMTP Address Space dialog box, do the following:

    • 在 [位址] 方塊中輸入連接器的電子郵件網域。In the Address box, type an email domain for the connector.

    • 在 [成本] 方塊中,指派適當的成本。根據預設,成本為 1。In the Cost box, assign an appropriate cost. By default, the cost is 1.

  6. 按一下[確定]回到 [位址空間] 頁面的 [] 和 [下一步Click OK to return to the Address Space page, and then click Next.

  7. 在 [網路設定] 頁面上選取 [使用網域名稱系統 (DNS)"MX"記錄以自動路由傳送郵件,並再按 [下一步On the Network settings page, select Use domain name system (DNS) "MX" records to route mail automatically, and then click Next.

  8. 在 [來源伺服器] 頁面上按一下 [下一步]。On the Source Server page, click Next.

    [來源伺服器] 頁面只會在 [集線傳輸] 伺服器上出現。在預設情況下,目前使用的集線傳輸伺服器會列示為來源伺服器。The Source server page only appears on Hub Transport servers. By default, the Hub Transport server that you are currently working on is listed as a source server.

  9. 在新的連接器] 頁面上檢閱您的選項] 和 [新增] 建立新的傳送連接器。On the New Connector page, review your options and then click New to create the new send connector.

  10. 在 [完成] 頁面上確定傳送連接器已建立,然後按一下 [完成]On the Completion page, ensure that the send connector was created, and then click Finish.

    您在 [集線傳輸] 窗格中可以看到傳送連接器已經被自動啟用了。In the Hub Transport pane, you can see that the send connector has been enabled automatically.

如需詳細資訊,請參閱 <建立 SMTP 傳送連接器For more information, see Create an SMTP Send Connector.

設定電子郵件放置資料夾的權限Configure permissions to the email drop folder

您可以指定特定的電子郵件放置資料夾時,可讓 SharePoint Server 以擷取從網路共用另一部伺服器上的內送電子郵件。如果您不想要使用的 SMTP 服務,您可以使用此選項。不過,使用此選項的缺點是 SharePoint 伺服器無法偵測已傳遞電子郵件放置資料夾之遠端電子郵件伺服器上的組態變更。結果是 SharePoint 伺服器無法擷取電子郵件的電子郵件的位置已變更。不過,此功能很有用若預設電子郵件放置資料夾已滿或幾乎已滿。You can specify a particular email drop folder, which enables SharePoint Server to retrieve incoming email from a network share on another server. You can use this option if you do not want to use an SMTP service. However, the drawback of using this option is that SharePoint Server cannot detect configuration changes on the remote email server that is delivering email to the drop folder. The result is that SharePoint Server cannot retrieve email if the location of the email messages has changed. However, this feature is useful if the default email drop folder is full or almost full.

如有指定電子郵件放置資料夾,必須確定管理中心及 Web 應用程式的應用程式集區身分識別帳戶,皆具備電子郵件放置資料夾的必要權限。If you specified an email drop folder, you must ensure that the application pool identity accounts for Central Administration and for the web application have the required permissions to the email drop folder.

設定 Web 應用程式之應用程式集區身分識別帳戶的電子郵件放置資料夾權限Configure email drop folder permissions for the application pool identity account for a web application

在您的部署中,管理中心及一或多個 Web 應用程式若是使用不同的應用程式集區身分識別帳戶,則每個應用程式集區身分識別帳戶皆必須具備電子郵件放置資料夾的權限。若 Web 應用程式的應用程式集區身分識別帳戶不具必要權限,即不會將電子郵件傳遞至該 Web 應用程式的文件庫。If your deployment uses different application pool identity accounts for Central Administration and for one or more web applications, each application pool identity account must have permissions to the email drop folder. If the application pool identity account for the web application does not have the required permissions, email will not be delivered to document libraries on that web application.

在大多數情況下,當您設定內送電子郵件並選取電子郵件放置資料夾時,即會為下列工作者處理序群組新增權限:In most cases, when you configure incoming email and select an email drop folder, permissions are added for the following worker process groups:

  • WSS_Admin_WPG (包含管理中心的應用程式集區身分識別帳戶及 SharePoint 計時器服務的登入帳戶) 擁有「完全控制」權限。WSS_Admin_WPG, which includes the application pool identity account for Central Administration and the logon account for the SharePoint Timer service, and has Full Control permissions.

  • WSS_WPG,其中包含應用程式集區帳戶的 web 應用程式與擁有 「 讀取&執行 」、 「 列出資料夾內容 」 及 「 讀取 」 權限。WSS_WPG, which includes the application pool accounts for web applications, and has Read & Execute, List Folder Contents, and Read permissions.

在某些情況下,可能不會自動為電子郵件放置資料夾設定這些群組。例如,若管理中心是以網路服務帳戶執行,則建立電子郵件放置資料夾時,並不會新增內送電子郵件所需的群組或帳戶。請檢查這些群組是否已自動新增至電子郵件放置資料夾。若未自動新增,可以新增這些群組,或新增所需的特定帳戶。In some cases, these groups might not be configured automatically for the email drop folder. For example, if Central Administration is running as the Network Service account, the groups or accounts that are needed for incoming email will not be added when the email drop folder is created. Check to determine whether these groups have been added automatically to the email drop folder. If the groups have not been added automatically, you can add them or add the specific accounts that are required.

若要設定 web 應用程式的應用程式集區身分識別帳戶的電子郵件放置資料夾權限To configure email drop folder permissions for the application pool identity account for a web application

  1. 確認執行此程序的使用者帳戶是執行包含電子郵件放置資料夾之伺服器的 Administratros 群組成員。Verify that the user account that is performing this procedure is a member of the Administrators group on the server that contains the email drop folder.

  2. 在檔案總管] 中放置資料夾上按一下滑鼠右鍵、 按一下 [內容] 和 [[安全性] 索引標籤。In File Explorer, right-click the drop folder, click Properties, and then click the Security tab.

  3. 在 [安全性] 索引標籤上 [群組或使用者名稱] 方塊中,按一下 [編輯On the Security tab, under the Group or user names box, click Edit.

  4. 放置的權限] 對話方塊中,按一下 [新增]。In the Permissions for Drop dialog box, click Add.

  5. 在 [選取使用者、 電腦、 服務帳戶或群組] 對話方塊] 方塊中,在[輸入物件名稱來選取] 方塊中輸入工作者處理序群組的名稱或應用程式集區身分識別帳戶的 web 應用程式及 [確定].In the Select Users, Computers, Service Accounts, or Groups dialog box, in the Enter the object names to select box, type the name of the worker process group or application pool identity account for the web application, and then click OK.

    這個帳戶會列在 IIS 中的應用程式集區的 [屬性] 對話方塊的 [身分識別] 索引標籤。This account is listed on the Identity tab of the Properties dialog box for the application pool in IIS.

  6. 選取權限的使用者或群組] 方塊中,按一下 [修改] 旁的 [允許]。In the Permissions for User or Group box, next to Modify, select Allow.

  7. 按一下 [ OK ]。Click OK.

設定 SharePoint 計時器服務之登入帳戶的電子郵件放置資料夾權限Configure email drop folder permissions for the logon account for the SharePoint Timer service

確定 Windows SharePoint Services 計時器服務的登入帳戶具有電子郵件放置資料夾的修改 」 權限。如果服務的登入帳戶不具有修改 」 權限、 電子郵件啟用文件庫會接收重複的電子郵件訊息。Ensure that the logon account for the Windows SharePoint Services Timer service has Modify permissions on the email drop folder. If the logon account for the service does not have Modify permissions, email-enabled document libraries will receive duplicate email messages.

若要設定 SharePoint 計時器服務的登入帳戶的電子郵件放置資料夾權限To configure email drop folder permissions for the logon account for the SharePoint Timer service

  1. 確認執行此程序的使用者帳戶是執行包含電子郵件放置資料夾之伺服器的 Administratros 群組成員。Verify that the user account that is performing this procedure is a member of the Administrators group on the server that contains the email drop folder.

  2. 在檔案總管] 中放置資料夾上按一下滑鼠右鍵、 按一下 [內容] 和 [[安全性] 索引標籤。In File Explorer, right-click the drop folder, click Properties, and then click the Security tab.

  3. 在 [安全性] 索引標籤上 [群組或使用者名稱] 方塊中,按一下 [編輯On the Security tab, under the Group or user names box, click Edit.

  4. 放置的權限] 對話方塊中,按一下 [新增]。In the Permissions for Drop dialog box, click Add.

  5. 在 [選取使用者、 電腦、 服務帳戶或群組] 對話方塊中 [輸入物件名稱來選取] 方塊中輸入 SharePoint 計時器服務之登入帳戶的名稱,然後按一下 [確定]In the Select Users, Computers, Service Accounts, or Groups dialog box, in the Enter the object names to select box, type the name of the logon account for the SharePoint Timer service, and then click OK.

    此帳戶會列在 [服務嵌入式管理單元中服務的 [內容] 對話方塊的 [登入] 索引標籤上。This account is listed on the Log On tab of the Properties dialog box for the service in the Services snap-in.

  6. 選取權限的使用者或群組] 方塊中,按一下 [修改] 旁的 [允許]。In the Permissions for User or Group box, next to Modify, select Allow.

  7. 按一下 [ OK ]。Click OK.

傳送至 SharePoint 文件庫的電子郵件是否缺少附件?Are attachments missing from email messages that are sent to a SharePoint document library?

若傳送至 SharePoint 文件庫的電子郵件缺少附件,可能是因為文件庫關聯到某個電子郵件地址。當您執行這項操作時,目錄管理服務可能不會將下列兩個屬性新增到與電子郵件地址關聯的使用者:If attachments are missing from email messages that are sent to a SharePoint document library, it might be because you associated the document library with an email address. When you do this, Directory Management Service may not add the following two attributes to the user associated with the email address:

  • 網際網路編碼 = [1310720internet Encoding = 1310720

  • mAPIRecipient = falsemAPIRecipient = false

您必須使用 Active Directory 服務介面 (ADSI) 手動新增這兩個缺少的屬性。You must use Active Directory Service Interfaces (ADSI) to manually add these two missing attributes.

Adsi 編輯器安裝時您所安裝的 AD DS 角色設定為在網域控制站伺服器正在執行 Windows Server 2012 R2、 Windows Server 2016、 Windows Server 2008 或 Windows Server 2008 R2 的伺服器上。On servers that are running Windows Server 2012 R2, Windows Server 2016, Windows Server 2008, or Windows Server 2008 R2, ADSI Edit is installed when you configure a server as a domain controller by installing the AD DS role.

若要使用 ADSI 編輯新增屬性To add attributes by using ADSI Edit

  1. 按一下 [開始],然後按一下 [執行Click Start, and then click Run.

  2. 在 [執行] 對話方塊中,輸入Adsiedit.msc,並再按一下 [確定]In the Run dialog box, type Adsiedit.msc, and then click OK.

  3. 在 [Adsi 編輯器] 視窗中,依序展開 [ Adsi 編輯器、 [ Domain [DomainName]]、 展開DC = DomainName,DC = com,然後展開 [ CN = UsersIn the ADSI Edit window, expand ADSI Edit, expand Domain [DomainName], expand DC=DomainName, DC=com, and then expand CN=Users.

  4. 以滑鼠右鍵按一下您要新增缺少的屬性的使用者名稱,然後按一下 [內容Right-click the user name to which you want to add the missing attributes, and then click Properties.

  5. 在 [屬性] 對話方塊中,按兩下 [網際網路編碼[屬性編輯器] 索引標籤。In the Properties dialog box, double-click Internet Encoding on the Attribute Editor tab.

  6. 在 [整數屬性編輯器] 對話方塊中,在 [] 方塊中輸入[1310720並再按一下 [確定]In the Integer Attribute Editor dialog box, type 1310720 in the Value box, and then click OK.

  7. 在 [屬性] 對話方塊中,按兩下 [ mAPIRecipient [屬性編輯器] 索引標籤。In the Properties dialog box, double-click mAPIRecipient on the Attribute Editor tab.

  8. 布林值屬性編輯器] 對話方塊中,按一下 [為 False,然後按兩次[確定]In the Boolean Attribute Editor dialog box, click False, and then click OK two times.

另請參閱See also

概念Concepts

規劃 SharePoint 伺服器陣列的內送電子郵件Plan incoming email for a SharePoint Server farm