为邮箱配置存储配额Configure storage quotas for a mailbox

您可以使用 Exchange 管理中心(EAC)或 Exchange 命令行管理程序自定义特定邮箱的邮箱存储配额。You can use the Exchange admin center (EAC) or the Exchange Management Shell to customize the mailbox storage quotas for specific mailboxes. 通过存储配额,可以控制邮箱大小,并能管理邮箱数据库的增长。Storage quotas let you control the size of mailboxes and manage the growth of mailbox databases. 当邮箱达到或超过指定的存储配额时,Exchange 会向邮箱所有者发送描述性通知。When a mailbox reaches or exceeds a specified storage quota, Exchange sends a descriptive notification to the mailbox owner.

通常是按数据库配置存储配额。Storage quotas are typically configured on a per-database basis. 也就是说,为邮箱数据库配置的存储配额应用于该数据库中的所有邮箱。This means that the quotas configured for a mailbox database apply to all mailboxes in that database. 有关管理每个数据库邮箱设置的详细信息,请参阅在 Exchange Server 中管理邮箱数据库For more information about managing per-database mailbox settings, see Manage mailbox databases in Exchange Server.

本主题介绍了如何自定义特定邮箱的存储设置,而不是使用邮箱数据库中的存储设置。This topic shows you how to customize storage settings for a specific mailbox instead of using the storage settings from the mailbox database. 有关与用户邮箱相关的其他管理任务,请参阅管理用户邮箱For additional management tasks related to user mailboxes, see Manage user mailboxes.

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

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

  • 您必须先获得权限,然后才能执行此过程或多个过程。若要查看所需的权限,请参阅 收件人权限主题中的"收件人设置权限"部分。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.

提示

遇到问题?请访问以下 Exchange 论坛寻求帮助:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

使用 EAC 设置邮箱的存储配额Use the EAC to set storage quotas for a mailbox

  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 change the storage quotas for, and then click Edit Edit icon.

  3. 在“邮箱属性”页面上,单击“邮箱使用情况”****,然后单击“更多选项”****。On the mailbox properties page, click Mailbox Usage, and then click More options.

  4. 单击 "为此邮箱自定义设置",然后设置以下框。Click Customize the settings for this mailbox, and then set the following boxes. 任何存储配额设置的值范围介于 0 到 2047 千兆字节 (GB) 之间。The value range for any of the storage quota settings is from 0 through 2047 gigabytes (GB).

    • 在(GB)发出警告:此框显示在向用户发出警告之前的最大存储限制。Issue a warning at (GB): This box displays the maximum storage limit before a warning is issued to the user. 如果邮箱大小达到或超过指定值,Exchange 将向邮箱用户发送警告消息。If the mailbox size reaches or exceeds the value specified, Exchange sends a warning message to the user.

      重要

      与 "问题警告" 配额关联的消息不会发送给用户,除非此设置的值大于 "禁止发送配额" 中指定的值的50%。The message associated with the Issue warning quota won't be sent to the user unless the value of this setting is greater than 50% of the value specified in the Prohibit send quota. 例如,如果将“禁止发送”配额设置为 8 MB,至少必须将“发出警告”配额设置为 4 MB。For example, if you set the Prohibit send quota to 8 MB, you must set the Issue warning quota to at least 4 MB. 如果不这样做,则不会发送 "发出警告" 配额消息。If you don't, the Issue warning quota message won't be sent.

    • 禁止发送(GB):如果邮箱大小达到或超过指定的限制,Exchange 将阻止用户发送新邮件,并显示描述性错误消息。Prohibit send at (GB): If the mailbox size reaches or exceeds the specified limit, Exchange prevents the user from sending new messages and displays a descriptive error message.

    • 禁止发送和接收(GB):如果邮箱大小达到或超过指定的限制,Exchange 将阻止邮箱用户发送新邮件,并且不会将任何新邮件传递到邮箱。Prohibit send and receive at (GB): If the mailbox size reaches or exceeds the specified limit, Exchange prevents the mailbox user from sending new messages and won't deliver any new messages to the mailbox. 发送到邮箱的任何邮件将返回给收件人,并附带一条描述性错误消息。Any messages sent to the mailbox are returned to the sender with a descriptive error message.

  5. 单击“保存”**** 保存更改。Click Save to save your changes.

使用 Exchange 命令行管理程序为邮箱配置存储配额Use the Exchange Management Shell to configure storage quotas for a mailbox

本示例将 Joe Healy 的邮箱的发出警告限制、禁止发送限制、禁止发送和接收限制分别设置为 24.5 GB、24.75 GB 和 25 GB。This example sets the issue warning, prohibit send, and prohibit send and receive quotas for Joe Healy's mailbox to 24.5 GB, 24.75 GB, and 25 GB respectively.

备注

若要确保使用邮箱的自定义设置而非邮箱数据库默认设置,必须将_UseDatabaseQuotaDefaults_参数设置为$falseTo ensure that the custom settings for the mailbox are used rather than the mailbox database defaults, you must set the UseDatabaseQuotaDefaults parameter to $false.

Set-Mailbox -Identity "Joe Healy" -IssueWarningQuota 24.5gb -ProhibitSendQuota 24.75gb -ProhibitSendReceiveQuota 25gb -UseDatabaseQuotaDefaults $false

本示例将 Ayla Kol 的邮箱的发出警告限制、禁止发送限制、禁止发送和接收限制分别设置为 900 MB、950 MB 和 1 GB,然后配置该邮箱以使用自定义设置。This example sets the issue warning, prohibit send, and prohibit send and receive quotas for Ayla Kol's mailbox to 900 megabytes (MB), 950 MB, and 1 GB respectively, and configures the mailbox to use custom settings.

Set-Mailbox -Identity "Ayla Kol" -IssueWarningQuota 900mb -ProhibitSendQuota 950mb -ProhibitSendReceiveQuota 1gb -UseDatabaseQuotaDefaults $false

有关语法和参数的详细信息,请参阅 Set-MailboxFor detailed syntax and parameter information, see Set-Mailbox.

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

若要验证是否已成功为邮箱设置存储配额,请执行下列操作之一:To verify that you've successfully set the storage quotas for a mailbox, do one of 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 storage quotas for, and then click Edit Edit icon.

  3. 在“邮箱属性”页面上,单击“邮箱使用情况”****,然后单击“更多选项”****。On the mailbox properties page, click Mailbox Usage, and then click More options.

  4. 验证已选中“为此邮箱自定义设置”****。Verify that Customize the settings for this mailbox is selected.

  5. 验证存储配额设置。Verify the storage quota settings.

Or

在 Exchange 命令行管理程序中<,>将 Identity 替换为该邮箱的名称、电子邮件地址或别名,然后运行以下命令:In the Exchange Management Shell, replace <Identity> with the name, email address or alias of the mailbox, and run the following command:

Get-Mailbox <Identity> | Format-List IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota,UseDatabaseQuotaDefaults