Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Exchange 2010 Email Retention Rule

I am wondering if there is a way to set a retention policy to remove delete a certain email address or file type from users emails..Basically the company wants a 7 day rule to delete all voicemails coming into the users inbox. Environment is a sbs 2011/exchange 2010 sp1 system
0
armenprintsian
Asked:
armenprintsian
2 Solutions
 
djsharmaTechnical ConsultantCommented:
0
 
David Johnson, CD, MVPOwnerCommented:
Set up a retention policy of 7 days
Set up a rule to move voicmail to a specific folder and apply the 7 day retention policy to that folder
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
I dont think there is any customization that will tell check only emails from or for VoiceMail and remove them ..... Retention policy cant do it until you have a Custom folder created with name as VoiceMail and push to all users and then ask them to save all VM emails there and apply a policy to it :)

Or other could be to work with a Search-Mailbox and see if you can pull only the VoiceMails and then run that with a -DeleteContent command and then simply have that to a Scheduler task and have it run whenever you want.

- Rancy
0
Technology Partners: 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!

 
armenprintsianAuthor Commented:
Thanks for all the input.  I really need to remove Voicemails (mp3 files) from users inboxes. The user environment typically doesn't get rid of anything so i am hoping I can do something on the server side to remove these emails before they start taking a lot of space. And its already adding up users get at least 15-20 voicemails a day and thats not even counting upper management. Any other thoughts would be greatly appreciated. I am inline with Rancys statement I dont think a retention policy is going to get me where I want to be as all users wont do that. I need something more server oriented that doesnt involve the end user

I haven't had a chance to look into "search-mailbox" yet..

Any other ideas would be greatly appreciated I will keep you posted on the search-mailbox I will try to do it by end of week (sunday)
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
You can move all items with the {subject:"Voicemail messages"} to a Subfolder created with Managed custom folder and then apply a Retention Policy.

or you can do something like .... firstly try the command on some single user

Get-Mailbox –Server “ExchServer” –ResultSize unlimited | Search-Mailbox -SearchQuery 'subject:"Voicemail messages"' -StartDate "****" - EndDate "****" –DeleteContent

- Rancy
0
 
ranskiCommented:
Create this retention Policy Tag and assign it to mailboxes:

New-RetentionPolicyTag "Default voice mail 7 day delete" -Type All -MessageClass voicemail -Comment "Voice mail messages without a retention tag are deleted after 7 days." -AgeLimitForRetention 7 -RetentionAction DeleteAndAllowRecovery
0

Featured Post

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.

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