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

摘要:了解如何設定 SharePoint Server 2016 及 SharePoint 2013 的內送電子郵件。Summary: Learn how to configure incoming email for SharePoint Server 2016 and SharePoint 2013.

SharePoint Server 的內送電子郵件功能可讓 SharePoint 網站來接收並儲存電子郵件訊息與附件清單和文件庫中。本文可協助管理員瞭解需要部署內送電子郵件功能之前先進行的選擇。The incoming email feature of SharePoint Server enables SharePoint sites to receive and store email messages and attachments in lists and libraries. This article helps administrators understand the choices they need to make before deploying the incoming email feature.

關於內送電子郵件About incoming email

內送電子郵件功能可讓小組來儲存而開啟 SharePoint 網站及上傳內容傳送電子郵件將傳送給其他小組成員的電子郵件。這可能是因為大部分類型的清單和文件庫可以指派唯一的電子郵件地址。The incoming email feature enables teams to store the email that they send to other team members without opening the SharePoint site and uploading the content that was sent in email. This is possible because most types of lists and libraries can be assigned a unique email address.

重要事項:Important:

MinRole 現在管理 SharePoint Server 2016 中的內送電子郵件功能。內送電子郵件功能只可用於直下列 MinRole 角色:MinRole now manages the incoming email feature in SharePoint Server 2016. The incoming email feature can only be used on the following MinRole roles:

  • 應用程式Application

  • 具有搜尋角色的應用程式Application with Search

  • 前端Front-end

  • 搜尋-(您需要建立的 SMTP 智慧主機伺服器的伺服器陣列,然後將這些電子郵件內文的 SMTP 伺服器的轉送中)。Search - (You need to create an SMTP smarthost for the servers in the farm, which then relays those emails to your normal SMTP server.)

  • 自訂Custom

MinRole 現在管理 SharePoint Server 2016 中的內送電子郵件功能。內送電子郵件功能只可用於直下列 MinRole 角色:MinRole now manages the incoming email feature in SharePoint Server 2016. The incoming email feature can only be used on the following MinRole roles:

MinRole 不會管理自訂伺服器角色上的內送電子郵件服務。不過,SharePoint 伺服器陣列管理員可以開啟和關閉此服務會指派自訂伺服器角色的每部伺服器。如需詳細資訊請參閱Planning for SharePoint Server 2016 MinRole 伺服器部署。MinRole doesn't manage the incoming email service on the Custom server role. However, SharePoint farm administrators can turn this service on and off on each server that is assigned the Custom server role. For more information see Planning for a MinRole server deployment in SharePoint Server 2016.

設定內送電子郵件、 之前您必須執行下列工作:Before configuring incoming email, you must perform the following tasks:

  • 基本案例只適用於單一伺服器陣列。如果您使用基本案例,每個 SharePoint 應用程式或前端伺服器必須執行簡易郵件傳送通訊協定 (SMTP) 服務與 SharePoint Foundation web 應用程式服務。The basic scenario simply applies to a single server farm. If you're using the basic scenario, each SharePoint Application or Front-end server must be running the Simple Mail Transfer Protocol (SMTP) service and the SharePoint Foundation web application service.

  • 進階的案例主要套用至多個伺服器陣列。如果您使用進階的案例,您可以執行 SMTP 服務及具備有效的 SMTP 伺服器位址使用 [伺服器陣列上的一或多個伺服器。或者,您必須知道執行 SMTP 服務的伺服器陣列外之伺服器的名稱和電子郵件放置資料夾的位置。The advanced scenario mainly applies to a multiple server farm. If you're using 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 服務的詳細資訊,請參閱 < Configure SharePoint Server 伺服器陣列的內送電子郵件For more information about installing the SMTP service, see Configure incoming email for a SharePoint Server farm.

規劃內送電子郵件的主要決策Key decisions for planning incoming email

規劃內送電子郵件、 時您必須決定要採用基本或進階的案例中,使用下列各節所述。When planning incoming email, you must decide whether to use a basic or an advanced scenario, as described in the following sections.

採用基本案例Using a basic scenario

您可以啟用內送電子郵件案例的伺服器上安裝 SMTP 服務執行 [SharePoint Server 並啟用內送電子郵件自動設定模式使用所有預設設定。在此案例中,電子郵件可以直接傳遞至您的 SMTP 伺服器與 SharePoint Server 定期檢查電子郵件會自動設定 SMTP 服務的預設電子郵件放置資料夾中。You can enable a basic incoming email scenario by installing the SMTP service on the server running SharePoint Server and enabling incoming email by using the automatic settings mode with all default settings. In this scenario, email is delivered directly to your SMTP server and SharePoint Server periodically checks for email in the default email drop folder that is automatically configured by the SMTP service.

選取自動] 設定模式,並接受所有預設設定是因為您所做的所有組態設定與因此一點的專業知識,則需要啟用內送電子郵件的最簡單方式。對於大多數的組織而言,此設定為 all 所需。Selecting the automatic settings mode and accepting all the default settings is the easiest way to enable incoming email because all configuration settings are made for you and, therefore, little expertise is required. For most organizations, this configuration is all that is needed.

您啟用內送電子郵件案例中的下列步驟:You enable a basic incoming email scenario in the following steps:

  1. 伺服器管理員可使用 [新增角色及功能精靈] 在您想要接收內送電子郵件伺服器上安裝 SMTP Server 功能。這會安裝並啟動該伺服器上的 SMTP 服務。The server administrator uses the Add Roles and Features Wizard to install the SMTP Server feature on the server you want to receive incoming email. This installs and starts the SMTP service on that server.

  2. 伺服器陣列管理員啟用內送電子郵件使用自動設定模式,並接受所有預設值。The farm administrator enables incoming email by using the automatic settings mode and accepting all the default values.

  3. 網站集合管理員啟用內送電子郵件功能之文件庫與清單他們想要儲存內送電子郵件和指派每個文件庫及清單表單地址_的唯一的電子郵件地址@ _SMTPserveraddress、例如,sharedfiles@SMTPserver.contoso.com。The site collection administrator enables the incoming email feature on the libraries and lists in which they want to store incoming email and assigns each library and list a unique email address in the form address@ SMTPserveraddress, for example, sharedfiles@SMTPserver.contoso.com.

當使用者傳送電子郵件地址清單或文件庫時、 SharePoint Server 偵測到新的電子郵件已經送達並將它傳送至適當的清單或文件庫的電子郵件地址為基礎。When users send email to the address of a list or library, SharePoint Server detects that new email has been delivered and sends it to the appropriate list or library based on the email address.

注意

您也可以在進階案例中使用 [自動設定] 選項並選取是否要使用 Microsoft SharePoint 目錄管理服務、 安全的電子郵件伺服器及的內送電子郵件伺服器顯示地址。這些選項會採用進階的案例本文稍後的討論。You can also use the automatic settings option in an advanced scenario and select whether to use the Microsoft SharePoint Directory Management service, a safe email server, and an incoming email server display address. These options are all discussed in the Using an advanced scenario later in this article.

如果採用基本案例可以略過本文的其餘部分。如果使用進階的案例,您需要執行其他程序。如需詳細資訊,請參閱 < Configure SharePoint Server 伺服器陣列的內送電子郵件If using the basic scenario you can skip the rest of this article. If using the advanced scenario, you'll need to perform additional procedures. For more information, see Configure incoming email for a SharePoint Server farm.

採用進階案例Using an advanced scenario

若是較進階的管理員,則可使用其他選擇,比起選擇使用所有預設選項的基本案例,有些選擇需要較多的專業知識才能進行部署。本節說明下列設定選項:For more advanced administrators, additional choices are available, some of which require more expertise to deploy than choosing the basic scenario with all default options. This section describes the following configuration options:

  • SharePoint 目錄管理服務SharePoint Directory Management service

  • 內送電子郵件伺服器顯示地址Incoming email server display address

  • 安全的電子郵件伺服器Safe email server

  • 電子郵件放置資料夾E-mail drop folder

如果您設定內送電子郵件使用進階的案例,您必須執行額外的程序。如需詳細資訊,請參閱 < Configure SharePoint Server 伺服器陣列的內送電子郵件If you use the advanced scenario to configure incoming email, you will need to perform additional procedures. For more information, see Configure incoming email for a SharePoint Server farm.

SharePoint 目錄管理服務SharePoint Directory Management service

SharePoint 目錄管理服務連線至您的組織使用者目錄以提供增強的電子郵件功能的 SharePoint 網站。使用這項服務的優點是它可讓使用者建立及管理電子郵件通訊群組從 SharePoint 網站。因此得以找到電子郵件啟用 SharePoint 清單中人員及其通訊錄這項服務也貴組織的使用者目錄中建立的連絡人。不過,使用 SharePoint 目錄管理服務需要更多管理因為它會與 Active Directory 網域服務 (AD DS) 通訊。The SharePoint Directory Management service connects SharePoint sites to your organization's user directory to provide enhanced email features. The benefit of using this service is that it enables users to create and manage email distribution groups from SharePoint sites. This service also creates contacts in your organization's user directory so people can find email-enabled SharePoint lists in their address books. However, using SharePoint Directory Management service requires more management because it communicates with Active Directory Domain Services (AD DS).

注意

建議您使用 Exchange Server 與 SharePoint 目錄管理服務。如果您不執行動作,您必須自訂自己的目錄管理服務。It is recommended that you use Exchange Server together with SharePoint Directory Management service. If you do not, you must customize your own directory management service.

您可以使用自動或進階設定模式,設定 SharePoint 目錄管理服務。您可以選擇在 SharePoint 伺服器陣列中啟用 SharePoint 目錄管理服務,或是使用其他伺服器陣列的 SharePoint 目錄管理服務。使用其他伺服器陣列上執行的此服務有個優點,就是 Active Directory 權限會集中管理 (亦即,在其他伺服器陣列上)。You can configure the SharePoint Directory Management service by using either the automatic or the advanced settings mode. You can choose to enable the SharePoint Directory Management service in your SharePoint server farm, or you can use the SharePoint Directory Management service of another farm. One advantage of using the service running on another farm is that Active Directory permissions are managed in a centralized place (that is, on the other farm).

若要啟用這項服務的伺服器或伺服器陣列上,使用 SharePoint Server 管理中心應用程式集區帳戶必須具備寫入權限您在 Active Directory 中指定的容器。這需要 Active Directory 管理員設定的組織單位 (OU) 及 OU 權限。使用 SharePoint 目錄管理服務的遠端伺服器陣列上的優點是不需要 Active Directory 管理員建立及設定 OU 如果已存在之 OU 的說明。To enable this service on a server or farm, the Central Administration application pool account used by SharePoint Server must have write access to the container that you specify in Active Directory. This requires an Active Directory administrator to set up the organizational unit (OU) and the permissions on the OU. The advantage of using the SharePoint Directory Management service on a remote farm is that you do not need the help of an Active Directory administrator to create and configure the OU if the OU already exists.

注意

如需關於使用 SharePoint 目錄管理服務的詳細資訊,請參閱 < Configure SharePoint Server 伺服器陣列的內送電子郵件For details about using SharePoint Directory Management service, see Configure incoming email for a SharePoint Server farm.

一般的目錄管理案例按下列步驟執行:A typical directory management scenario proceeds in the following steps:

  1. 網站集合管理員建立新的 SharePoint 群組。A site collection administrator creates a new SharePoint group.

  2. 管理員選擇建立通訊群組清單以與該 SharePoint 群組建立關聯並指派給該通訊群組清單的電子郵件地址。The administrator chooses to create a distribution list to associate with that SharePoint group and assigns an email address to that distribution list.

  3. 經過一段時間之後,管理員會在此 SharePoint 群組中新增及移除使用者。只要在群組中新增及移除使用者,SharePoint 目錄管理服務就會自動從儲存在 Active Directory 目錄服務中的通訊群組清單,新增及移除使用者。因為通訊群組清單與特定的 SharePoint 群組相關聯,所以此通訊群組清單可供該 SharePoint 群組的所有成員使用。Over time, the administrator adds users to and removes users from this SharePoint group. As users are added to and removed from the group, the SharePoint Directory Management service automatically adds and removes them from the distribution list, which is stored in the Active Directory directory service. Because distribution lists are associated with a particular SharePoint group, this distribution list is available to all members of that SharePoint group.

  4. 根據預設,電子郵件地址會自動產生小組網站上的 [加入討論區和行事曆和再新增至小組通訊群組清單。這兩個清單的電子郵件地址會在下列表單中,預設: GroupAddress.discussions 和_GroupAddress_.calendar。By default, email addresses are automatically generated for discussion boards and calendars on team sites and then added to the team distribution list. The email addresses for these two lists will be in the following form, by default: GroupAddress.discussions and GroupAddress.calendar.

  5. 透過通訊群組清單中加入討論區和行事曆的電子郵件地址,所有的電子郵件和會議邀請傳送到此通訊群組清單會封存在小組網站。By including email addresses for discussion boards and calendars in the distribution list, all email and meeting invitations sent to this distribution list will be archived in the team site.

SharePoint 目錄管理服務設定選項SharePoint Directory Management service configuration options

當您設定 SharePoint 目錄管理服務,以在 Active Directory 中建立通訊群組及連絡人時,必須提供下列資訊:When you configure the SharePoint Directory Management service to create distribution groups and contacts in Active Directory, you must provide the following information:

  • 要建立新的通訊群組及連絡人之 Active Directory 容器名稱。此資訊必須以下列格式提供:Name of the Active Directory container in which new distribution groups and contacts will be created. This must be provided in the following format:

    OU = ContainerName,DC = DomainName,DC = TopLevelDomainNameOU= ContainerName, DC= DomainName, DC= TopLevelDomainName

    範例Example

    OU=SharePointContacts,DC=Contoso,DC=comOU=SharePointContacts,DC=Contoso,DC=com

  • 若要使用的內送電子郵件 (或接受預設的 SMTP 伺服器若有的話) 的 SMTP 伺服器的名稱。這必須提供下列格式:Name of the SMTP server to use for incoming email (or accept the default SMTP server if one exists). This must be provided in the following format:

    Server.subdomain.domain.top level_domainServer.subdomain.domain.top-level_domain

    例如,SharePointServer.support.contoso.comFor example, SharePointServer.support.contoso.com

  • 是否只接受來自經過驗證之使用者的訊息。Whether to accept messages from only authenticated users.

  • 是否允許使用者從 SharePoint 網站建立通訊群組。若為此選項選擇「是」,您還可以選擇使用者是否可以執行下列任何多項動作:Whether to allow users to create distribution groups from SharePoint sites. If you choose yes for this option, you can also choose whether users can do any combination of the following actions:

    • 建立新的通訊群組。Create a new distribution group.

    • 變更通訊群組的電子郵件地址。Change a distribution group's email address.

    • 變更通訊群組的標題及描述。Change a distribution group's title and description.

    • 刪除通訊群組。Delete a distribution group.

當您將 SharePoint 目錄管理服務設為使用遠端 SharePoint 目錄管理服務來建立通訊群組與連絡人時,必須提供下列資訊:When configuring the SharePoint Directory Management service to create distribution groups and contacts using a remote SharePoint Directory Management service, you must provide the following information:

  • 遠端目錄管理服務,例如 URL http://server:adminport/_vti_bin/SharePointE-mailWS.asmx。The URL of the remote directory management service, for example, http://server:adminport/_vti_bin/SharePointE-mailWS.asmx.

  • 若要使用的內送電子郵件的 SMTP 伺服器名稱。The name of the SMTP server to use for incoming email.

  • 是否只接受來自經過驗證之使用者的訊息。Whether to accept messages from only authenticated users.

  • 是否允許使用者從 SharePoint 網站建立通訊群組。Whether to allow users to create distribution groups from SharePoint sites.

內送電子郵件伺服器顯示地址Incoming email server display address

系統管理員可以指定當使用者建立的網站、 清單或群組的內送電子郵件地址會顯示在網頁的電子郵件伺服器地址。此設定通常搭配 SharePoint 目錄管理服務來提供使用者輸入,例如 mylist@example.com 為了電子郵件伺服器地址。Administrators can specify the email server address that will be displayed in web pages when users create an incoming email address for a site, list, or group. This setting is often used with the SharePoint Directory Management service to provide a friendlier email server address for users to type, for example, mylist@example.com.

安全的電子郵件伺服器Safe email server

您可以設定為接受來自所有電子郵件伺服器的電子郵件或是只接受透過安全電子郵件伺服器應用程式路由傳送的電子郵件的 SharePoint 伺服器。You can configure SharePoint Server to accept email from any email server or only email that has been routed through a safe-email server application.

您可以透過安全電子郵件伺服器傳送的電子郵件取得下列優點:You can get the following benefits by routing email through a safe email server:

  • 使用者驗證SMTP 服務無法傳送電子郵件給您的網站的使用者進行驗證,但可以 Exchange Server。伺服器管理員可以使用 SharePoint 管理中心網站來指定當系統只有當電子郵件傳送到 Exchange 伺服器會接受來自已驗證使用者的電子郵件。User authentication The SMTP service cannot authenticate users who send email to your site, but Exchange Server can. The server administrator can use the SharePoint Central Administration website to specify that the system accept email from authenticated users only if the email is sent through Exchange Server.

  • 垃圾郵件篩選Exchange Server 提供垃圾郵件篩選以消除來路不明的商業電子郵件之前則為轉接至的目的地 — 在此例中執行 SharePoint Server 的伺服器。可減少垃圾郵件的另一種技術是允許小組網站的封存只在其您已授與寫入權限成員的清單中的電子郵件的成員。Spam filtering Exchange Server provides spam filtering to eliminate unsolicited commercial email before it is forwarded to its destination — in this case, the server running SharePoint Server. Another technique that can reduce spam is to allow members of the team site to archive email only in lists on which you have granted write permissions to members.

  • 防毒保護Exchange Server 提供針對透過它傳送的電子郵件的防毒保護。Virus protection Exchange Server provides virus protection for email routed through it.

注意

因為只有自動模式提供此選項,您無法指定一或多部安全電子郵件伺服器並指定電子郵件放置資料夾。Because this option is only available in automatic mode, you cannot specify one or more safe email servers and also specify an email drop folder.

電子郵件放置資料夾E-mail drop folder

比 SharePoint 伺服器上的另一部伺服器上執行 SMTP 服務,您必須指定從其中 SharePoint Server 擷取內送電子郵件的位置。您必須指定電子郵件放置資料夾的 SharePoint Server 知道要擷取內送電子郵件從何處。不過,如果您指定特定電子郵件放置資料夾時,SharePoint 伺服器無法偵測已傳遞電子郵件放置資料夾之遠端電子郵件伺服器上的組態變更。這表示如果系統管理員會將電子郵件伺服器將不再傳遞到此資料夾的 [電子郵件、 SharePoint Server 無法偵測設定已經變更,與因此將不能夠擷取新的位置的檔案。If the SMTP service is running on another server than on the SharePoint server, you must specify the location from which SharePoint Server retrieves incoming email. You specify the email drop folder so that SharePoint Server knows from where to retrieve incoming email. However, if you specify a specific email drop folder, SharePoint Server cannot detect configuration changes on the remote email server that is delivering the email to your drop folder. This means that if an administrator configures the email server to no longer deliver email to this folder, SharePoint Server cannot detect that the configuration has changed, and therefore will not be able to retrieve the files from the new location.

注意

當內送電子郵件設定設為進階模式時,您必須確定電子郵件放置資料夾上有適當的權限。如需詳細資訊,請參閱 < Configure SharePoint Server 伺服器陣列的內送電子郵件When incoming email is set to advanced mode, you must ensure that you have the proper permissions on the email drop folder. For more information, see Configure incoming email for a SharePoint Server farm.

注意

因為此選項只可用於進階模式,您無法指定電子郵件放置資料夾並同時指定一或多部安全電子郵件伺服器。Because this option is only available in advanced mode, you cannot specify an email drop folder and also specify one or more safe email servers.

設定選項及設定模式Configuration options and settings modes

為伺服器陣列管理員,您必須從要啟用內送電子郵件時選擇兩種設定模式: 自動進行且進階。「 使用基本案例 」 一節所述,您可以選擇自動] 設定模式以預設設定。但是,自動設定模式有您可以選擇的其他選項。As a farm administrator, you have two settings modes from which to choose when enabling incoming email: automatic and advanced. As described in the "Using a basic scenario" section, you can choose the automatic settings mode with default settings. However, the automatic settings mode has additional options that you can choose.

下表說明設定選項以及它們所設定管理中心的 [設定內送電子郵件設定] 頁面上使用自動] 設定模式或進階] 設定模式。The following table describes the configuration options and whether they are configured on the Configure Incoming E-Mail Settings page in Central Administration by using the automatic settings mode or the advanced settings mode.

設定選項Configuration option 自動設定模式Automatic settings mode 進階的設定模式Advanced settings mode
啟用內送電子郵件Enable Incoming E-mail
Yes
Yes
SharePoint 目錄管理服務SharePoint Directory management service
Yes
Yes
內送電子郵件伺服器顯示地址Incoming e-mail server display address
Yes
Yes
電子郵件放置資料夾E-mail drop folder
No
Yes

進階及自動設定模式項目類似於兩者啟用伺服器陣列管理員設定 SharePoint 目錄管理服務與在網頁中顯示的電子郵件伺服器地址。這些設定模式不同的功能選擇電子郵件伺服器以接受與能夠指定的資料夾的電子郵件便會捨棄電子郵件的自動] 設定模式字串取代。SharePoint Server 會使用此電子郵件放置資料夾來偵測新的電子郵件。The advanced and automatic settings modes are similar in that they both enable farm administrators to configure the SharePoint Directory Management service and the email server address to display in web pages. These settings modes differ in that the automatic settings mode replaces the ability to choose what email servers to accept email from with the ability to specify the folder to which email is dropped. SharePoint Server uses this email drop folder to detect new email messages.

注意

電子郵件放置資料夾設定不適用於自動模式,因為該模式會自動將電子郵件放置資料夾設成 SMTP 服務指定的資料夾。The email drop folder setting is not available in automatic mode, because that mode automatically sets the email drop folder to the folder that is specified by the SMTP service.

另請參閱See also

概念Concepts

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

規劃 SharePoint 伺服器陣列的外寄電子郵件Plan outgoing email for a SharePoint Server farm

設定 SharePoint 伺服器陣列的外寄電子郵件Configure outgoing email for a SharePoint Server farm