將 Exchange 設定為接受多個授權網域的郵件Configure Exchange to accept mail for multiple authoritative domains

適用於: Exchange Server 2013Applies to: Exchange Server 2013

在 Microsoft Exchange Server 2013 中,很容易將多個授權網域新增至您的組織。In Microsoft Exchange Server 2013, it's easy to add multiple authoritative domains to your organization. 不過,新增授權網域之後,您必須決定如何使用您組織中的授權網域。However, after you add the authoritative domain, you need to decide how to use the authoritative domain in your organization. 例如:For example:

  • 如果您想要將電子郵件地址中新的授權網域加入您的組織中收件者,您想要取代的現有主要 (回覆) 地址的收件者,或新增新的電子郵件地址作為 proxy (次要) 地址?If you want to add an email address in the new authoritative domain for recipients in your organization, do you want to replace the existing primary (reply to) address for the recipients, or add the new email address as a proxy (secondary) address?

  • 您想要套用至所有收件者及所有收件者類型的新授權網域中的電子郵件地址嗎?Do you want the email address in the new authoritative domain to apply to all recipients, and all recipient types? 或是您想要套用至特定類型的收件者或根據其使用者內容,例如,僅限財務部門中的使用者的特定收件者的新電子郵件地址?Or do you want the new email address to apply to specific types of recipients, or specific recipients based on their user properties, for example, only users in the Finance department?

下列範例是,您的 Exchange 組織可能必須接收及處理多個授權 SMTP 網域的電子郵件的案例:The following examples are scenarios in which your Exchange organization may have to receive and process email for more than one authoritative SMTP domain:

  • 您正在變更您的 SMTP 網域名稱,但想要繼續接受電子郵件的舊網域名稱的時間,以免客戶將電子郵件傳送至舊的電子郵件地址。You are changing your SMTP domain name, but have to continue to accept email for the old domain name for a time, in case customers send email messages to the previous email addresses. 您可以設定新的電子郵件地址作為主要 (回覆) 地址。You can set the new email address as the primary (reply to) address. 這表示新的地址會顯示在所有收件者所傳送的電子郵件上的預設電子郵件地址。This means that the new address will be the default email address displayed on all email messages sent by the recipient. 您可以將舊的電子郵件地址設定為次要位址。You can set the old email address as a secondary address. 這可讓收件者,繼續接收傳送至舊的電子郵件地址的電子郵件。This will enable the recipient to continue to receive email sent to the old email address.

  • 您想要針對組織內的業務單位提供不同的電子郵件地址。You want to provision different email addresses for business units within your organization. 例如,如果 contoso.com Active Directory 樹系包含子公司 Tailspin Toys 和 Fourth Coffee 的子網域,您可能想要指派中這些收件者的 SMTP 網域名稱 contoso.com、 tailspintoys.com 及 fourthcoffee.com個別業務單位。For example, if the contoso.com Active Directory forest contains subdomains for the subsidiaries Tailspin Toys and Fourth Coffee, you may want to assign the SMTP domain names contoso.com, tailspintoys.com, and fourthcoffee.com to the recipients in those respective business units.

  • 您提供電子郵件裝載服務,且必須接受多個 SMTP 網域名稱的電子郵件。You provide email hosting services and have to accept email for more than one SMTP domain name.

開始之前有哪些須知?What do you need to know before you begin?

  • 完成此工作的預估時間:30 分鐘。Estimated time to complete this task: 30 minutes.

  • 您必須已獲指派權限,才能執行此程序或這些程序。若要查看您需要的權限,請參閱 郵件流程權限主題中的「公認的網域」項目,以及收件者權限主題中的「電子郵件地址原則」項目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Accepted domains" entry in the Mail flow permissions topic and the "Email address policies" entry in the Recipients Permissions topic.

  • 如果您的周邊網路中有訂閱的 Edge Transport Server,則可在 Exchange 組織的 Mailbox Server 上設定公認網域。公認網域組態會在 EdgeSync 同步處理期間複寫至 Edge Transport Server。如需詳細資訊,請參閱Edge 訂閱If you have a subscribed Edge Transport server in your perimeter network, you configure accepted domains on a Mailbox server in your Exchange organization. The accepted domains configuration is replicated to the Edge Transport server during EdgeSync synchronization. For more information, see Edge Subscriptions.

  • 建立公認的網域時,可以在位址空間中使用萬用字元 (*),以指出 Exchange 組織也接受 SMTP 位址空間的所有子網域。When you create an accepted domain, you can use a wildcard character (*) in the address space to indicate that all subdomains of the SMTP address space are also accepted by the Exchange organization. 例如,若要將 contoso.com 及其所有子網域設定為公認的網域中,輸入***。 contoso.com**的 smtp 位址空間。For example, to configure contoso.com and all its subdomains as accepted domains, enter *.contoso.com as the SMTP address space. 不過,如果子網域名稱用於電子郵件地址原則,每個子網域必須明確公認的網域項目。However, if the subdomain names will be used in an email address policy, each subdomain must have an explicit accepted domain entry.

  • 在公用 DNS MX 記錄有您接受來自網際網路的電子郵件的每個 SMTP 網域。An MX record in public DNS is required for each SMTP domain for which you accept email from the Internet. 每一個 MX 記錄應解析收取您組織之電子郵件的外部網際網路伺服器。Each MX record should resolve to the Internet-facing server that receives email for your organization.

  • 您要設定的傳送連接器和接收連接器,讓您的 Exchange 組織可以傳送電子郵件移轉至和接收來自網際網路的電子郵件。You need to configure Send connectors and Receive connectors so your Exchange organization can send email to and receive email from the Internet. 網際網路傳送連接器和接收連接器的組態取決於您的 Exchange 拓撲。The configuration of the Internet Send connectors and Receive connectors is determined by your Exchange topology. 如需設定連接器的詳細資訊,請參閱ConnectorsFor more information about configuring connectors, see Connectors.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 Exchange 系統管理中心的鍵盤快速鍵For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

有問題嗎?Having problems? 在 Exchange 論壇中尋求協助。Ask for help in the Exchange forums. 瀏覽 Exchange Server 的論壇。Visit the forums at Exchange Server.

步驟 1: 建立授權網域Step 1: Create an authoritative domain

使用 Exchange 系統管理中心來建立授權網域Use the Exchange admin center to create an authoritative domain

  1. 在 EAC 中,瀏覽至 [郵件流程 > 公認的網域],然後按一下 [新增]加入圖示In the EAC, navigate to Mail flow > Accepted domains, and click Add Add Icon.

  2. 在 [名稱] 欄位中,輸入公認的網域的顯示名稱。In the Name field, enter the display name for the accepted domain. 每個組織公認的網域必須有一個唯一的顯示名稱。Each accepted domain for your organization must have a unique display name. 顯示名稱可能與公認的網域不同。This may be different than the accepted domain. 例如,contoso.com 網域可能有顯示名稱為 Contoso Local Accepted Domain。For example, the domain contoso.com could have a display name of Contoso Local Accepted Domain.

  3. 在 [公認的網域] 欄位中,指定為其組織接受電子郵件的 SMTP 命名空間。In the Accepted domain field, specify an SMTP namespace for which your organization accepts email messages. For example, contoso.com.For example, contoso.com.

  4. 選取 [授權網域Select Authoritative domain.

  5. 按一下 [儲存]****。Click Save.

使用命令介面來建立授權網域Use the Shell to create an authoritative domain

若要建立新的授權網域,請使用下列語法。To create a new authoritative domain, use the following syntax.

New-AcceptedDomain -Name "<Unique Name>" -DomainName <SMTP domain> -DomainType Authoritative

例如,若要建立新的授權網域名為"Fourth Coffee subsidiary"為網域 fourthcoffee.com,執行下列命令:For example, to create a new authoritative domain named "Fourth Coffee subsidiary" for the domain fourthcoffee.com, run the following command:

New-AcceptedDomain -Name "Fourth Coffee subsidiary" -DomainName fourthcoffee.com -DomainType Authoritative

如何才能了解此步驟是否正常運作?How do you know this step worked?

若要確認您已成功建立授權網域,請執行下列其中一項:To verify that you have successfully created an authoritative domain, do one of the following:

  • 在 EAC 中,瀏覽至 [郵件流程] > [公認的網域]In the EAC, navigate to Mail flow > Accepted domains. 確認已顯示您所建立的公認的網域,和 [網域類型] 值為AuthoritativeVerify the accepted domain you created is displayed, and the Domain Type value is Authoritative.

  • 在命令介面中執行命令Get-accepteddomainIn the Shell, run the command Get-AcceptedDomain. 確認顯示您所建立的網域,然後DomainType值是AuthoritativeVerify the domain you created is displayed, and the DomainType value is Authoritative.

步驟 2: 設定授權網域的電子郵件地址原則Step 2: Configure an email address policy for the authoritative domain

若要使用您建立的授權公認的網域,您需要設定符合您案例的目標的授權網域的電子郵件地址原則。To use the authoritative accepted domain you created, you need to configure an email address policy for the authoritative domain that meets the objectives of your scenario. 例如,您可能需要建立新的電子郵件地址原則,或修改現有的原則。For example, you may need to create a new email address policy, or modify an existing policy. 您可以選擇要取代的主要電子郵件地址的部分或全部收件者,以及您可以選擇要保留或移除舊的主要電子郵件地址。You may elect to replace the primary email address for some or all of your recipients, and you can elect to keep or remove the old primary email address. 兩個範例案例會呈現在這一節。Two example scenarios are presented in this section.

變更現有的主要電子郵件地址Change the existing primary email address

若要變更主要 (回覆) 電子郵件地址指派給收件者並保留舊的主要電子郵件地址作為 proxy (次要) 電子郵件地址,請遵循下列步驟:To change the primary (reply to) email address assigned to recipients and keep the old primary email address as a proxy (secondary) email address, follow these steps:

使用 EAC 來變更現有的主要電子郵件地址Use the EAC to change the existing primary email address

  1. 在 EAC 中,瀏覽至 [郵件流程 > 電子郵件地址原則In the EAC, navigate to Mail flow > Email address policies. 選取您要修改的電子郵件地址原則,然後按一下 [編輯]編輯圖示Select the email address policy you want to modify, and click Edit Edit icon.

  2. 在 [電子郵件地址原則] 頁面上,按一下 [電子郵件地址格式] 索引標籤。在 [電子郵件地址格式] 區段中,按一下 [新增]加入圖示On the Email Address Policy page, click the Email address format tab. In the Email address format section, click AddAdd Icon.

  3. 在 [電子郵件地址格式] 頁面上出現,進行下列選擇:On the Email Address Format page that appears, make the following selections:

    • 選取 [公認的網域: 按一下下拉式清單] 清單中,然後選取新的授權網域。Select an accepted domain: Click the drop-down list, and select the new authoritative domain.

    • 選取 [讓此格式回覆電子郵件地址Select Make this format the reply email address.

    完成後,按一下 [儲存]When you are finished, click Save.

  4. 在 [電子郵件地址原則] 頁面上,按一下 [儲存] 以儲存對原則的變更。On the Email Address Policy page, click Save to save your changes to the policy.

  5. 您會看到一個警告,電子郵件地址原則不會套用,直到您更新它。You'll get a warning that the email address policy won't be applied until you update it. 建立之後,加以選取,,然後在詳細資料] 窗格中,按一下 [套用]After it's created, select it, and then, in the details pane, click Apply.

使用命令介面來變更現有的主要電子郵件地址Use the Shell to change the existing primary email address

您可以在命令介面中使用兩個不同的命令: 一個命令用來修改現有的電子郵件地址原則,與另一個命令,以將更新的電子郵件地址原則套用至組織中收件者。In the Shell, you use two separate commands: one command to modify the existing email address policy, and another command to apply the updated email address policy to the recipients in your organization.

若要變更現有的主要電子郵件地址,並保留舊的主要電子郵件地址作為 proxy 位址,請執行下列命令:To change the existing primary email address, and keep the old primary email address as a proxy address, run the following command:

Set-EmailAddressPolicy <EmailAddressPolicyIdentity> -EnabledEmailAddressTemplates SMTP:<NewPrimaryEmailAddress>,smtp:<OldPrimaryEmailAddress>

例如,假設您組織中的電子郵件地址原則使用電子郵件地址格式useralias@contoso.comFor example, suppose the email address policy in your organization uses the email addresses format useralias@contoso.com. 此範例會變更名為 「 預設原則 」 的電子郵件地址原則中的主要 (回覆) 地址的網域為@fourthcoffee.com,並保留舊的主要回覆地址@contoso.com作為 proxy (次要) 地址的網域。This example changes the domain of primary (reply to) address in the email address policy named "Default Policy" to @fourthcoffee.com, and keeps the old primary reply address in the @contoso.com domain as a proxy (secondary) address.

Set-EmailAddressPolicy "Default Policy" -EnabledEmailAddressTemplates SMTP:@fourthcoffee.com,smtp:@contoso.com

注意

SMTP大寫字母辨識符號,則指定的主要 (回覆) 地址。The SMTP qualifier in uppercase letters specifies the primary (reply to) address. smtp以小寫字母辨識符號,則指定的 proxy (次要) 地址。The smtp qualifier in lowercase letters specifies a proxy (secondary) address.

若要將更新的電子郵件地址原則套用至收件者,使用下列語法。To apply the updated email address policy to recipients, use the following syntax.

Update-EmailAddressPolicy <EamilAddressPolicyIdentity>

例如,若要套用名為 「 預設原則 」 的更新的電子郵件地址原則,請執行下列命令:For example, to apply the updated email address policy named "Default Policy", run the following command:

Update-EmailAddressPolicy "Default Policy"

取代一組已篩選收件者的現有主要電子郵件地址Replace the existing primary email address for a filtered set of recipients

您無法修改預設電子郵件地址原則套用至一組已篩選收件者。You can't modify the default email address policy to apply to a filtered set of recipients. 您需要建立新的電子郵件地址原則,或修改現有的自訂電子郵件地址原則。You need to create a new email address policy, or modify an existing custom email address policy. 本節中的範例會建立新的電子郵件地址原則。The examples in this section create a new email address policy. 在下列範例中,新增之公認的網域中的主要 (回覆) 地址會取代舊的主要地址,針對指定的收件者沒有保持舊的主要地址作為 proxy (次要) 電子郵件地址。In these examples, the primary (reply to) address in the new accepted domain replaces the old primary address for the specified recipients without keeping the old primary address as a proxy (secondary) email address. 因此,受影響的收件者不會再收到其舊的主要電子郵件地址的電子郵件。Therefore, the affected recipients can no longer receive email at their old primary email address.

此外,套用至特定使用者的電子郵件地址原則應該具有比其他電子郵件地址原則,包括預設原則,因此會先套用特定原則的較高優先順序 (以較低的整數值)。Also, email address policies that apply to specific users should have a higher priority (indicated by a lower integer value) than other email address policies, including the default policy, so the specific policy is applied first. 因為兩個原則不能有相同的優先順序值,您可能需要降低組織的預設電子郵件地址原則的優先順序。Because two policies can't have the same priority value, you may first need lower the priority of your organization's default email address policy.

使用 EAC 來取代一組已篩選收件者的現有主要電子郵件地址Use the EAC to replace the existing primary email address for a filtered set of recipients

若要建立額外的電子郵件地址將會作為一組已篩選收件者的主要電子郵件地址,請遵循下列步驟。To create additional email addresses that will be used as the primary email address for a filtered set of recipients, follow these steps.

  1. 在 EAC 中,瀏覽至 [郵件流程 > 電子郵件地址原則,然後按一下 [新增]加入圖示In the EAC, navigate to Mail flow > Email address policies, and then click Add Add Icon.

  2. 在 [電子郵件地址原則] 頁面上,完成下列欄位:On the Email Address Policy page, complete the following fields:

    1. 原則名稱: 輸入唯一的描述性名稱。Policy name: Enter a unique, descriptive name.

    2. 電子郵件地址格式: 按一下 [新增]加入圖示Email address format: Click Add Add Icon. 在 [電子郵件地址格式] 頁面上出現,進行下列選擇:On the Email Address Format page that appears, make the following selections:

      • 選取 [公認的網域: 按一下下拉式清單] 清單中,然後選取新的授權網域。Select an accepted domain: Click the drop-down list, and select the new authoritative domain.

      • 電子郵件地址格式: 選取適當的電子郵件地址格式為您的組織。Email address format: Select the appropriate email address format for your organization.

      • 選取 [讓此格式回覆電子郵件地址Select Make this format the reply email address.

      完成後,按一下 [儲存]When you are finished, click Save.

  3. 執行這項原則與其他原則,此順序: 通常,套用至特定使用者的原則應該有更高的優先順序 (以較低的整數值) 比其他電子郵件地址原則,包括預設原則。Run this policy in this sequence with other policies: Typically, policies that apply to specific users should have a higher priority (indicated by a lower integer value) than other email address policies, including the default policy.

  4. 指定此電子郵件地址將套用的收件者類型: 選取您要套用的電子郵件地址原則的收件者類型。Specify the types of recipients this email address will apply to: Select the recipient types to which you want the email address policy applied.

  5. 建立規則,以進一步定義此電子郵件地址原則套用至收件者: 按一下 [新增規則],以限制此原則會套用至收件者。Create rules to further define the recipients that this email address policy applies to: Click Add a rule to restrict the recipients that this policy will apply to. 這會建立布林值陳述式。This creates a Boolean And statement. 視需要重複此步驟多次。Repeat this step as many times as necessary.

    警告

    如果您套用過多原則,可能會過度限縮電子郵件地址原則,以至於不含任何使用者。If you apply too many rules, it's possible to restrict the email address policy to the point that it doesn't contain any users.

  6. 按一下 [檢視原則會套用至收件者的 [預覽收件者原則會套用至]。Click Preview recipients the policy applies to to view the recipients that policy will apply to.

  7. 按一下 [儲存] 以儲存變更並建立原則。Click Save to save your changes and create the policy.

  8. 您會看到一個警告,電子郵件地址原則不會套用,直到您更新它。You'll get a warning that the email address policy won't be applied until you update it. 建立之後,加以選取,,然後在詳細資料] 窗格中,按一下 [套用]After it's created, select it, and then, in the details pane, click Apply.

使用命令介面來取代一組已篩選收件者的現有主要電子郵件地址Use the Shell to replace the existing primary email address for a filtered set of recipients

若要取代一組已篩選收件者的主要電子郵件地址,請使用下列命令:To replace the primary email address for a filtered set of recipients, use the following command:

New-EmailAddressPolicy -Name <Policy Name> -Priority <Integer> -IncludedRecipients <RecipientTypes> <Conditional Recipient Properties> -EnabledEmailAddressTemplates SMTP:@<NewPrimaryEmailAddress>

本範例會建立名為"Fourth Coffee 的收件者 」 的電子郵件地址原則,會將該原則指派給信箱使用者 Fourth Coffee 部門,並設定該電子郵件地址原則的最高優先順序,以便先套用原則。This example creates an email address policy named "Fourth Coffee Recipients", assigns that policy to mailbox users in the Fourth Coffee department, and sets the highest priority for that email address policy so the policy is applied first. 請注意舊的主要電子郵件地址不保留這些收件者,讓他們無法接收電子郵件在其舊的主要電子郵件地址。Note that the old primary email address isn't preserved for these recipients, so they can't receive email at their old primary email address.

New-EmailAddressPolicy -Name "Fourth Coffee Recipients" -Priority 1 -IncludedRecipients MailboxUsers -ConditionalDepartment "Fourth Coffee" -EnabledEmailAddressTemplates SMTP:@fourthcoffee.com

若要將新的電子郵件地址原則套用至受影響的收件者,請執行下列命令:。To apply the new email address policy to the affected recipients, run the following command:.

Update-EmailAddressPolicy "Fourth Coffee Recipients"

如何才能了解此步驟是否正常運作?How do you know this step worked?

若要確認您已成功設定授權網域的電子郵件地址原則,請執行下列其中一項:To verify that you have successfully configured an email address policy for the authoritative domain, do one of the following:

  • 在 EAC 中,瀏覽至 [郵件流程 > 電子郵件地址原則In the EAC, navigate to Mail flow > Email address policies. 確認原則會套用正確的順序。Verify the policies are applied in the correct order. 此外,請選擇任何新的或更新原則,並在詳細資料] 窗格中,確認 [電子郵件地址格式、 包含的收件者,而且如果已套用原則,Also, select any new or updated policies, and in the details pane, verify the email address format, included recipients, and if the policy has been applied,

  • 在命令介面中執行命令Get-emailaddresspolicyGet-EmailAddressPolicy "<Policy Name>"| Format-List若要確認原則的詳細資訊。In the Shell, run the commands Get-EmailAddressPolicy and Get-EmailAddressPolicy "<Policy Name>"| Format-List to verify the details of the policies.

如何才能了解此工作是否正常運作?How do you know this task worked?

若要確認您已設定為接受多個授權網域的郵件交換,執行下列動作:To verify that you have configured Exchange to accept mail for multiple authoritative domains, do the following:

  1. 將測試郵件從 Exchange 組織外部的信箱傳送至受影響的收件者。Send test messages to an affected recipient from a mailbox outside your Exchange organization. 確認已成功接收郵件的電子郵件地址。Verify the email addresses that successfully accept mail.

  2. 從受影響的收件者信箱傳送測試郵件給外部收件者,並確認郵件的 From 地址。Send test messages from an affected recipient mailbox to an external recipient, and verify the From address of the message.