Solved

Delete email attachments automatically

Posted on 2013-06-21
3
390 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
3 Comments
 
LVL 23

Accepted Solution

by:
Stelian Stan earned 167 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 167 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 166 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

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create an Address List 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 Organization >> Ad…
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…

860 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