建立使用者信箱Create user mailboxes

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

信箱是最常使用的 Exchange 組織中的資訊工作者的收件者類型。Mailboxes are the most common recipient type used by information workers in an Exchange organization. 每個信箱都與 Active Directory 使用者帳戶相關聯。Each mailbox is associated with an Active Directory user account. 使用者可以使用信箱來傳送和接收郵件,以及儲存郵件、約會、工作、記事和文件。The user can use the mailbox to send and receive messages, and to store messages, appointments, tasks, notes, and documents. 使用 EAC 或命令介面來建立使用者信箱。Use the EAC or the Shell to create user mailboxes.

您也可以建立現有使用者具有 Active Directory 使用者帳戶,但沒有對應信箱的使用者的信箱。You can also create user mailboxes for existing users that have an Active Directory user account but don't have a corresponding mailbox. 這稱為信箱啟用現有使用者。This is known as mailbox-enabling existing users.

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

  • 估計每個使用者信箱工作的完成時間:2 至 5 分鐘。Estimated time to complete each user mailbox task: 2 to 5 minutes.

  • 當您建立新的使用者信箱時,您無法使用單引號 (') 或雙引號 (") 在 [別名] 或 [使用者登入名稱,因為這些字元不受支援。When you create a new user mailbox, you can't use an apostrophe (') or a quotation mark (") in the alias or the user logon name because these characters aren't supported. 如果您建立新的信箱使用不支援的字元,可能不會收到錯誤,雖然這些字元可能會造成問題更新版本。Although you might not receive an error if you create a new mailbox using unsupported characters, these characters can cause problems later. 例如,已指派存取權限給使用不支援的字元建立信箱的使用者可能會遇到的問題或未預期的行為。For example, users that have been assigned access permissions to a mailbox that was created using an unsupported character may experience problems or unexpected behavior.

  • 您必須已獲指派權限,才能執行此程序或這些程序。若要查看您需要的權限,請參閱 收件者權限 主題中的「收件者佈建權限」一節。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Recipients Permissions topic.

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

建立使用者信箱Create a user mailbox

使用 EAC 建立使用者信箱Use the EAC to create a user mailbox

  1. 在 EAC 中,瀏覽至 [收件者   > 信箱In the EAC, navigate to Recipients  > Mailboxes.

  2. 按一下 [新增 > 使用者信箱Click New > User mailbox.

  3. 新的使用者信箱] 頁面上,在 [別名] 方塊中,輸入使用者的別名,指定使用者的電子郵件別名。On the New user mailbox page, in the Alias box, type the user's alias, which specifies the email alias for the user. 使用者的別名是電子郵件地址中 (@) 符號左側的部分。The user's alias is the portion of the email address on the left side of the at (@) symbol. 它在樹系中必須是唯一的。It must be unique in the forest.

    注意

    如果方塊為空白,會使用 [使用者登入名稱] 的使用者名稱部分之數值作為電子郵件別名。If you leave this box blank, the value from the user name portion of the User logon name is used for the email alias.

  4. 選取下列其中一個選項:Select one of the following options:

    • 現有的使用者: 選取要啟用郵件功能,並建立現有使用者的信箱。Existing user: Select to mail-enable and create a mailbox for an existing user.

      按一下 [若要開啟 [選取使用者-整個樹系] 對話方塊的 [瀏覽]。Click Browse to open the Select User - Entire Forest dialog box. This dialog box displays a list of Active Directory user accounts in the forest that aren't mail-enabled or don't have Exchange mailboxes.This dialog box displays a list of Active Directory user accounts in the forest that aren't mail-enabled or don't have Exchange mailboxes. Select the user account you want to mail-enable, and then click OK.Select the user account you want to mail-enable, and then click OK. If you select this option, you don't have to provide user account information because this information already exists in Active Directory.If you select this option, you don't have to provide user account information because this information already exists in Active Directory.

    • 新的使用者: 選取 [Active Directory 中建立新的使用者帳戶並建立此使用者的信箱。New user: Select to create a new user account in Active Directory and create a mailbox for this user. 如果選取此選項,必須提供所需的使用者帳戶資訊。If you select this option, you'll have to provide the required user account information.

    注意

    與使用者信箱關聯的 Active Directory 帳戶必須與 Exchange 伺服器位於同一樹系。The Active Directory account that is associated with user mailboxes must reside in the same forest as the Exchange server. 若要為信任樹系中的使用者帳戶建立信箱,必須建立連結的信箱。To create a mailbox for a user account that resides in a trusted forest, you have to create a linked mailbox. 請參閱管理連結的信箱See Manage linked mailboxes.

  5. 如果您在步驟 4 中選取新的使用者,完成 [新的使用者信箱] 頁面上的下列方塊。If you selected New user in Step 4, complete the following boxes on the New user mailbox page. 否則請跳到步驟 7。Otherwise skip to Step 7.

    • 名字: 使用此方塊輸入使用者的名字。First name: Use this box to type the first name of the user.

    • 縮寫: 使用此方塊輸入使用者的縮寫。Initials: Use this box to type the initials of the user.

    • 姓氏: 使用此方塊輸入使用者的姓氏。Last name: Use this box to type the last name of the user.

    • *顯示名稱: 使用此方塊輸入使用者的顯示名稱。* Display name: Use this box to type a display name for the user. 這是在 EAC 中與共用的通訊錄中的信箱清單中所列的名稱。This is the name that's listed in the mailbox list in the EAC and in the shared address book. 根據預設,此方塊會填入您在 [名字縮寫姓氏] 方塊中輸入的名稱。By default, this box is populated with the names you enter in the First name, Initials, and Last name boxes. 如果您未使用這些方塊,仍必須在這個方塊中輸入名稱,因為這是必填的方塊。If you didn't use those boxes, you must still type a name in this box because it's required. 名稱不可超過 64 個字元。The name can't exceed 64 characters.

    • *名稱: 使用此方塊輸入使用者的名稱。* Name: Use this box to type a name for the user. 這是在 Active Directory 中所列的名稱。This is the name that's listed in Active Directory. 此方塊,也會填入您在 [名字縮寫姓氏] 方塊中輸入的名稱。This box is also populated with the names you enter in the First name, Initials, and Last name boxes. 如果您未使用這些方塊,仍必須輸入名稱,因為這是必填的方塊。If you didn't use those boxes, you must still type a name because this box is required. 這個名稱也不可超過 64 個字元。This name also can't exceed 64 characters.

    • 組織單位: 您可以選取 [組織單位 (OU) 以外的預設值 (也就是收件者範圍)。Organizational unit: You can select an organizational unit (OU) other than the default (which is the recipient scope). 如果將收件者範圍設定為樹系,則預設值會設定為正在執行 EAC 的電腦包含在內的 Active Directory 網域中出現的 [使用者] 容器。If the recipient scope is set to the forest, the default value is set to the Users container in the Active Directory domain that contains the computer on which the EAC is running. 若收件者範圍設為特定網域,則依預設會選取該網域的使用者容器。If the recipient scope is set to a specific domain, the Users container in that domain is selected by default. 若收件者範圍設為特定 OU,則依預設會選取該 OU。If the recipient scope is set to a specific OU, that OU is selected by default.

      若要選取不同的 OU,按一下 [瀏覽]。To select a different OU, click Browse. 此對話方塊會顯示樹系中在指定範圍內的所有 OU。The dialog box displays all OUs in the forest that are within the specified scope. 選取所需的 OU,然後再按一下 [確定]Select the desired OU, and then click OK.

    • *使用者登入名稱   使用此方塊輸入使用者用來登入信箱與登入網域的名稱。* User logon name    Use this box to type the name that the user will use to sign in to the mailbox and to log on to the domain. 使用者登入名稱包含 (@) 符號左側的使用者名稱以及右側的尾碼。The user logon name consists of a user name on the left side of the at (@) symbol and a suffix on the right side. 一般來說,尾碼是使用者帳戶所在的網域名稱。Typically, the suffix is the domain name in which the user account resides. 請注意,您無法使用單引號 (') 或雙引號 (") 在使用者登入名稱因為這些字元不受支援。Note that you can't use an apostrophe (') or a quotation mark (") in the user logon name because these characters aren't supported.

      注意

      如果使用者名稱的值不同於 [別名] 方塊中使用的值,然後使用者的電子郵件地址和使用者登入名稱將不同。If the value for the user name is different than the value used in the Alias box, then the user's email address and the user logon name will be different.

    • *新密碼: 使用此方塊輸入使用者必須用來登入其信箱的密碼。* New Password: Use this box to type the password that the user must use to sign in to his or her mailbox.

      注意

      請確定您提供的密碼符合您正在其中建立使用者帳戶之網域的密碼長度、複雜性和歷程需求。Make sure that the password you supply complies with the password length, complexity, and history requirements of the domain in which you are creating the user account.

    • *確認密碼: 使用此方塊來確認您在 [密碼] 方塊中輸入的密碼。* Confirm password: Use this box to confirm the password that you typed in the Password box.

    • 必須在下次登入時變更密碼]: 如果您想要重設密碼,當使用者第一次登入信箱的使用者,請選取此核取方塊。Require password change on next logon: Select this check box if you want the user to reset the password when they first sign in to the mailbox.

      如果您選取此核取方塊,在第一個登入],將新的使用者將會提示要變更密碼的對話方塊。If you select this check box, at first sign-in, the new user will be prompted with a dialog box in which to change the password. 使用者不能順利變更密碼後,才能執行任何工作。The user won't be allowed to perform any tasks until the password is successfully changed.

  6. 按一下 [更多選項] 來設定下列方塊。Click More options to configure the following boxes. 否則,請跳到步驟 7 儲存新的使用者信箱。Otherwise, skip to Step 7 to save the new user mailbox.

    • 指定信箱資料庫: 使用此選項可指定信箱資料庫,而不讓 Exchange 為您選取資料庫。Specify the mailbox database: Use this option to specify a mailbox database instead of allowing Exchange to select a database for you. 按一下 [若要開啟 [選取信箱資料庫] 對話方塊的 [瀏覽]。Click Browse to open the Select Mailbox Database dialog box. 這個對話方塊會列出您 Exchange 組織中所有的信箱資料庫。This dialog box lists all the mailbox databases in your Exchange organization. 依預設,信箱資料庫是以名稱排序。By default, the mailbox databases are sorted by name. 您也可以按一下對應欄位的標題,依照伺服器名稱或版本來排序資料庫。You can also click the title of the corresponding column to sort the databases by server name or version. 選取您要使用的信箱資料庫,然後按一下 [確定]Select the mailbox database you want to use, and then click OK.

    • 為此使用者建立本機封存儲存區: 選取此核取方塊,可為信箱建立封存信箱。Create local archive storage for this user: Select this check box to create an archive mailbox for the mailbox. 如果您建立封存信箱,則信箱項目將依據預設保留原則設定或您的定義,自動從主要信箱移動到封存。If you create an archive mailbox, mailbox items will be moved automatically from the primary mailbox to the archive, based on the default retention policy settings or those you define.

      Click Browse to select a database that resides in the local forest to store the archive mailbox.Click Browse to select a database that resides in the local forest to store the archive mailbox.

      若要深入了解,請參閱Exchange 2013 中的就地封存To learn more, see In-Place Archiving in Exchange 2013.

    • 通訊錄原則: 使用此選項可指定信箱地址通訊錄原則 (ABP)。Address book policy: Use this option to specify an address book policy (ABP) for the mailbox. ABP 包含全域通訊清單 (GAL)、離線通訊錄 (OAB)、會議室清單和一組通訊清單。ABPs contain a global address list (GAL), an offline address book (OAB), a room list, and a set of address lists. 在指派 ABP 給信箱使用者時,他們就可以存取在 Outlook 和 Outlook Web App 中自訂的 GAL。When assigned to mailbox users, an ABP provides them with access to a customized GAL in Outlook and Outlook Web App. 若要深入了解,請參閱<通訊錄原則>。To learn more, see Address book policies.

      在下拉式清單中,選取要與這個信箱產生關聯的原則。In the drop-down list, select the policy that you want associated with this mailbox.

  7. 完成作業後,按一下 [儲存]**** 建立信箱。When you're finished, click Save to create the mailbox.

使用命令介面建立使用者信箱Use the Shell to create a user mailbox

此範例會建立一個名為 Pilar Pinilla 的新使用者帳戶及信箱,其詳細資料如下:This example creates a new user account and mailbox for Pilar Pinilla with the following details:

  • 別名是 pilarpThe alias is pilarp

  • 名字是 Pilar,姓氏是 PinillaThe first name is Pilar and the last name is Pinilla

  • 該名稱與顯示的名稱是 Pilar PinillaThe name and display name is Pilar Pinilla

  • 使用者登入名稱是 pilarp@contoso.comThe user logon name is pilarp@contoso.com

  • 密碼是 Pa$$word1The password is Pa$$word1

  • 將預設的 OU 中建立信箱。The mailbox will be created in the default OU. 若要指定不同的 OU,您可以使用OrganizationalUnit參數。To specify a different OU, you can use the OrganizationalUnit parameter.

New-Mailbox -Alias pilarp -Name "Pilar Pinilla" -FirstName Pilar -LastName Pinilla -DisplayName "Pilar Pinilla" -UserPrincipalName pilarp@contoso.com -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force)

如需語法及參數資訊,請參閱 New-MailboxFor syntax and parameter information, see New-Mailbox.

如何知道這是否正常運作?How do you know this worked?

若要驗證是否成功建立使用者信箱,請執行以下其中一個操作:To verify that you've successfully created a user mailbox, do one of the following:

  • 在 EAC 中,瀏覽至 [收件者   > 信箱In the EAC, navigate to Recipients  > Mailboxes. 信箱清單中將顯示新的使用者信箱。The new user mailbox is displayed in the mailbox list. [信箱類型] 下該類型是使用者Under Mailbox Type, the type is User.

  • 在命令介面中,執行以下命令以顯示新使用者信箱的資訊。In the Shell, run the following command to display information about the new user mailbox.

    Get-Mailbox <Name> | FL Name,RecipientTypeDetails,PrimarySmtpAddress
    

建立現有使用者的信箱Create a mailbox for an existing user

您也可以建立現有使用者具有 Active Directory 使用者帳戶,但沒有對應信箱的使用者的信箱。You can also create user mailboxes for existing users that have an Active Directory user account but don't have a corresponding mailbox. 這稱為信箱啟用現有使用者。This is known as mailbox-enabling existing users. 您啟用信箱功能後,現有的使用者,使用者可以傳送和接收電子郵件訊息。After you mailbox-enable an existing user, the user can send and receive email messages.

使用 EAC 為現有的使用者建立信箱Use the EAC to create a mailbox for an existing user

  1. 在 EAC 中,瀏覽至 [收件者   > 信箱In the EAC, navigate to Recipients  > Mailboxes.

  2. 按一下 [新增 > 使用者信箱Click New > User mailbox.

  3. 新的使用者信箱] 頁面上,在 [別名] 方塊中,輸入使用者的別名,指定使用者的電子郵件別名。On the New user mailbox page, in the Alias box, type the user's alias, which specifies the email alias for the user. 使用者的別名是電子郵件地址中 (@) 符號左側的部分。The user's alias is the portion of the email address on the left side of the at (@) symbol. 它在樹系中必須是唯一的。It must be unique in the forest.

    注意

    如果方塊為空白,會使用 [使用者登入名稱] 的使用者名稱部分之數值作為電子郵件別名。If you leave this box blank, the value from the user name portion of the User logon name is used for the email alias.

  4. 按一下 [現有的使用者]****。Click Existing user.

  5. 按一下 [若要開啟 [選取使用者-整個樹系] 對話方塊的 [瀏覽]。Click Browse to open the Select User - Entire Forest dialog box. This dialog box displays a list of Active Directory user accounts in the forest that aren't mail-enabled or don't have Exchange mailboxes.This dialog box displays a list of Active Directory user accounts in the forest that aren't mail-enabled or don't have Exchange mailboxes. Select the user account you want to mail-enable, and then click OK.Select the user account you want to mail-enable, and then click OK.

    當您為現有使用者建立信箱後,您不必提供帳戶資訊,因為此資訊已存在於 Active Directory 中。When you create a mailbox for an existing user, you don't have to provide account information because this information already exists in Active Directory.

    注意

    與使用者信箱關聯的 Active Directory 帳戶必須與 Exchange 伺服器位於同一樹系。The Active Directory account that is associated with user mailboxes must reside in the same forest as the Exchange server. 若要為信任樹系中的使用者帳戶建立信箱,必須建立連結的信箱。To create a mailbox for a user account that resides in a trusted forest, you have to create a linked mailbox. 請參閱管理連結的信箱See Manage linked mailboxes.

  6. 按一下 [更多選項] 來設定下列方塊。Click More options to configure the following boxes. 否則,請跳到步驟 7 儲存新的使用者信箱。Otherwise, skip to Step 7 to save the new user mailbox.

    • 指定信箱資料庫: 使用此選項可指定信箱資料庫,而不讓 Exchange 為您選取資料庫。Specify the mailbox database: Use this option to specify a mailbox database instead of allowing Exchange to select a database for you. 按一下 [若要開啟 [選取信箱資料庫] 對話方塊的 [瀏覽]。Click Browse to open the Select Mailbox Database dialog box. 這個對話方塊會列出您 Exchange 組織中所有的信箱資料庫。This dialog box lists all the mailbox databases in your Exchange organization. 依預設,信箱資料庫是以名稱排序。By default, the mailbox databases are sorted by name. 您也可以按一下對應欄位的標題,依照伺服器名稱或版本來排序資料庫。You can also click the title of the corresponding column to sort the databases by server name or version. 選取您要使用的信箱資料庫,然後按一下 [確定]Select the mailbox database you want to use, and then click OK.

    • 為此使用者建立本機封存儲存區: 選取此核取方塊,可為信箱建立封存信箱。Create local archive storage for this user: Select this check box to create an archive mailbox for the mailbox. 如果您建立封存信箱,則信箱項目將依據預設保留原則設定或您的定義,自動從主要信箱移動到封存。If you create an archive mailbox, mailbox items will be moved automatically from the primary mailbox to the archive, based on the default retention policy settings or those you define.

      Click Browse to select a database that resides in the local forest to store the archive mailbox.Click Browse to select a database that resides in the local forest to store the archive mailbox.

      若要深入了解,請參閱Exchange 2013 中的就地封存To learn more, see In-Place Archiving in Exchange 2013.

    • 通訊錄原則: 使用此選項可指定信箱地址通訊錄原則 (ABP)。Address book policy: Use this option to specify an address book policy (ABP) for the mailbox. ABP 包含全域通訊清單 (GAL)、離線通訊錄 (OAB)、會議室清單和一組通訊清單。ABPs contain a global address list (GAL), an offline address book (OAB), a room list, and a set of address lists. 在指派 ABP 給信箱使用者時,他們就可以存取在 Outlook 和 Outlook Web App 中自訂的 GAL。When assigned to mailbox users, an ABP provides them with access to a customized GAL in Outlook and Outlook Web App. 若要深入了解,請參閱<通訊錄原則>。To learn more, see Address book policies.

      在下拉式清單中,選取要與這個信箱產生關聯的原則。In the drop-down list, select the policy that you want associated with this mailbox.

  7. 完成作業後,按一下 [儲存]**** 建立信箱。When you're finished, click Save to create the mailbox.

使用命令介面為現有的使用者創立信箱Use the Shell to create a mailbox for an existing user

此範例會為名為 UsersMailboxDatabase 的 Exchange 資料庫上的現有使用者 estherv@contoso.com 建立一個信箱。This example creates a mailbox for the existing user estherv@contoso.com on the Exchange database named UsersMailboxDatabase.

Enable-Mailbox estherv@contoso.com -Database UsersMailboxDatabase

您也可以使用Enable-mailbox指令程式來啟用多個使用者的郵件功能。You can also use the Enable-Mailbox cmdlet to mail-enable multiple users. 以管線傳輸至Enable-mailbox指令程式Get-user指令程式的結果,您可以執行這項操作。You can do this by piping the results of the Get-User cmdlet to the Enable-Mailbox cmdlet. 當您執行Get-user指令程式時,您必須傳回未已啟用郵件功能的使用者。When you run the Get-User cmdlet, you must return only users that aren't already mail-enabled. 若要這麼做,您需要使用RecipientTypeDetails參數指定使用者的值。To do this, you need to specify the value User with the RecipientTypeDetails parameter. 您也可以限制所要求符合您指定之準則的使用者使用Filter參數傳回的結果。You can also limit the results returned by using the Filter parameter to request only users that meet the criteria you specify. 您然後結果以管線輸出至Enable-mailbox指令程式。You then pipe the results to the Enable-Mailbox cmdlet.

例如,下列命令信箱啟用原本未啟用郵件功能,而且值中的UserPrincipalName屬性,這有助於確保您不小心將轉換系統帳戶至信箱的使用者。For example, the following command mailbox-enables users who aren't already mail-enabled and that have a value in the UserPrincipalName property, which helps ensure that you don't inadvertently convert a system account to a mailbox.

Get-User -RecipientTypeDetails User -Filter { UserPrincipalName -ne $Null } | Enable-Mailbox

如需語法及參數的相關資訊,請參閱 Enable-MailboxGet-User.For syntax and parameter information, see Enable-Mailbox and Get-User.

如需管線的詳細資訊,請參閱PipeliningFor more information about pipelining, see Pipelining.

如何知道這是否正常運作?How do you know this worked?

若要驗證是否成功建立現有使用者的信箱,請執行以下其中一個操作:To verify that you've successfully created a mailbox for an existing user, do one of the following:

  • 在 EAC 中,瀏覽至 [收件者   > 信箱In the EAC, navigate to Recipients  > Mailboxes. 啟用信箱功能的新使用者會顯示在信箱清單。The new mailbox-enabled user is displayed in the mailbox list. [信箱類型] 下該類型是使用者Under Mailbox Type, the type is User.

  • 在命令介面中,執行以下命令以顯示新啟用信箱之使用者的資訊。In the Shell, run the following command to display information about the new mailbox-enabled user.

    Get-Mailbox <Name> | FL Name,RecipientTypeDetails,PrimarySmtpAddress
    

    請注意該值的RecipientTypeDetails內容是UserMailboxNote that value for the RecipientTypeDetails property is UserMailbox.