Link to home
Start Free TrialLog in
Avatar of HBPROCK
HBPROCK

asked on

How do i set exchange 2007 to delete mail older than 30 days but for only one mailbox

I have a archive mailbox which mail goes to I need to keep the mail for one month before it gets deleted. I have set up a managed folder mailbox policy and added it into the mailbox settings messaging records management but yet i still have 160k+ mail in the box going back to 12/5/2010 can someone help?
Avatar of endital1097
endital1097
Flag of United States of America image

go into server configuration, mailbox, and view the properties of your mailbox server
go to the messaging records management tab
make sure you have a schedule created
Avatar of HBPROCK
HBPROCK

ASKER

I have just put the schedule in for mon-sat-2300-00.00 how long does it take to take effect
you can run the following on the server for a manual start
Start-ManagedFolderAssistant
Avatar of HBPROCK

ASKER

This wont run from a cmd is there somewhere specific i should be running it? Also because the schedule is so broad shouldnt it be running now?
that should be run from the exch management shell
make sure the microsoft exchange mailbox assistants service is running
check the application log for events from this source
Avatar of HBPROCK

ASKER

started the managed folder assistant and the service was already running but the command didnt reduce my mailbox size at all there is still 160k+mail going back to may where my rule states that it should delete the mail after 30days
can you post the following results
get-mailbox user | fl manage*

then run
Get-ManagedFolderMailboxPolicy | fl Manage*

then run the following for each managedfolderlink
Get-ManagedContentSettings | fl
Avatar of HBPROCK

ASKER

managedfoldermailboxpolicy : journal account delete email over 30 days

managedfolderlinks : <remove mail over 30 days>

messageclassdisplayname : all mailbox content
messageclass : *
description: managed content settings
retentionenabled : true
retentionaction : permanentlydelete
agelimitforretention : 30.00.00.00
movetodestinationfolder:
triggerforretention: when moved
messageformatforjournaling : usetnef
journalingenabled: false
addressforjournaling :
labelforjournaling:
labelforjournaling:
managedfolder:remove mail over 30 days
managedfoldername: remove mail over 30 days
admindisplayname:
exchangeversion : 0.1 <8.0.535.0>
name : delete email over 30 days
distinguisedname: cn=delete email over 30 days, cn= remove mail over 30 days, cn=elc folders container, cn=first organization, cn=microsoft exchange, cn=services, cn=configuration, dc=escapefitness, dc=local
identity : delete email over 30 days
guid: 41dc76fa-8aac-4427-8ef5-3fde50460bff
objectcategory: escapefitness.local/configuration/schema/ms-esch-elc-content-settings
objectcalss: {top, msexchelccontentsettings}
whenchanged :13/09/2010 15:07:11
when created: 12/5/2010 10.44.31
originatingserver :sbs2008.escapefitness.local
isvalid : true
ASKER CERTIFIED SOLUTION
Avatar of endital1097
endital1097
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HBPROCK

ASKER

this is a jornal email account where mail is journaled to that comes into and out of the information store the rule is meant to delete this mail once its over 30days old but the mail is still there way over 30 days, I have now changed it to when delivered. How long should it take for the mailbox to be emptied of the old mail? as its not changing yet
run "Start-ManagedFolderAssistant" to initiate it
check the app log for events
it will take a few minutes to remove that many messages
Avatar of HBPROCK

ASKER

Endital1097 was very helpful and has a strong knowledge of the product