Descobri isso. Eu adicionei uma nova regra em ECP > Fluxo de Mensagens > Regras.
Aplique esta regra se ... O assunto ou corpo incluir ... "sua caixa de correio é"
Faça o seguinte ... Bcc a mensagem para ...
Gostaria que o Exchange 2013 enviasse alertas de cotas para administradores, bem como para usuários individuais, para que ficássemos cientes da situação.
Eu encontrei este guia para o Exchange 2010, mas nada para 2013. link
Alguém sabe como fazer isso para o Exchange 2013?
Obrigado
Descobri isso. Eu adicionei uma nova regra em ECP > Fluxo de Mensagens > Regras.
Aplique esta regra se ... O assunto ou corpo incluir ... "sua caixa de correio é"
Faça o seguinte ... Bcc a mensagem para ...
Para ser alertado sobre a condição de que um usuário não pode enviar e-mails.
Crie um acionador para o ID de evento 1078. Obtê-lo para executar um arquivo cmd
CMD
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile "E:\Program Files\Microsoft\Exchange Server\v15\bin\exshell.psc1" -file "E:\QuotaBreach.ps1"
Script QuotaBreach.ps1
###################################################
# Check for existence of output file and delete it.
###################################################
$checkfile = Test-Path "E:\QuotaBreach.htm"
If ($checkfile -like "True")
{
Remove-Item "E:\QuotaBreach.htm"
}
##################################################
# Pull data out of Event and process cmdlet
##################################################
$address = Get-Eventlog -Logname "Application" -Source "MSExchangeIS" | where {$_.eventID -eq 1078} | select -first 1 | select @{n='SID';e={$_.ReplacementStrings[0]}}
foreach ($sid in $address)
{
$mailbox = (get-mailbox $address.sid | select displayname)
Get-MailboxfolderStatistics -Identity $sid.sid -FolderScope All -includeoldestandnewestitems | select FolderPath,@{N="FolderSize (MB)";E={$_.FolderSize.ToMB()}},oldestitemreceiveddate,Newestitemreceiveddate,ItemsInFolder,ItemsInFolderAndSubFolders | convertto-html | out-file E:\QuotaBreach.htm -append
}
#################################################
# Compile email and send
#################################################
$body = get-content E:\QuotaBreach.htm | Out-String
$recipients = "[email protected]", "[email protected]"
send-mailmessage -from "[email protected]" -to $recipients -subject "$($mailbox.displayname) - Mailbox Breach" -BodyAsHtml -body $body -priority High -smtpServer "mail.company.co.uk"
#################################################
Tags quota exchange exchange-2013