設定及使用 SharePoint Server 的 Exchange 連接器Configure and use the Exchange connector for SharePoint Server

摘要:了解如何建立編目規則及新增內容來源以編目 Exchange Server 公用資料夾。Summary: Learn how to create a crawl rule and add a content source to crawl Exchange Server public folders.

開始之前Before you begin

在開始進行此作業之前,請先檢閱下列先決條件的相關資訊:Before you begin this operation, review the following information about prerequisites:

  • 建立 Search Service 應用程式Create a Search service application

  • 確定編目程式至少具備讀取 Exchange Server 公用資料夾的權限。Ensure that the crawler has at least Read permission to the Exchange Server public folder.

建立編目規則Create a crawl rule

此下列程序說明如何建立編目規則。您必須建立編目規則如果您想要編目的 Exchange Server 公用資料夾的預設內容存取帳戶沒有讀取權限。This following procedure describes how to create a crawl rule. You must create a crawl rule if the default content access account does not have Read permission to the Exchange Server public folders that you want to crawl.

若要建立編目規則To create a crawl rule

  1. 確認執行此程序的使用者帳戶是否為 Search Service 應用程式的管理員。Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. 在管理中心的 [應用程式管理] 區段中按一下 [管理服務應用程式]。In Central Administration, in the Application Management section, click Manage Service Applications.

  3. 在 [管理服務應用程式] 頁面上,按一下服務應用程式清單中的 [Search Service 應用程式]。On the Manage Service Applications page, in the list of service applications, click the Search service application.

  4. 在 [搜尋管理] 頁面上的 [正在編目] 區段中按一下 [編目規則On the Search Administration page, in the Crawling section, click Crawl Rules.

  5. 在 [管理編目規則] 頁面上按一下 [新增編目規則]。On the Manage Crawl Rules page, click New Crawl Rule.

  6. 在 [新增編目規則] 頁面的 [路徑] 區段的 [路徑] 方塊中輸入的路徑將對其套用編目規則。您可以使用標準的萬用字元路徑中。On the Add Crawl Rule page, in the Path section, in the Path box, type the path to which the crawl rule will apply. You can use standard wildcard characters in the path.

    注意

    建立編目規則,[路徑] 方塊中所輸入的 URL 應該是下列格式: <通訊協定>: //hostname/*_where<通訊協定>是您想要使用 (通常是 http 通訊協定或 https),而「 主機名稱 」是 NetBIOS 或完整的網域名稱執行 Exchange Server 的伺服器。When creating a crawl rule, the URL that you type inside the Path box should be in the following form: <protocol>://hostname/*where <protocol> is the protocol that you want to use (typically http or https), and _hostname is the NetBIOS or fully qualified domain name of the server that is running Exchange Server.

  7. 在 [編目設定] 區段中選取 [包含此路徑中的所有項目In the Crawl Configuration section, select Include all items in this path.

  8. 在 [指定驗證] 區段中,選取編目要使用驗證的類型。本節只有已選取 [包含此路徑中的所有項目In the Specify Authentication section, select the type of crawl authentication to use. This section is available only if Include all items in this path is selected.

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

新增 Exchange Server 公用資料夾的內容來源Add a content source for Exchange Server public folders

使用下列程序之一建立 Exchange Server 公用資料夾的內容來源。您應該遵循的程序取決於 Exchange Server 版本。您可以選擇要新增內容來源以編目中的公用資料夾:Use one of the following procedures to create a content source for Exchange Server public folders. Which procedure you should follow depends on the Exchange Server version. You can choose to add a content source to crawl public folders in:

  • Exchange Server 2007 與 Exchange Server 2007 Service Pack 1 (SP1)Exchange Server 2007 and Exchange Server 2007 with Service Pack 1 (SP1)

  • Exchange Server 2007 Service Pack 2 (SP2) 與 Exchange 2010Exchange Server 2007 with Service Pack 2 (SP2) and Exchange 2010

新增 Exchange Server 2007 和 Exchange Server 2007 SP1 公用資料夾的內容來源To add a content source for Exchange Server 2007 and Exchange Server 2007 SP1 public folders

  1. 確認執行此程序的使用者帳戶是否為 Search Service 應用程式的管理員。Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. 在 SharePoint 管理中心首頁上,按一下 [應用程式管理] 區段中的 [管理服務應用程式]。On the SharePoint Central Administration home page, in the Application Management section, click Manage service applications.

  3. 在 [管理服務應用程式] 頁面上,按一下 Search Service 應用程式。On the Manage Service Applications page, click the Search service application.

  4. 按一下 [搜尋管理] 頁面上的 [正在編目] 區段中的 [內容來源]。On the Search Administration page, in the Crawling section, click Content Sources.

  5. 在 [管理內容來源] 頁面上按一下 [新增內容來源]。On the Manage Content Sources page, click New Content Source.

  6. 在 [新增內容來源] 頁面的 [名稱] 方塊中輸入新的內容來源的名稱。On the Add Content Source page, in the Name box, type a name for the new content source.

  7. 在 [內容來源類型] 區段中選取 [ Exchange 公用資料夾]。In the Content Source Type section, select Exchange Public Folders.

  8. 在 [起始位址] 區段的 [類型的起始位址下 (每行一個) ] 方塊中輸入您要編目的 Exchange Server 公用資料夾的 Url。這些 Url 通常是下列格式之一:In the Start Addresses section, in the Type start addresses below (one per line) box, type the URLs for the Exchange Server public folders that you want to crawl. These URLs are typically in one of the following forms:

    • <通訊協定>://主機名稱/public<protocol>:// host name/public

      其中_<通訊協定>可以是 http 或 https,「_主機名稱_是 NetBIOS 或完整的網域名稱 (FQDN) 執行 Exchange Server 的伺服器。Where <protocol> can be http or https, and _host name is the NetBIOS or fully qualified domain name (FQDN) of the server that is running Exchange Server.

    • <通訊協定>://主機名稱/public/子資料夾<protocol>:// host name/public/ subfolder

      其中_<通訊協定>可以是 http 或 https、_主機名稱」 是 NetBIOS 或執行 Exchange Server 的伺服器 FQDN 及_子資料夾_是您要編目的特定子資料夾的名稱。Where <protocol> can be http or https, host name is the NetBIOS or FQDN of the server that is running Exchange Server, and subfolder is the name of the specific subfolder that you want to crawl.

    例如,如果您想要編目中的所有子資料夾之名為 nm-exch-um-1st 01 和這是在 Contoso 網域中的伺服器與該伺服器上的公用資料夾不會使用 SSL、 您可以輸入其中一個http://exch-01/public或http://exch-01.contoso.com。若要編目僅 bob 的相同的公用資料夾中的特定子資料夾,輸入http://exch-01/public/bob或http://exch-01.contoso.com/bob。For example, if you want to crawl all subfolders in the public folder on a server that is named exch-01 and that is in the Contoso domain, and that server does not use SSL, you could type either http://exch-01/public or http://exch-01.contoso.com. To crawl only a specific subfolder named Bob in the same public folder, type http://exch-01/public/bob or http://exch-01.contoso.com/bob.

    注意

    基於效能考量,您不可以將相同的起始位址新增至多個內容來源。For performance reasons, you cannot add the same start addresses to multiple content sources.

  9. 在 [編目設定] 區段中,選取您想要的編目行為。In the Crawl Settings section, select the crawling behavior that you want.

  10. 在 [編目排程] 區段中,您可以選擇指定何時開始完整和累加編目:In the Crawl Schedules section, you can choose to specify when to start full and incremental crawls:

    • 若要建立完整編目排程,請按一下 [完整編目] 清單下方的 [建立排程] 連結。To create a full crawl schedule, click the Create Schedule link below the Full Crawl list.

    • 若要建立累加編目排程,請按一下 [累加編目] 清單下方的 [建立排程] 連結。To create an incremental crawl schedule, click the Create schedule link below the Incremental Crawl list.

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

新增 Exchange Server 2007 SP2 及 Exchange 2010 公用資料夾的內容來源To add content sources for Exchange Server 2007 SP2 and Exchange 2010 public folders

  1. 確認執行此程序的使用者帳戶是否為 Search Service 應用程式的管理員。Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. 開啟網頁瀏覽器並移至 [Outlook Web Access 網頁包含您要編目的公用資料夾之 Exchange 伺服器。Open a web browser and go to the Outlook Web Access webpage for the Exchange Server that contains the public folders that you want to crawl.

  3. 使用具備您要編目的公用資料夾之 [讀取] 權限的任何使用者帳戶,登入 Outlook Web Access。Log on to Outlook Web Access using any user account that has Read permissions on the public folders that you want to crawl.

  4. 移至您要編目、 以滑鼠右鍵按一下資料夾,然後選取 [在新視窗中開啟公用資料夾。Go to the public folder that you want to crawl, right-click the folder, and then select Open in New Window.

  5. 新視窗開啟之後,前往網址列並複製完整的 URL。這會是 Outlook Web Access 公用資料夾位址。When the new window opens, go to the address bar and copy the complete URL. This is the Outlook Web Access public folder address.

  6. 在 SharePoint 管理中心首頁上,按一下 [應用程式管理] 區段中的 [管理服務應用程式]。On the SharePoint Central Administration home page, in the Application Management section, click Manage service applications.

  7. 在 [管理服務應用程式] 頁面上,按一下 Search Service 應用程式。On the Manage Service Applications page, click the Search service application.

  8. 按一下 [搜尋管理] 頁面上的 [正在編目] 區段中的 [內容來源]。On the Search Administration page, in the Crawling section, click Content Sources.

  9. 按一下 [新增內容來源]。Click New Content Source.

  10. 在 [新增內容來源] 頁面的 [名稱] 方塊中輸入新的內容來源的名稱。On the Add Content Source page, in the Name box, type a name for the new content source.

  11. 在 [內容來源類型] 區段中選取 [ Exchange 公用資料夾]。In the Content Source Type section, select Exchange Public Folders.

  12. 在 [起始位址] 區段中,貼上您在步驟 5 複製的 Outlook Web Access 公用資料夾位址。In the Start Addresses section, paste the Outlook Web Access public folder address that you copied in step 5.

  13. 在 [編目設定] 區段中,選取您想要的編目行為。In the Crawl Settings section, select the crawling behavior that you want.

  14. 在 [編目排程] 區段中,您可以選擇指定何時開始完整和累加編目:In the Crawl Schedules section, you can choose to specify when to start full and incremental crawls:

    • 若要建立完整編目排程,請按一下 [完整編目] 清單下方的 [建立排程] 連結。To create a full crawl schedule, click the Create Schedule link below the Full Crawl list.

    • 若要建立累加編目排程,請按一下 [累加編目] 清單下方的 [建立排程] 連結。To create an incremental crawl schedule, click the Create schedule link below the Incremental Crawl list.

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