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,192 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

785 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