Delete emails over 30 days old in a folder? RRS feed

  • Question

  • I use a spam filter called MailEssentials, which puts spam emails in a folder called "SPAM" in my users' mailboxes.  I'd like a way to automatically delete the spam that's over 30 days old.  Is that possible? 

    I looked into using Powershell, but it seems to be only capable of deleting mail in a default folder like Inbox, or Deleted Items, unless I'm mistaken.


    Monday, August 13, 2012 11:14 PM


All replies

  • you can use Retention Policy and choose which folder associate with policy






    Tuesday, August 14, 2012 4:39 AM
  • As I understand it, the Retention Policy only works on built-in folders, and "managed folders".
    Tuesday, August 14, 2012 6:11 PM
  • Hi Steve,

    In Exchange 2010, you can apply a Personal tag on the custom folder.

    For more information, please see:

    Understanding Retention Tags and Retention Policies

    Frank Wang

    TechNet Community Support

    • Marked as answer by emma.yoyo Monday, August 20, 2012 1:52 AM
    Wednesday, August 15, 2012 3:16 AM
  • Oh OK, thanks.  I guess I should have mentioned I'm using Exchange 2007.  But I'll be looking forward to upgrading now.
    Thursday, August 16, 2012 7:38 PM