管理邮件用户Manage mail users

类似于邮件联系人的邮件用户。都安装了外部电子邮件地址和同时包含有关您可以在共享的地址中显示的 Exchange Online 组织外部的人员的书籍和其他地址列表。但是,与邮件联系人,不同的邮件用户具有 Exchange 或 Office 365 组织中的登录凭据并且可以访问资源。有关详细信息,请参阅RecipientsMail users are similar to mail contacts. Both have external email addresses and both contain information about people outside your Exchange or Exchange Online organization that can be displayed in the shared address book and other address lists. However, unlike a mail contact, a mail user has logon credentials in your Exchange or Office 365 organization and can access resources. For more information, see Recipients.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:2 分钟。Estimated time to complete: 2 minutes.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Mailbox Permissions主题中的"收件人设置权限"部分。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 Mailbox 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.

提示

有问题?寻求帮助 Exchange 论坛。访问在Exchange ServerExchange OnlineExchange Online Protection论坛正在Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection..

您想执行什么操作?What do you want to do?

创建邮件用户Create a mail user

使用 EAC 创建邮件用户Use the EAC to create a mail user

  1. 在 EAC 中,导航到收件人 > 联系人 > 新建 > 邮件用户In the EAC, navigate to Recipients > Contacts > New > Mail user.

  2. 新邮件用户页中*别名框中,键入邮件用户的别名。别名不能超过 64 个字符,并且在林中必须唯一。此框是必需的。On the New mail user page, in the * Alias box, type the alias for the mail user. The alias can't exceed 64 characters and must be unique in the forest. This box is required.

  3. 执行以下操作之一来指定邮件用户的电子邮件地址类型:Do one of the following to specify the email address type for the mail user:

    • 若要指定邮件用户的外部电子邮件地址的 SMTP 电子邮件地址,请单击SMTPTo specify an SMTP email address for the mail user's external email address, click SMTP.

      备注

      Exchange 验证正确设置格式的 SMTP 地址。如果您的项是与 SMTP 格式不一致,单击保存以创建邮件用户时,将显示一条错误消息。Exchange validates SMTP addresses for correct formatting. If your entry is inconsistent with the SMTP format, an error message will be displayed when you click Save to create the mail user.

    • 要指定自定义地址类型,单击选项按钮,然后键入自定义地址类型。例如,可以指定 X.500 地址、GroupWise 地址或 Lotus Notes 地址。To specify a custom address type, click the option button and then type the custom address type. For example, you can specify an X.500, GroupWise, or Lotus Notes address.

  4. *外部电子邮件地址框中,键入邮件用户的外部电子邮件地址。电子邮件发送给此邮件用户被转接到此电子邮件地址。此框是必需的。In the * External email address box, type the mail user's external email address. Email sent to this mail user is forwarded to this email address. This box is required.

  5. 选择下列选项之一:Select one of the following options:

    • 现有用户选择要启用的现有用户的邮件。Existing user Select to mail-enable an existing user.

      单击浏览以打开选择用户的整个林对话框。此对话框中显示不启用邮件的或者没有邮箱的组织中的用户帐户的列表。选择您想要启用邮件的用户帐户,然后单击确定。如果选择此选项,您无需因为此信息已存在于 Active Directory 中提供的用户帐户信息。Click Browse to open the Select User - Entire Forest dialog box. This dialog box displays a list of user accounts in the organization that aren't mail-enabled or don't have mailboxes. 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.

    • 新用户选择要在 Active Directory 中创建一个新的用户帐户和用户启用邮件。如果选择此选项,您将需要提供所需的用户帐户信息。New user Select to create a new user account in Active Directory and mail-enable the user. If you select this option, you'll have to provide the required user account information.

  6. 如果您选择在步骤 5 中的新用户,填写下列框在新邮件用户页上。否则,请跳到步骤 7。If you selected New User in Step 5, complete the following boxes on the New mail user page. Otherwise skip to Step 7.

    • 名字使用此框可以键入邮件用户的名字。First name Use this box to type the first name of the mail user.

    • 首字母缩写使用此框可以键入邮件用户的首字母缩写。Initials Use this box to type the initials of the mail user.

    • 姓氏使用此框可以键入邮件用户的姓氏。Last name Use this box to type the last name of the mail user.

    • *显示名称使用此框可以键入用户的显示名称。这是在 EAC 中和您的组织的通讯簿中的联系人列表中列出的名称。默认情况下,此框中填入在名字缩写姓氏框中输入的名称。如果您未使用这些框,则必须仍键入名称在此框中因为它是必需。名称不能超过 64 个字符。* Display name Use this box to type a display name for the user. This is the name that's listed in the contacts list in the EAC and in your organization's 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. The name can't exceed 64 characters.

    • *名称使用此框可以键入邮件用户的名称。这是目录服务中列出的名称。此框还将填充您在名字缩写姓氏框中输入的名称。如果您未使用这些框,则仍必须键入名称,因为此框是必需的。此名称也不能超过 64 个字符。* Name Use this box to type a name for the mail user. This is the name that's listed in the directory service. 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. This name also can't exceed 64 characters.

      备注

      名称框才 Exchange Server 2013 中可用。它不是 Exchange Online 中可用。The Name box is only available in Exchange Server 2013. It isn't available in Exchange Online.

    • 组织单位您可以选择非默认 (即收件人作用域) 的组织单位 (OU)。如果收件人作用域设置为林,默认值是包含在其运行 EAC 的计算机的域中,设置为用户容器。如果收件人作用域设置为特定域,该域中用户容器处于选中状态,默认情况下。如果收件人作用域设置为的特定 OU,该 OU 在默认情况下处于选中状态。Organizational unit You can select an organizational unit (OU) other than the default (which is the recipient scope). If the recipient scope is set to the forest, the default value is set to the Users container in the 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. If the recipient scope is set to a specific OU, that OU is selected by default.

      若要选择一个不同的 OU,单击浏览。对话框将显示在指定范围内的林中所有组织单位。选择您希望,的 OU,然后单击确定To select a different OU, click Browse. The dialog box displays all OUs in the forest that are within the specified scope. Select the OU you want, and then click OK.

      备注

      组织单位框才 Exchange Server 2013 中可用。它不是 Exchange Online 中可用。The Organizational unit box is only available in Exchange Server 2013. It isn't available in Exchange Online.

    • *用户登录名使用此框可以将用于登录到域的邮件用户的名称。用户登录名包含上的左边界的用户名,(@) 符号和右侧后缀。通常,后缀是用户帐户所在的域名。* User logon name Use this box to type the name that the mail user will use 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 the user account resides in.

      备注

      在 Exchange Online 中,此框被标记为用户 IDIn Exchange Online, this box is labeled as User ID.

    • *新密码使用此框可以键入邮件用户必须使用登录到域的密码。* New Password Use this box to type the password that the mail user must use to log on to the domain.

      备注

      请确保您提供的密码符合您正在创建的用户帐户的域的密码长度和复杂性,历史记录要求。Make sure that the password you supply complies with the password length, complexity, and history requirements of the domain you're creating the user account in.

    • *确认密码使用此框以确认您在密码框中键入密码。* 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 mail users to reset the password when they first log on to the domain.

      如果选中此复选框,在初次登录时,将通过对话框提示新邮件用户更改密码。在成功更改密码之前,将不允许邮件用户执行任何任务。If you select this check box, at first logon, the new mail user will be prompted with a dialog box in which to change the password. The mail user won't be allowed to perform any tasks until the password is changed successfully.

  7. 后完成后,单击保存以创建邮件用户。When you've finished, click Save to create the mail user.

使用命令行管理程序创建邮件用户Use the Shell to create a mail user

此示例使用以下详细信息的 Exchange Server 2013 中的 Jeffrey Zeng 创建启用邮件的用户帐户:This example creates a mail-enabled user account for Jeffrey Zeng in Exchange Server 2013 with the following details:

  • 姓名和显示名是 Jeffrey Zeng。The name and display name is Jeffrey Zeng.

  • 别名是 jeffreyz。The alias is jeffreyz.

  • 外部电子邮件地址是 jzeng@tailspintoys.com。The external email address is jzeng@tailspintoys.com.

  • 名是 Jeffrey,姓是 Zeng。The first name is Jeffrey and the last name is Zeng.

  • 登录名为 jeffreyz@contoso.com。The logon name is jeffreyz@contoso.com.

  • 密码为 Pa$$word1。The password is Pa$$word1.

  • 将默认 OU 中创建邮件用户。若要指定一个不同的 OU,您可以使用_OrganizationalUnit_参数。The mail user will be created in the default OU. To specify a different OU, you can use the OrganizationalUnit parameter.

New-MailUser -Name "Jeffrey Zeng" -Alias jeffreyz -ExternalEmailAddress jzeng@tailspintoys.com -FirstName Jeffrey -LastName Zeng -UserPrincipalName jeffreyz@contoso.com -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force)

本示例为廖廖 Exchange Online 中创建的启用邮件的用户帐户。This example creates a mail-enabled user account for Rene Valdes in Exchange Online.

New-MailUser -Name "Rene Valdes" -Alias renev -ExternalEmailAddress renevaldes@fineartschool.edu -FirstName Rene -LastName Valdes -MicrosoftOnlineServicesID renev@contoso.com -Password (ConvertTo-SecureString -String 'P@ssw0rd' -AsPlainText -Force)

您如何知道这有效?How do you know this worked?

若要验证已成功创建邮件用户,请执行以下任一操作:To verify that you've successfully created a mail user, do one of the following:

  • 在 EAC 中,导航到收件人 > 联系人。在联系人列表中显示新邮件用户。在联系人类型下的类型是邮件用户In the EAC, navigate to Recipients > Contacts. The new mail user is displayed in the list of contacts. Under Contact Type, the type is Mail user.

  • 在命令行管理程序中,运行以下命令可显示有关此新邮件用户的信息。In the Shell, run the following command to display information about the new mail user.

    Get-MailUser <Name> | FL Name,RecipientTypeDetails,ExternalEmailAddress
    

更改邮件用户属性Change mail user properties

创建邮件用户后,您可以使用 EAC 或命令行管理程序进行更改和设置其他属性。After you create a mail user, you can make changes and set additional properties by using the EAC or the Shell.

您还可以同时更改多个用户邮箱的属性。有关详细信息,请参阅使用 EAC 批量编辑邮件用户You can also change properties for multiple user mailboxes at the same time. For more information, see Use the EAC to bulk edit mail users.

完成此任务的估计时间将会根据您要查看或更改的属性数量而异。The estimated time to complete this task will vary based on the number of properties you want to view or change.

使用 EAC 更改用户邮箱属性Use the EAC to change user mailbox properties

  1. 在 EAC 中,导航到收件人 > 联系人In the EAC, navigate to Recipients > Contacts.

  2. 在联系人列表中,单击您想要更改的属性,邮件用户,然后单击编辑编辑图标In the list of contacts, click the mail user that you want to change the properties for, and then click EditEdit icon.

  3. 在“邮件用户属性”页面上,单击以下部分之一可查看或更改属性。On the mail user properties page, click one of the following sections to view or change properties.

常规General

使用常规部分可以查看或更改邮件用户的基本信息。Use the General section to view or change basic information about the mail user.

  • 缩写First name, Initials, Last name

  • *名称这是在 Active Directory 中列出的名称。如果更改此名称,它不能超过 64 个字符。* Name This is the name that's listed in Active Directory. If you change this name, it can't exceed 64 characters.

  • *显示名称*** 此名称将出现在贵组织的通讯簿上: 以及从: 在电子邮件,并在 EAC 中的联系人列表中的行。此名称不能包含空格之前, 或之后的显示名称。* Display name **** This name appears in your organization's address book, on the To: and From: lines in email, and in the list of contacts in the EAC. This name can't contain empty spaces before or after the display name.

  • *用户登录名这是用户用来登录到域的名称。在 Exchange Online 中,这是用户使用登录到 Office 365 的用户 ID。* User logon name This is the name that the user uses to log on to the domain. In Exchange Online, this is the User ID that the user uses to sign in to Office 365.

  • 地址列表中隐藏选中此复选框以禁止在通讯簿和其他 Exchange 组织中定义的地址列表中显示的邮件用户。选中此复选框后,用户可以仍发送邮件给收件人使用的电子邮件地址。Hide from address lists Select this check box to prevent the mail user from appearing in the address book and other address lists that are defined in your Exchange organization. After you select this check box, users can still send messages to the recipient by using the email address.

  • 需要在下次登录的密码更改如果您希望用户的下次登录到域重置其密码,请选中此复选框。Require password change on next logon Select this check box if you want the user to reset their password the next time they log on to the domain.

    备注

    此框在 Exchange Online 中不可用。This box isn't available in Exchange Online.

单击更多选项以查看或更改这些附加属性:Click More options to view or change these additional properties:

  • 组织单位此只读框显示包含邮件的用户帐户的组织单位 (OU)。您必须使用 Active Directory 用户和计算机的帐户移到不同的 OU。Organizational unit This read-only box displays the organizational unit (OU) that contains the mail user account. You have to use Active Directory Users and Computers to move the account to a different OU.

    备注

    此框在 Exchange Online 中不可用。This box isn't available in Exchange Online.

  • 自定义属性此部分显示为邮件用户定义的自定义属性。要指定自定义属性值,请单击编辑编辑图标。您可以指定收件人的最多包含 15 自定义属性。Custom attributes This section displays the custom attributes defined for the mail user. To specify custom attribute values, click EditEdit icon. You can specify up to 15 custom attributes for the recipient.

联系人信息Contact Information

使用联系人信息部分可以查看或更改用户的联系人信息。在通讯簿中显示此页上的信息。单击更多选项以显示其他框。Use the Contact Information section to view or change the user's contact information. The information on this page is displayed in the address book. Click More options to display additional boxes.

提示

您可以使用州/省框中,创建动态通讯组、 电子邮件地址策略或地址列表的收件人条件。You can use the State/Province box to create recipient conditions for dynamic distribution groups, email address policies, or address lists.

组织Organization

组织部分用于组织中记录有关用户的角色的详细的信息。在通讯簿中显示此信息。此外,您可以创建可从如 Outlook 电子邮件客户端访问虚拟组织图表。Use the Organization section to record detailed information about the user's role in the organization. This information is displayed in the address book. Also, you can create a virtual organization chart that's accessible from email clients such as Outlook.

  • 标题使用此框可以查看或更改收件人的职务。Title Use this box to view or change the recipient's title.

  • 部门使用此框可以查看或更改用户工作方式的部门。您可以使用此框创建收件人条件为动态通讯组,电子邮件地址策略或地址列表。Department Use this box to view or change the department in which the user works. You can use this box to create recipient conditions for dynamic distribution groups, email address policies, or address lists.

  • 公司使用此框可以查看或更改的公司用户工作方式。您可以使用此框创建收件人条件为动态通讯组,电子邮件地址策略或地址列表。Company Use this box to view or change the company for which the user works. You can use this box to create recipient conditions for dynamic distribution groups, email address policies, or address lists.

  • 管理器若要添加管理器,请单击浏览选择管理器中选择的人员,,然后单击确定Manager To add a manager, click Browse. In Select Manager, select a person, and then click OK.

  • 直接下属不能修改此框。直接报表是向特定经理报告的用户。如果已指定用户的管理员,该用户将显示为经理的邮箱的详细信息中的直接报告。例如,付管理 Chris 和 Kate,以便为 Chris 和 Kate,在管理器框中指定付和 Chris 并 Kate 付的帐户的属性中的直接下属框中显示。Direct reports You can't modify this box. A direct report is a user who reports to a specific manager. If you've specified a manager for the user, that user appears as a direct report in the details of the manager's mailbox. For example, Kari manages Chris and Kate, so Kari is specified in the Manager box for Chris and Kate, and Chris and Kate appear in the Direct reports box in the properties of Kari's account.

电子邮件地址Email Addresses

使用电子邮件地址部分可以查看或更改与邮件用户关联的电子邮件地址。这包括邮件用户的主 SMTP 地址,其外部电子邮件地址和任何关联的代理地址。在地址列表中,使用类型列中的大写SMTP值的加粗文本中显示的主 SMTP 地址 (也称为默认答复地址)。默认情况下创建邮件用户后的主 SMTP 地址和外部电子邮件地址是相同的。Use the Email Addresses section to view or change the email addresses associated with the mail user. This includes the mail user's primary SMTP address, their external email address, and any associated proxy addresses. The primary SMTP address (also known as the default reply address) is displayed in bold text in the address list, with the uppercase SMTP value in the Type column. By default, after the mail user is created, the primary SMTP address and the external email address are the same.

  • 添加单击 * * 添加 * 添加图标添加此邮箱的新电子邮件地址。选择以下地址类型之一:Add* Click ** Add **Add Icon to add a new email address for this mailbox. Select one of following address types:

    • SMTP这是默认地址类型。单击此按钮,然后键入新的 SMTP 地址,在*电子邮件地址框。SMTP This is the default address type. Click this button and then type the new SMTP address in the * Email address box.

    • 自定义地址类型单击此按钮,然后键入中支持的非 SMTP 电子邮件地址类型之一*电子邮件地址框。Custom address type Click this button and type one of the supported non-SMTP email address types in the * Email address box.

      备注

      除 X.400 地址以外,Exchange 不验证自定义地址的格式是否正确。您必须确保所指定的自定义地址符合该地址类型的格式要求。With the exception of X.400 addresses, Exchange doesn't validate custom addresses for correct formatting. You must make sure that the custom address you specify complies with the format requirements for that address type.

  • 设置外部电子邮件地址使用此框更改邮件用户的外部地址。电子邮件发送给此邮件用户被转接到此电子邮件地址。Set the external email address Use this box to change the mail user's external address. Email sent to this mail user is forwarded to this email address.

  • 自动更新基于电子邮件地址策略应用于此收件人的电子邮件地址基于电子邮件地址策略,组织中的所做的更改的情况下选中此复选框进行自动更新的收件人的电子邮件地址。默认情况下,此框为选中状态。Automatically update email addresses based on the email address policy applied to this recipient Select this check box to have the recipient's email addresses automatically updated based on changes made to email address policies in your organization. This box is selected by default.

    备注

    此复选框不可用在 Exchange Online。This check box isn't available in Exchange Online.

邮件流设置Mail Flow Settings

使用邮件流设置部分可以查看或更改以下设置:Use the Mail Flow Settings section to view or change the following settings:

  • 邮件大小限制这些设置控制的邮件用户可以发送和接收邮件的大小。单击查看详细信息查看和更改发送和接收消息的最大大小。Message Size Restrictions These settings control the size of messages that the mail user can send and receive. Click View details to view and change maximum size for sent and received messages.

    • 已发送邮件要指定此用户发送的消息的最大大小,请选择最大邮件大小 (KB) 复选框,并在框中键入一个值。邮件大小必须介于 0 到 2,097,151 KB 之间。如果用户发送一条消息大于指定大小,将向条描述性错误消息的用户返回的消息。Sent messages To specify a maximum size for messages sent by this user, select the Maximum message size (KB) check box and type a value in the box. The message size must be between 0 and 2,097,151 KB. If the user sends a message larger than the specified size, the message will be returned to the user with a descriptive error message.

    • 收到的邮件要指定此用户接收消息的最大大小,请选择最大邮件大小 (KB) 复选框,并在框中键入一个值。邮件大小必须介于 0 到 2,097,151 KB 之间。如果用户收到一条消息大于指定大小,将向条描述性错误消息发件人返回的消息。Received messages To specify a maximum size for messages received by this user, select the Maximum message size (KB) check box and type a value in the box. The message size must be between 0 and 2,097,151 KB. If the user receives a message larger than the specified size, the message will be returned to the sender with a descriptive error message.

  • 邮件传递限制这些设置控制可以向此邮件用户发送电子邮件。单击查看详细信息,以查看和更改这些限制。Message Delivery Restrictions These settings control who can send email messages to this mail user. Click View details to view and change these restrictions.

    • 从接受邮件使用此部分可以指定哪些用户可以向此用户发送邮件。Accept messages from Use this section to specify who can send messages to this user.

    • 所有发件人选择此选项可指定用户可以接受来自所有发件人的邮件。这包括两个发件人在您的 Exchange 组织和外部发件人。默认情况下已选择此选项。仅当您清除要求所有发件人均通过身份验证复选框,则此选项包括外部用户。如果选中此复选框,则将被拒绝来自外部用户的消息。All senders Select this option to specify that the user can accept messages from all senders. This includes both senders in your Exchange organization and external senders. This option is selected by default. This option includes external users only if you clear the Require that all senders are authenticated check box. If you select this check box, messages from external users will be rejected.

    • 仅以下列表中的发件选择此选项可指定用户可以接受只能从一组指定的 Exchange 组织中的发件人的邮件。单击添加添加图标以显示选择收件人页,其中显示 Exchange 组织中的所有收件人的列表。选择您希望的收件人,将其添加到列表中,然后单击确定。此外可以通过在搜索框中键入收件人的姓名,然后单击搜索搜索特定收件人的搜索图标Only senders in the following list Select this option to specify that the user can accept messages only from a specified set of senders in your Exchange organization. Click AddAdd Icon to display the Select Recipients page, which displays a list of all recipients in your Exchange organization. Select the recipients you want, add them to the list, and then click OK. You can also search for a specific recipient by typing the recipient's name in the search box and then clicking SearchSearch icon.

    • 要求所有发件人均通过身份验证选择此选项可防止匿名用户向用户发送邮件。Require that all senders are authenticated Select this option to prevent anonymous users from sending messages to the user.

    • 拒绝来自邮件使用此部分块人将邮件发送至该用户。Reject messages from Use this section to block people from sending messages to this user.

    • 没有发件人选择此选项可指定邮箱不会拒绝来自 Exchange 组织中任何发件人的邮件。默认情况下已选择此选项。No senders Select this option to specify that the mailbox won't reject messages from any senders in the Exchange organization. This option is selected by default.

    • 以下列表中的发件人选择此选项可指定邮箱将拒绝来自一组指定的 Exchange 组织中的发件人的邮件。单击添加添加图标以显示选择收件人页,其中显示 Exchange 组织中的所有收件人的列表。选择您希望的收件人,将其添加到列表中,然后单击确定。此外可以通过在搜索框中键入收件人的姓名,然后单击搜索搜索特定收件人的搜索图标Senders in the following list Select this option to specify that the mailbox will reject messages from a specified set of senders in your Exchange organization. Click AddAdd Icon to display the Select Recipients page, which displays a list of all recipients in your Exchange organization. Select the recipients you want, add them to the list, and then click OK. You can also search for a specific recipient by typing the recipient's name in the search box and then clicking SearchSearch icon.

成员属于Member Of

使用隶属于部分可以查看通讯组或安全组对此用户所属的列表。您无法更改此页上的成员身份信息。请注意,用户可能匹配您的组织中的一个或多个动态通讯组的条件。但是,动态通讯组由于每次计算其成员身份不显示此页上使用。Use the Member Of section to view a list of the distribution groups or security groups to which this user belongs. You can't change membership information on this page. Note that the user may match the criteria for one or more dynamic distribution groups in your organization. However, dynamic distribution groups aren't displayed on this page because their membership is calculated each time they're used.

邮件提示MailTip

使用邮件提示部分的潜在问题的警报用户添加邮件提示之前向此收件人发送一条消息。邮件提示是此收件人添加到收件人、 抄送或密件抄送行的新电子邮件时,信息栏中显示的文本。Use the MailTip section to add a MailTip to alert users of potential issues before they send a message to this recipient. A MailTip is text that's displayed in the InfoBar when this recipient is added to the To, Cc, or Bcc lines of a new email message.

备注

邮件提示可包含 HTML 标记,但不允许包含脚本。自定义邮件提示的长度不能超过 175 个显示的字符。此字符限制不计入 HTML 标记。MailTips can include HTML tags, but scripts aren't allowed. The length of a custom MailTip can't exceed 175 displayed characters. HTML tags aren't counted in the limit.

使用命令行管理程序更改邮件用户属性Use the Shell to change mail user properties

邮件用户的属性存储在 Active Directory 和 Exchange 中。一般情况下,使用Get-userSet-user cmdlet 查看和更改组织和联系人信息的属性。使用Get-mailuserSet-mailuser cmdlet 查看或更改与邮件相关属性,例如电子邮件地址,邮件提示,自定义属性和邮件用户是否隐藏发件人地址列表。Properties for a mail user are stored in both Active Directory and Exchange. In general, use the Get-User and Set-User cmdlets to view and change organization and contact information properties. Use the Get-MailUser and Set-MailUser cmdlets to view or change mail-related properties, such email addresses, the MailTip, custom attributes, and whether the mail user is hidden from address lists.

使用 Get-MailUserSet-MailUser cmdlet 查看和更改邮件用户的属性。相关信息请参阅下列主题:Use the Get-MailUser and Set-MailUser cmdlets to view and change properties for mail users. For information, see the following topics:

此处是使用命令行管理程序更改邮件用户属性的一些示例。Here are some examples of using the Shell to change mail user properties.

此示例将设置 Pilar Pinilla 的外部电子邮件地址。This example sets the external email address for Pilar Pinilla.

Set-MailUser "Pilar Pinilla" -ExternalEmailAddress pilarp@tailspintoys.com

本示例隐藏从组织的通讯簿的所有邮件用户。This example hides all mail users from the organization's address book.

Get-MailUser | Set-MailUser -HiddenFromAddressListsEnabled $true

此示例将所有邮件用户的“公司”属性设置为 Contoso。This example sets the Company property for all mail users to Contoso.

Get-User -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'mailuser')} | Set-User -Company Contoso

此示例将“公司”属性为 Contoso 的所有邮件用户的 CustomAttribute1 属性设置为 ContosoEmployee。This example sets the CustomAttribute1 property to a value of ContosoEmployee for all mail users that have a value of Contoso in the Company property.

Get-User -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'mailuser') -and (Company -eq 'Contoso')}| Set-MailUser -CustomAttribute1 ContosoEmployee

您如何知道这有效?How do you know this worked?

若要验证成功更改邮件用户的属性,请执行以下操作:To verify that you've successfully changed properties for mail users, do the following:

  • 在 EAC 中,选择的邮件用户,然后单击编辑编辑图标以查看您更改的属性。In the EAC, select the mail user and then click EditEdit icon to view the property that you changed.

  • 在命令行管理程序中,使用 Get-UserGet-MailUser cmdlet 验证更改。使用此命令行管理程序的一个优势是您可以查看多个邮件联系人的多个属性。In the Shell, use the Get-User and Get-MailUser cmdlets to verify the changes. One advantage of using the Shell is that you can view multiple properties for multiple mail contacts.

    Get-MailUser | Fl Name,CustomAttribute1 
    

    在上述示例中所有邮件用户的“公司”属性都设置为 Contoso,请运行以下命令验证更改:In the example above where the Company property was set to Contoso for all mail contacts, run the following command to verify the changes:

    Get-User -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'mailuser')} | FL Name,Company
    

    在上述示例中所有邮件用户的 CustomAttribute1 属性都设置为 ContosoEmployee,请运行以下命令验证更改:In the example above where all mail users had the CustomAttribute1 property set to ContosoEmployee, run the following command to verify the changes.

    Get-MailUser | Fl Name,CustomAttribute1 
    

批量编辑邮件用户Bulk edit mail users

您还可以使用 EAC 更改多个邮件用户的已选属性。从 EAC 的联系人列表中选择两个或两个以上邮件用户后,“详细信息”窗格中将显示可以批量编辑的属性。在您更改其中一个属性后,所做更改将应用到所有选定的收件人。You can also use the EAC to change selected properties for multiple mail users. When you select two or more mail users from the contacts list in the EAC, the properties that can be bulk edited are displayed in the Details pane. When you change one of these properties, the change is applied to all selected recipients.

批量编辑邮件用户时,您可以更改以下属性区域:When you bulk edit mail users, you can change the following property areas:

  • 联系人信息更改共享的属性,如街道、 邮编和城市名称。Contact Information Change shared properties such as street, postal code, and city name.

  • 组织更改共享的属性,如部门名称、 公司名称和选定的邮件联系人或邮件用户报告给经理。Organization Change shared properties such as department name, company name, and the manager that the selected mail contacts or mail users report to.

使用 EAC 批量编辑邮件用户Use the EAC to bulk edit mail users

  1. 在 EAC 中,导航到收件人 > 联系人In the EAC, navigate to Recipients > Contacts.

  2. 在联系人列表中,选择两个或多个邮件用户。无法批量编辑邮件联系人和邮件用户的组合。In the list of contacts, select two or more mail users. You can't bulk edit a combination of mail contacts and mail users.

    提示

    您可以选择多个相邻的邮件用户,方法是按住 Shift 键,单击要编辑的第一个邮件用户,然后单击最后一个邮件用户。您也可以按住 Ctrl 键并单击要编辑的每个联系人来选择多个邮件用户。You can select multiple adjacent mail users by holding down the Shift key and clicking the first mail user, and then clicking the last mail user you want to edit. You can also select multiple mail users by holding down the Ctrl key and clicking each one that you want to edit.

  3. 在详细信息窗格中,在批量编辑单击下的联系人信息组织更新In the Details pane, under Bulk Edit, click Update under Contact Information or Organization.

  4. 更改属性页面,然后保存所做的更改。Make the changes on the properties page and then save your changes.

您如何知道这有效?How do you know this worked?

若要验证已成功批量编辑的邮件用户,请执行以下任一操作:To verify that you've successfully bulk edited mail users, do one of the following:

  • 在 EAC 中,选择要批量编辑的邮件用户的每个,然后单击编辑编辑图标以查看您已经更改的属性。In the EAC, select each of the mail users that you bulk edited and then click EditEdit icon to view the properties that you changed.

  • 在命令行管理程序中,使用 Get-User cmdlet 验证更改。例如,假设您已使用 EAC 中的批量编辑功能更改了供应商公司 A. Datum Corporation 的所有邮件用户的经理和办公室属性。要验证这些更改,可以在此命令行管理程序中运行以下命令:In the Shell, use the Get-User cmdlet to verify the changes. For example, say you used the bulk edit feature in the EAC to change the manager and the office for all mail users from a vendor company named A. Datum Corporation. To verify these changes, you could run the following command in the Shell:

    Get-User -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'mailuser') -and (Company -eq 'Adatum')} | fl Name,Office,Manager
    

使用目录同步管理 Exchange Online 中的邮件用户Use directory synchronization to manage mail users in Exchange Online

本节提供了有关使用 Exchange Online 中的目录同步管理电子邮件用户的信息。目录同步可为混合客户以及 Active Directory 是本地的完全托管的 Exchange Online 客户提供本地和云托管的邮箱。This section provides information about managing email users by using directory synchronization in Exchange Online. Directory synchronization is available for hybrid customers with on-premises and cloud-hosted mailboxes, and for fully hosted Exchange Online customers whose Active Directory is on-premises.

备注

如果使用目录同步来管理您的收件人,您仍可以添加和管理用户在 Office 365 管理中心,但他们不能与您的本地 Active Directory 同步。这是因为目录同步仅同步到云从您的本地 Active Directory 的收件人。If you use directory synchronization to manage your recipients, you can still add and manage users in the Office 365 admin center, but they will not be synchronized with your on-premises Active Directory. This is because directory synchronization only syncs recipients from your on-premises Active Directory to the cloud.

备注

建议使用目录同步用于以下功能: > Outlook 安全发件人和阻止发件人列表同步到服务时,这些列表将优先于垃圾邮件筛选服务中。这允许用户管理其自己的安全发件人和阻止发件人列表基于每个用户或每个域。>目录基于边缘阻止 (DBEB) DBEB,有关详细信息,请参阅使用 Directory Based Edge Blocking 拒绝邮件发送给无效收件人。>最终用户垃圾邮件隔离以访问最终用户垃圾邮件隔离,最终用户必须具有有效的 Office 365 用户 ID 和密码。内部部署邮箱与客户必须是有效的电子邮件用户。>传输规则时使用目录同步,您现有的 Active Directory 用户和组自动上载到云,然后可以创建面向特定用户和/或组,而不必的传输规则手动将其添加通过 EAC 或远程 Windows PowerShell。请注意,不能通过目录同步同步该动态通讯组Using directory synchronization is recommended for use with the following features: > Outlook safe sender and blocked sender lists When synchronized to the service, these lists will take precedence over spam filtering in the service. This lets users manage their own safe sender and blocked sender lists on a per-user or per-domain basis. > Directory Based Edge Blocking (DBEB) For more information about DBEB, see Use Directory Based Edge Blocking to reject messages sent to invalid recipients. > End user spam quarantine In order to access the end user spam quarantine, end users must have a valid Office 365 user ID and password. Customers with on-premises mailboxes must be valid email users. > Transport rules When you use directory synchronization, your existing Active Directory users and groups are automatically uploaded to the cloud, and you can then create Transport rules that target specific users and/or groups without having to manually add them via the EAC or remote Windows PowerShell. Note that dynamic distribution groups can't be synchronized via directory synchronization.

开始之前Before you begin

获取所需的权限,并准备进行目录同步准备进行目录同步中所述。Get the necessary permissions and prepare for directory synchronization, as described in Prepare for directory synchronization.

同步用户目录的步骤To synchronize user directories

  1. 激活目录同步中所述,激活目录同步。Activate directory synchronization, as described in Activate directory synchronization.

  2. 设置目录同步计算机,设置目录同步计算机中所述。Set up your directory synchronization computer, as described in Set up your directory sync computer.

  3. 使用配置向导同步您的目录中所述,同步您的目录。Synchronize your directories, as described in Use the Configuration Wizard to sync your directories.

    重要

    Azure Active Directory 同步工具配置向导后,在您的 Active Directory 林中创建MSOL_AD_SYNC帐户。此帐户用于读取和同步的本地 Active Directory 信息。为了目录同步正常工作,请确保该 TCP 443 上本地目录同步服务器已打开。When you finish the Azure Active Directory Sync Tool Configuration Wizard, the MSOL_AD_SYNC account is created in your Active Directory forest. This account is used to read and synchronize your on-premises Active Directory information. In order for directory synchronization to work correctly, make sure that TCP 443 on your local directory synchronization server is open.

  4. 激活同步用户中所述,激活同步用户。Activate synced users, as described in Activate synced users.

  5. 管理目录同步中所述,管理目录同步。Manage directory synchronization, as described in Manage directory synchronization.

  6. 验证的 Exchange Online 正确同步。在 EAC 中,转到收件人 > 联系人和用户列表已正确同步内部部署环境中的视图。Verify that Exchange Online is synchronizing correctly. In the EAC, go to Recipients > Contacts and view that the list of users was correctly synchronized from your on-premises environment.