Exchange Online – Gerenciando mailbox quota

By: Caio Ribeiro César

 

Alguns administradores perguntam qual a melhor maneira de monitorar o tamanho das contas de e-mail e as quotas do O365. Além dos reports existentes no portal, existe uma maneira simples de receber avisos (assim como o usuário final) do tamanho das mailboxes.

Uma das maneiras “pró-ativas” de se monitorar o tamanho das mailboxes do seu ambiente O365 é confirmando o “IssueWarningQuota”e criando uma regra de transporte que irá avisar o administrador (ou um grupo de distribuição que contenha os membros da área de Tecnologia).

Inicialmente, valide os limites de mailbox no Exchange Online para a sua subscrição. Geralmente, o limite é de 50GB – porém é sempre bom validar nesta URL adicionada, pois algumas subscrições não possuem este limite, que pode também ser alterado no futuro.

Enfim, validando o artigo acima vamos então ao entendimento de IssueWarningQuota, ProhibitSendQuota, ProhibitSendReceiveQuota

get-mailbox -id usercloud | fl IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota

IssueWarningQuota : 49 GB (52,613,349,376 bytes)

ProhibitSendQuota : 49.5 GB (53,150,220,288 bytes)

ProhibitSendReceiveQuota : 50 GB (53,687,091,200 bytes)

IssueWarningQuota

“The IssueWarningQuota parameter specifies the warning threshold for the size of the mailbox. If the mailbox reaches or exceeds this size, the user receives a descriptive warning message.

 In Office 365, the quota value is determined by the subscriptions and licenses that administrators purchase and assign in the Office 365 admin center. You can lower the quota value, but you can't exceed the default value specified by the subscription or license.”

- Em outras palavras, quando o valor de 49GB for alcançado, o usuário final receberá um email de aviso que o tamanho da mailbox está no limite.

ProhibitSendQuota

“The ProhibitSendQuota parameter specifies a size limit for the mailbox. If the mailbox reaches or exceeds this size, the mailbox can't send new messages, and the user receives a descriptive warning message.”

- Quando o valor de 49.5GB for alcançado, o usuário final não poderá mais enviar mensagens.

ProhibitSendReceiveQuota

“The ProhibitSendReceiveQuota parameter specifies a size limit for the mailbox. If the mailbox reaches or exceeds this size, the mailbox can't send or receive new messages. Messages sent to the mailbox are returned to the sender with a descriptive error message. This value effectively determines the maximum size of the mailbox.”

Quando o valor 50GB for alcançado, o usuário final não poderá mais enviar e receber mensagens. Consequentemente, este é o limite de tamanho de uma mailbox.

Estes valores podem ser diminuídos pelo comando “Set-Mailbox”.

Vamos então validar o modelo de e-mail que o usuário final “usercloud@c4iocesar.com” recebe, ao alcançar o limite de IssueWarningQuota:

clip_image002 

Vamos criar uma regra de transporte, que irá enviar uma cópia deste e-mail enviado para o usuário final, para o administrador:

clip_image004

clip_image006

New-TransportRule -Name "Mailbox Almost Full" -Enable $true -Priority "0" -SubjectContainsWords "Your mailbox is almost full" -CopyTo caioc@c4iocesar.onmicrosoft.com