Share via


Automatic Purge Deleted Items folder

Question

Friday, September 11, 2015 5:05 PM

Hi;

I am using Exchange 2013 Standard, and I created an agent mailbox for email checking before sending to 3rd parties company, I created a rule on the agent mailbox to move the email in "In Box" folder to the "Deleted Items" folder.  However; the email will sit on the "Deleted Items" system folder without purging, so I go to the Retention Policy and Retention Tag to create a tag for purge the deleted items and apply the policy to the mailbox.  After two days monitor, I still found the email still sitting on the "Deleted Items" folder.

I am wondering, if the retention tag and policy work for the standard edition?  I have set the retention period for 1 day only.

KW - CNE,MCSE,VCP5

All replies (4)

Friday, September 11, 2015 11:52 PM ✅Answered

Hi,

When items are deleted, they are retained for 14 days. You'd want to change this to 0 days for this mailbox.

Command is below.

Set-Mailbox -Identity - "April Stewart" -RetainDeletedItemsFor 0
Let me know if this answers your question.Thanks.

Mark Gossa

MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010

Blog: http://markgossa.blogspot.com

Posts are provided “AS IS” without warranty of any kind, either expressed or implied.


Saturday, September 12, 2015 8:05 PM

thanks, I will try.  after apply this shell script, is there anyway to push or force it active immediately?

KW - CNE,MCSE,VCP5


Saturday, September 12, 2015 9:07 PM

Once you've run the command above, it'll be active and delete the deleted items each night. If you want to force it to run immediately then try running

Get-Mailbox -Identity "April Stewart" | Start-ManagedFolderAssistant

More information here: https://technet.microsoft.com/en-us/library/aa998864(v=exchg.150).aspx.

Let me know if this helps you out. 

Thanks.

Mark Gossa

MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010

Blog: http://markgossa.blogspot.com

Posts are provided “AS IS” without warranty of any kind, either expressed or implied.


Monday, September 14, 2015 2:27 AM

Hi,

Document for reference: Configure Deleted Item retention and Recoverable Items quotas

https://technet.microsoft.com/en-us/library/ee364752%28v=exchg.150%29.aspx

Best Regards.

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Lynn-Li
TechNet Community Support