[Webinar] Streamline your web hosting managementRegister Today

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

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?
0
HBPROCK
Asked:
HBPROCK
  • 6
  • 6
1 Solution
 
endital1097Commented:
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
0
 
HBPROCKAuthor Commented:
I have just put the schedule in for mon-sat-2300-00.00 how long does it take to take effect
0
 
endital1097Commented:
you can run the following on the server for a manual start
Start-ManagedFolderAssistant
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
HBPROCKAuthor Commented:
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?
0
 
endital1097Commented:
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
0
 
HBPROCKAuthor Commented:
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
0
 
endital1097Commented:
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
0
 
HBPROCKAuthor Commented:
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
0
 
endital1097Commented:
your trigger action is "when moved"
is something moving the messages into a folder? you may want to update this setting to WhenDelivered
0
 
HBPROCKAuthor Commented:
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
0
 
endital1097Commented:
run "Start-ManagedFolderAssistant" to initiate it
check the app log for events
it will take a few minutes to remove that many messages
0
 
HBPROCKAuthor Commented:
Endital1097 was very helpful and has a strong knowledge of the product
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

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