?
Solved

Delete email attachments automatically

Posted on 2013-06-21
3
Medium Priority
?
397 Views
Last Modified: 2013-12-31
Some of my mailboxes are getting ridiculously large and I'd like to delete email attachments that are older than 6 months and larger than say....1MB. Is there a way to automate this maybe with a powershell script or whatever? I can't afford to go through email individual mailboxes and clean them out. Thanks!
0
Comment
Question by:demallic
[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
3 Comments
 
LVL 23

Accepted Solution

by:
Stelian Stan earned 668 total points
ID: 39267358
Have a look on this article: http://blogs.technet.com/b/exchange/archive/2010/10/27/removing-specific-messages-from-your-exchange-server.aspx

You should be able to create a transport rule to delete the attachments on mailboxes.
0
 
LVL 22

Assisted Solution

by:Haresh Nikumbh
Haresh Nikumbh earned 668 total points
ID: 39267882
If you are ok with 3rd Party addons, here are a couple - Kopf Outlook Attachment Remover or Attachment Save. Both move the attachment to an external location and replace the entry with the link, not quite what you want, but might be close enough. Outlook Attachment Sniffer Seems to have the option to just "Remove" the attachment

http://www.rsbr.de/Software/OASniffer/index.htm.
0
 
LVL 40

Assisted Solution

by:Subsun
Subsun earned 664 total points
ID: 39271810
You can try with EWS and PowerShell to remove attachments from mailbox.. Refer the following article for sample script..

http://gsexdev.blogspot.in/2013/03/removing-attachments-of-specific-type.html#!/2013/03/removing-attachments-of-specific-type.html
0

Featured Post

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

741 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