Ticket: Messages stuck in Outbox with Outlook Anywhere
http://blogs.technet.com/b/messaging_with_communications/archive/2012/06/06/outlook-anywhere-timeout-issue-and-recommendation.aspx
Messages stuck in Outbox with Outlook Anywhere - Newer network devices have more aggressive timeouts. These timeouts can manifest as problems when using Outlook Anywhere; specifically, messages stuck in the Outbox. To resolve this issue, change the timeout for the RPC Proxy component to 120 seconds:
HKLM\Software\Policies\Microsoft\Windows NT\Rpc\MinimumConnectionTimeout
http://whited0gg.blogspot.tw/2012/08/new-best-practice-for-rpc-timeouts-in.html
http://www.expta.com/2012/06/new-best-practice-for-rpc-timeouts-in.html
[PS] C:\>get-mailbox -database "BQT-DAG2_BenQUser-DB1" | Get-MailboxFolderStatistics -FolderScope outbox | Sort-Object FolderSize -Descending | ft identity, foldersize
get-mailboxserver | select-object Name,ManagedFolderWorkCycle
(obviously, set-mailboxserver to set it – though I believe it only takes day’s as its input value)
If this isn’t good enough – then you can force this on an individual mailbox (or all if you wanted) using the command;
start-managedfolderassistant USERID
Part 1
[PS] C:\Windows\system32>$user | ForEach {Get-Mailbox -OrganizationalUnit E14_Migrated | Get-MailboxFolderStatistics -FolderScope Outbox | Sort-Object FolderSize | ft Identity, FolderSize}
Part 2
[PS] C:\Windows\system32>$user | ForEach {Get-Mailbox -OrganizationalUnit E14_Migrated | Set-Mailbox -RetentionPolicy "Empty_Outbox" }
Part 3
[PS] C:\Windows\system32>$user | ForEach {Get-Mailbox -OrganizationalUnit E14_Migrated | Start-ManagedFolderAssistant }
Part 4
[PS] C:\Windows\system32>$user | ForEach {Get-Mailbox -OrganizationalUnit E14_Migrated | Get-MailboxFolderStatistics -FolderScope Outbox | Sort-Object FolderSize | ft Identity, FolderSize}
Part 5
[PS] C:\Windows\system32>$user | ForEach {Get-Mailbox -OrganizationalUnit E14_Migrated | Set-Mailbox -RetentionPolicy $null }
Comments
Post a Comment