Thursday, November 5, 2015
Wednesday, October 28, 2015
Wednesday, October 21, 2015
Number of E-mails Sent and Received by one User
Number of E-mails Sent and Received by one User
Int] $intSent = $intRec = 0
Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -Start “10/01/2012” -End “11/01/2012” -Sender "user@domain.com" -EventID RECEIVE | ? {$_.Source -eq "STOREDRIVER"} | ForEach { $intSent++ }
Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -Start “10/01/2012” -End “11/01/2012” -Recipients "user@domain.com" -EventID DELIVER | ForEach { $intRec++ }
Write-Host "E-mails sent: ", $intSent
Write-Host "E-mails received:", $intRec
Powershell command to check DAGHealth
Powershell command to check DAGHealth
(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Get-MailboxDatabaseCopyStatus -Server $_}}
(Get-DatabaseAvailabilityGroup) | ForEach {$_.Servers | ForEach {Test-ReplicationHealth -Server $_}}
Friday, August 7, 2015
Create Transport Rule to set Spam Confidence Level
Create Transport Rule to set Spam Confidence Level
Issue: Some
emails sent via any application goes to Junk Folder in Outlook.
Cause: This happens when users send emails via
applications and use senders who are not present in AD. Outlook fails to
authenticate such sender or find the content of email/attachment as
inappropriate. In Exchange 2007 this was
fixed by adding internal domain in Safe Senders in Outlook but in Exchange 2010
we cannot add internal domains in Safe Senders.
Resolution: This
can be fixed by creating a transport Rule which sets the SCL to -1 (Outlook
considers all the emails with SCL -1 as safe.)
Please follow the below mentioned steps to
create a new transport rule for setting spam confidence level to -1 for emails
which are sent any application
New-TransportRule -Name
"Allow lab.com" -Comments "This rule will set SCL -1 for
internal emails to prevent them from going to junk folder"
-FromAddressContainsWords "lab.com" -SetSCL -1 -ExceptIfSCLOver 0
Subscribe to:
Posts (Atom)