Solved

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

Posted on 2010-09-13
12
1,194 Views
Last Modified: 2012-05-10
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
Comment
Question by:HBPROCK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 32

Expert Comment

by:endital1097
ID: 33662884
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
 

Author Comment

by:HBPROCK
ID: 33662935
I have just put the schedule in for mon-sat-2300-00.00 how long does it take to take effect
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33662959
you can run the following on the server for a manual start
Start-ManagedFolderAssistant
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:HBPROCK
ID: 33663523
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
 
LVL 32

Expert Comment

by:endital1097
ID: 33663566
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
 

Author Comment

by:HBPROCK
ID: 33671796
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
 
LVL 32

Expert Comment

by:endital1097
ID: 33671879
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
 

Author Comment

by:HBPROCK
ID: 33672086
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
 
LVL 32

Accepted Solution

by:
endital1097 earned 250 total points
ID: 33672217
your trigger action is "when moved"
is something moving the messages into a folder? you may want to update this setting to WhenDelivered
0
 

Author Comment

by:HBPROCK
ID: 33672344
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
 
LVL 32

Expert Comment

by:endital1097
ID: 33672413
run "Start-ManagedFolderAssistant" to initiate it
check the app log for events
it will take a few minutes to remove that many messages
0
 

Author Closing Comment

by:HBPROCK
ID: 33673154
Endital1097 was very helpful and has a strong knowledge of the product
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
how to add IIS SMTP to handle application/Scanner relays into office 365.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question