[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

Upgrade from Exchange 2003 to 2010...I sure do miss Exmerge. HELP!

We have a written policy that says all mail past 60 old days will be deleted. With 2003, this used to be an easy, although manual, task of complying. Microsoft has messed that up from what I can tell. I currently run Exchange 2010 14.2 (Build 247.5). Here's what I have tried:

1. Retention Policy - This is a great idea but doesn't work in practice that i can see. I created tags for Sent, Inbox, Deleted and User Folders and applied them to a policy. Two problems with this: 1. Deleted Items never clear, not even after a couple of weeks. 2. User Folders also gets Notes and that's no good.

2. Tried Power script command: Search-Mailbox -Identity "MailboxName" -SearchQuery "Received:> $($Today) and Received:(Today)" -DeleteContent -force where $Today is a date variable. Works great but once again attacks the Notes and I have to set a script to run against every mailbox.

3. Third party application - They all seem to run PS scripts in the background so essentially are GUI versions of #2

Now, I'm down to the last thing I can think of...let Outlook do the work. I'm looking for a way, without having to visit every client, to set Outlooks Auto-Archive on each default folder to delete anything older than 60 days. I'm looking at the GPO ADMX templates for Office but I don't think they will work. Seems to me that those settings are server side since the Auto-Archive setting do not change even if the user switches pc's.

I just need a way to delete all but 60 days of email out of the Inbox, Deleted, and Sent with the ability to exclude certain mailboxes. Does that even exist anymore???
0
Mark Lewis
Asked:
Mark Lewis
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Move to RU3 for SP2 have seen this issue with SP2 :)

- Rancy
0
 
Mark LewisAuthor Commented:
imkottees...litigation hold and single item recovery seems to be geared toward keeping emails. I want them gone unless I'm just missing something in the article. Thanks

Rancy, what issue does the rollup fix? Thanks
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Simon Butler (Sembee)ConsultantCommented:
How long ago did you apply the policies?
If it is 60 days then it will be 61 days before ANY content is removed from the server. That is because Exchange doesn't know how old the content is. When you apply the policies to remove content Exchange will touch each item and then knows how old it is. It works well, but you have to give it time to work because of the limitations of knowing how old an object is.

Simon.
0
 
Mark LewisAuthor Commented:
Thanks Simon,

Is there a way to get it to go through user created folders without touching the Notes folder. The "All other folders in the mailbox" types gets the Notes too.
0
 
Simon Butler (Sembee)ConsultantCommented:
Set a tag for the Notes folder and choose Disable this tag. That will stop the Notes folder from being affected.

Simon.
0
 
Mark LewisAuthor Commented:
Finally found something that works.

I run this first to export all my mailboxes to PST files prior to a specified date:
foreach ($i in (Get-Mailbox)) { New-MailboxExportRequest -Mailbox $i -ContentFilter {(Received -lt "mm/dd/yyyy")} -FilePath "\\filepath\$($i.Alias).pst" }

Open in new window


Then I created a powershell batch file to run this code for every user:

$Dayto = '12/07/2012'

search-mailbox -id <mailboxuser> -SearchQuery "kind:email and Received:< $($Dayto)" -DeleteContent -Force

Open in new window


Change the date each time you run it and make sure you add/delete a new line for every user that comes and goes...
0
 
Mark LewisAuthor Commented:
None of the other solutions worked 100% correctly. Found my own answer.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now