設定電子郵件地址原則Create an Email Address Policy

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

能夠接收或傳送電子郵件收件者、 收件者必須具有電子郵件地址。For a recipient to receive or send email messages, the recipient must have an email address. 電子郵件地址原則可為收件者 (包含使用者、連絡人和群組) 產生主要與次要的電子郵件地址,以便收件者收發電子郵件。Email address policies generate the primary and secondary email addresses for your recipients (which include users, contacts, and groups) so they can receive and send email.

建立電子郵件地址原則時,您可以使用下列電子郵件地址類型:When creating an email address policy, you can use the following email address types:

  • 預先定義的 SMTP 電子郵件地址「預先定義的」(Precanned) SMTP 電子郵件地址是提供給您的常用電子郵件地址類型。Precanned SMTP email address. Precanned SMTP email addresses are commonly used email address types that are provided for you.

  • 自訂 SMTP 電子郵件地址。如果您不想使用其中一個預先定義的 SMTP 電子郵件地址,可以指定自訂的 SMTP 電子郵件地址。Custom SMTP email address. If you don't want to use one of the precanned SMTP email addresses, you can specify a custom SMTP email address.

    建立自訂的 SMTP 電子郵件地址時,您可以使用下表中的變數來指定電子郵件地址本機部分的替代值。When creating a custom SMTP email address, you can use the variables in the following table to specify alternate values for the local part of the email address.

    變數Variable Value

    %g%g

    名字Given name (first name)

    %i%i

    中間名的縮寫Middle initial

    %s%s

    姓氏Surname (last name)

    %d%d

    顯示名稱Display name

    %m%m

    Exchange 別名Exchange alias

    %xs%xs

    使用姓氏的前 x 個字母。Uses the first x letters of the surname. 例如,如果x = 2,使用姓氏的前兩個字母。For example, if x = 2, the first two letters of the surname are used.

    %xg%xg

    使用名字的前 x 個字母。Uses the first x letters of the given name. 例如,如果x = 2,使用名字的前兩個字母。For example, if x = 2, the first two letters of the given name are used.

  • 非 SMTP 電子郵件地址。可支援的非 SMTP 電子郵件地址類型如下:Non-SMTP email address. The following types of non-SMTP email addresses are supported:

    • EX (傳統 DN Proxy 位址前置詞顯示名稱)EX (Legacy DN Proxy Address Prefix DisplayName)

    • X.500X.500

    • X.400X.400

    • MSMailMSMail

    • CcMailCcMail

    • Lotus NotesLotus Notes

    • Novell GroupWiseNovell GroupWise

    • Exchange 整合通訊 proxy 位址 (EUM proxy 位址)Exchange Unified Messaging proxy address (EUM proxy address)

      重要

      在 Exchange 中,所有的非 SMTP 電子郵件地址會被視為自訂地址。In Exchange, all non-SMTP email addresses are considered custom addresses. Exchange 不會提供唯一的對話方塊或屬性頁的 X.400、 GroupWise 或 Lotus Notes 電子郵件地址類型。Exchange doesn't provide unique dialog boxes or property pages for X.400, GroupWise, or Lotus Notes email address types. 如果您新增非 SMTP 自訂電子郵件地址,您必須具有適當的動態連結程式庫 (DLL) 檔案。If you add a non-SMTP custom email address, you must have the appropriate dynamic-link library (DLL) files. 如果您沒有提供適當的 DLL 檔案,您無法建立自訂電子郵件地址原則。If you don't provide the appropriate DLL files, you won't be able to create a customized email address policy. 會在事件檢視器中記錄下列錯誤: 「 'SADF' 地址類型 'i386' 機器上的 Microsoft Exchange 目錄中的電子郵件地址描述物件不遺失 」。The following error will be logged in Event Viewer: "The email address description object in the Microsoft Exchange directory for the 'SADF' address type on 'i386' machines are missing."

如需如何建立電子郵件地址原則的詳細說明,請參閱下列主題:For detailed instructions about how to create an email address policy, see the following topics:

設定電子郵件地址原則Create an Email Address Policy

使用收件者篩選器建立電子郵件地址原則Create an email address policy by using recipient filters

開始前需要瞭解什麼?What do you need to know before begin?

  • 預估完成時間:5 分鐘。Estimated time to complete: 5 minutes.

  • 您必須已獲指派權限,才能執行此程序或這些程序。You need to be assigned permissions before you can perform this procedure or procedures. 若要查看您需要的權限,請參閱電子郵件地址和通訊錄主題中的 「 電子郵件地址原則 」 項目。To see what permissions you need, see the "Email address policies" entry in the Email addresses and address books topic.

  • SMTP 位址網域可用於電子郵件地址原則之前,您必須設定公認的網域。Before an SMTP address domain can be used in an email address policy, you must configure an accepted domain. 若要深入了解,請參閱公認的網域To learn more, see Accepted domains.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 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.

使用 EAC 建立電子郵件地址原則Use the EAC to create an email address policy

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

  2. 在 [電子郵件地址原則中,完成下列欄位:In Email Address Policy, complete the following fields:

    • 原則名稱Policy name

    • 電子郵件地址格式Email address format

    • 指定此電子郵件地址將套用的收件者類型Specify the types of recipients this email address will apply to

  3. 按一下 [新增規則],進一步限制此原則會套用至收件者]。Click Add a rule to further restrict the recipients that this policy will apply to. 這會建立布林值陳述式。This creates a Boolean And statement.

    警告

    如果您套用過多原則,可能會過度限縮電子郵件地址原則,以至於不含任何使用者。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.

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

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

  6. 您會看到一個警告,電子郵件地址原則不會套用,直到您更新它。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 create an email address policy

此範例會建立電子郵件地址原則,其中包含美國東南部辦公室 (Southeast offices) 的信箱使用者,並使其電子郵件地址包含其姓氏加上名字前兩個字母的組合。This example creates an email address policy that includes mailbox users in the Southeast offices who will have email addresses that include their last name combined with the first two letters of their first name.

New-EmailAddressPolicy -Name "southeast offices" -IncludedRecipients MailboxUsers -ConditionalStateorProvince "Georgia","Alabama","Louisiana" -EnabledEmailAddressTemplates "SMTP:%s%2g@southeast.contoso.com"

如需詳細的語法及參數資訊,請參閱 New-EmailAddressPolicyFor detailed syntax and parameter information, see New-EmailAddressPolicy.