为 Exchange 2013 中的邮箱配置邮件传递限制Configure message delivery restrictions for a mailbox in Exchange 2013

适用于: Exchange Server 2013Applies to: Exchange Server 2013

您可以使用 EAC 或命令行管理程序对是否将邮件传递到单个收件人施加限制。You can use the EAC or the Shell to place restrictions on whether messages are delivered to individual recipients. 邮件传递限制可用于控制谁可以向组织中的用户发送邮件。Message delivery restrictions are useful to control who can send messages to users in your organization. 例如,可以将邮箱配置为接受或拒绝特定用户发送的邮件,或者配置为仅接受来自 Exchange 组织中的用户的邮件。For example, you can configure a mailbox to accept or reject messages sent by specific users or to accept messages only from users in your Exchange organization.

本主题中介绍的邮件传递限制适用于所有收件人类型。有关不同收件人类型的详细信息,请参阅RecipientsThe message delivery restrictions covered in this topic apply to all recipient types. To learn more about the different recipient types, see Recipients.

有关与收件人相关的其他管理任务,请参阅下列主题:For additional management tasks related to recipients, see the following topics:

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

提示

是否有任何疑问?Having problems? 在 Exchange 论坛中寻求帮助。Ask for help in the Exchange forums. 请访问 以下论坛Exchange Server。Visit the forums at Exchange Server.

使用 EAC 配置邮件传递限制Use the EAC to configure message delivery restrictions

  1. In the EAC, navigate to Recipients > Mailboxes.In the EAC, navigate to Recipients > Mailboxes.

  2. 在用户邮箱列表中,单击要配置其邮件传递限制的邮箱,然后单击"编辑 编辑  "图标 In the list of user mailboxes, click the mailbox that you want to configure message delivery restrictions for, and then click Edit Edit icon.

  3. 在邮箱属性页上,单击“邮箱功能”。On the mailbox properties page, click Mailbox Features.

  4. 在“邮件传递限制”下,单击“查看详情”以查看并更改以下传递限制:Under Message Delivery Restrictions, click View details to view and change the following delivery restrictions:

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

    • 所有发件人 此选项指定用户可以接受来自所有发件人的邮件。All senders This option specifies that the user can accept messages from all senders. 这包括 Exchange 组织中的发件人和外部发件人。This includes both senders in your Exchange organization and external senders. 这是默认选项。This is the default option. 仅在清除"要求所有发件人均通过身份验证"复选框时,才包括 外部 用户。It 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 组织中指定的一组发件人的邮件。Only senders in the following list This option specifies that the user can accept messages only from a specified set of senders in your Exchange organization. 单击 "  添加添加 图标"以显示 Exchange 组织中所有收件人的列表。Click Add Add Icon to display 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 Search Search icon.

    • 要求所有发件人均通过身份验证 此选项可防止匿名用户向用户发送邮件。Require that all senders are authenticated This option prevents anonymous users from sending messages to the user. 其中包括 Exchange 组织外部的外部用户。This includes external users that are outside of your Exchange organization.

    • 拒绝来自的邮件 使用此部分可阻止用户向此用户发送邮件。Reject messages from Use this section to block people from sending messages to this user.

    • 无发件人 此选项指定邮箱不会拒绝来自 Exchange 组织中任何发件人的邮件。No senders This option specifies that the mailbox won't reject messages from any senders in the Exchange organization. 这是默认选项。This is the default option.

    • 以下列表中的发件人 此选项指定邮箱将拒绝来自 Exchange 组织中一组指定发件人的邮件。Senders in the following list This option specifies that the mailbox will reject messages from a specified set of senders in your Exchange organization. 单击 "  添加添加 图标"以显示 Exchange 组织中所有收件人的列表。Click Add Add Icon to display 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 Search Search icon.

  5. 单击“确定”关闭“邮件传递限制”页面,然后单击“保存”保存所做的更改。Click OK to close the Message Delivery Restrictions page, and then click Save to save your changes.

使用命令行管理程序配置邮件传递限制Use the Shell to configure message delivery restrictions

以下示例显示如何使用命令行管理程序为邮箱配置邮件传递限制。The following examples show how to use the Shell to configure message delivery restrictions for a mailbox. 对于其他收件人类型,请使用具有相同 参数的相应 Set- cmdlet。For other recipient types, use the corresponding Set- cmdlet with the same parameters.

此示例将 Robin Wood 的邮箱配置为仅接受来自用户 Lori Penor、Jeff Phillips 以及通讯组 Legal Team 1 的成员的邮件。This example configures the mailbox of Robin Wood to accept messages only from the users Lori Penor, Jeff Phillips, and members of the distribution group Legal Team 1.

Set-Mailbox -Identity "Robin Wood" -AcceptMessagesOnlyFrom "Lori Penor","Jeff Phillips" -AcceptMessagesOnlyFromDLMembers "Legal Team 1"

备注

如果要将邮箱配置为仅接受来自单个发件人的邮件,您必须使用 AcceptMessagesOnlyFrom 参数。If you're configuring a mailbox to accept messages only from individual senders, you have to use the AcceptMessagesOnlyFrom parameter. 如果要将邮箱配置为仅接受来自作为特定通讯组成员的发件人的邮件,请使用 AcceptMessagesOnlyFromDLMembers 参数。If you're configuring a mailbox to accept messages only from senders that are members of a specific distribution group, use the AcceptMessagesOnlyFromDLMembers parameter.

此示例将用户 David Pelton 添加到 Robin Wood 的邮箱接受其邮件的用户列表中。This example adds the user named David Pelton to the list of users whose messages will be accepted by the mailbox of Robin Wood.

Set-Mailbox -Identity "Robin Wood" -AcceptMessagesOnlyFrom @{add="David Pelton"}

此示例将 Robin Wood 的邮箱配置为需要对所有发件人进行身份验证。这意味着该邮箱将仅接受 Exchange 组织中的其他用户所发送的邮件。This example configures the mailbox of Robin Wood to require all senders to be authenticated. This means the mailbox will only accept messages sent by other users in your Exchange organization.

Set-Mailbox -Identity "Robin Wood" -RequireSenderAuthenticationEnabled $true

此示例将 Robin Wood 的邮箱配置为拒绝来自用户 Joe Healy、Terry Adams 以及通讯组 Legal Team 2 的成员的邮件。This example configures the mailbox of Robin Wood to reject messages from the users Joe Healy, Terry Adams, and members of the distribution group Legal Team 2.

Set-Mailbox -Identity "Robin Wood" -RejectMessagesFrom "Joe Healy","Terry Adams" -RejectMessagesFromDLMembers "Legal Team 2"

此示例将 Robin Wood 的邮箱配置为也拒绝组 Legal Team 3 的成员发送的邮件。This example configures the mailbox of Robin Wood to also reject messages sent by members of the group Legal Team 3.

Set-Mailbox -Identity "Robin Wood" -RejectMessagesFromDLMembers @{add="Legal Team 3"}

备注

如果要将邮箱配置为拒绝来自单个发件人的邮件,您必须使用 RejectMessagesFrom 参数。If you're configuring a mailbox to reject messages from individual senders, you have to use the RejectMessagesFrom parameter. 如果要将邮箱配置为拒绝来自作为特定通讯组成员的发件人的邮件,请使用 RejectMessagesFromDLMembers 参数。If you're configuring a mailbox to reject messages from senders that are members of a specific distribution group, use the RejectMessagesFromDLMembers parameter.

有关与为不同类型的收件人配置传递限制相关的语法和参数的详细信息,请参阅下列主题:For detailed syntax and parameter information related to configuring delivery restrictions for different types of recipients, see the following topics:

如何判断是否生效?How do you know this worked?

若要验证是否成功配置了用户邮箱的邮件传递限制,请执行下列操作之一:To verify that you've successfully configured message delivery restrictions for a user mailbox, do one the following:

  1. In the EAC, navigate to Recipients > Mailboxes.In the EAC, navigate to Recipients > Mailboxes.

  2. 在用户邮箱列表中,单击要验证其邮件传递限制的邮箱,然后单击"编辑 编辑  "图标 In the list of user mailboxes, click the mailbox that you want to verify the message delivery restrictions for, and then click Edit Edit icon.

  3. 在邮箱属性页上,单击“邮箱功能”。On the mailbox properties page, click Mailbox Features.

  4. 在“邮件传递限制”下,单击“查看详情”以验证邮箱的传递限制。Under Message Delivery Restrictions, click View details to verify the delivery restrictions for the mailbox.

Or

在命令行管理程序中运行以下命令。Run the following command in the Shell.

Get-Mailbox <identity> | Format-List AcceptMessagesOnlyFrom,AcceptMessagesOnlyFromDLMembers,RejectMessagesFrom,RejectMessagesFromDLMembers,RequireSenderAuthenticationEnabled