Exchange 2007 Mailbox Policy Deleted Items Folder
Hi,I have setup an Exchange 2007 CCR - we're transitioning from Exchange 2003, and the CCR only has a single server in the cluster at the moment due to lack of hardware (need the hardware that Exchange 2003 is sitting on). I need to setup a mailbox policy that deletes the contents of all users "Deleted Items" folder in their mailbox every day. So, I have gone into "Managed Default Folders", configured "Managed Content Settings" as: Message Type: All Mailbox Content Length of retention period (days): 1 Retention period starts: When item is moved to the folder Action to take at the end of the rentention period: Permanently DeleteI've then gone into "Managed Folder Mailbox Policies" and created a new policy called "DeletedItems-AllUsers" with the "Deleted Items" managed folder added to it.After this, I've gone into "Server Configuration" - "Mailbox" - Properties of Mailbox server - "Messaging Records Management" and set a custom schedule for the Managed Folder Assistant to run.When the Managed Folder Assistant is run, the event log specifies: Service MSExchangeMailboxAssistants. Managed Folder Mailbox Assistant for database EXCHANGE-1-SG1/EXCHANGE-1-SG1-DB1 (1bc9f4b8-b53c-4f7b-80bd-7aca3374733b) has finished an on-demand request. 240 out of 240 mailboxes were successfully processed. 0 mailboxes were skipped due to errors. In any case, the policy I have setup does not work. Items are not being removed from users mailboxes on a daily basis. Do I need to assign this policy to each indivdual user? I was hoping it would run on the entire mailbox store.Thanks,Andrew.
January 18th, 2010 2:02am

MRM needs to be apply to each mailbox, however you can use a cmdlet that assign the policy to all mailboxes...CapecolMCSA - MCTS Exchange Server 2007 - 2010
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2010 7:30am

That's what I suspected. It would be nice to be able to apply a policy at a database level. That way any new mailboxes added to the database would have the policy applied. Instead, with each new user, we have to specifically add the policy to their account.For those interested, here is the cmdlet command for applying a policy to all mailboxes within a specified database:Get-Mailbox -database "SERVER\STORAGE GROUP\DATABASE"} | Set-Mailbox -ManagedFolderMailboxPolicy "POLICY NAME"ie.Get-Mailbox -database "EXCHANGE-1\EXCHANGE-1-SG1\EXCHANGE-1-SG1-DB1"} | Set-Mailbox -ManagedFolderMailboxPolicy "DeletedItems-AllUsers"Cheers,Andrew.
January 19th, 2010 2:24am

Thank you for sharing with us, Andrew.
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2010 12:22pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics