Exchange 2010 SP2 - How to Delete items by size?


Recommended Posts

So in Exchange 2003 you could setup a retention policy to delete items from "Inbox" after "365" days over "X" KB size.

rp2003_thumb2.jpg?imgmax=800

Exchange 2010 you can configure to delete only after "X" number of days, using Tags on retention policies, using ESM or Powershell. But I cannot find ANYWHERE that states how to do this with sizes.

Basically I want to purge e-mails in every users sent items folder over that is 365 days old, and over 5000KB. 99.999% of these e-mails are them sending pictures/zip files that they still have access to locally.

Any ideas guys?

Barracuda message archiver.

https://www.barracud...messagearchiver

Higher models support the ability to add iscsi capable storage for offloading old mail that need to stay around. Not all built in tools are better, and the built in tools will not hold up to a court case.

Wouldn't that defeat the purpose of folder based lifecycle and discovery? Surely there are better ways to clean up user mailboxes.

I don't require any of that, as we use a "Journal Recipient" folder that captures all inbound and outbound messages. Each month that "Journal Recipient" is exported to PST and stored online on NAS and offline (2) copies DVD. I can currently go back and review any e-mail from 2005 to current if necessary for discovery or public records laws.

And I really don't want to worry about some 3rd party app to do something that was a simple function in Exchange 2003 either. I know I can do a search of all user mailboxes and delete content based on "Subject" or "Body" so there has to be a way to do it based on "Size" as well one would think, I will have to do some more research on the "Search-Mailbox" cmdlet I guess.

Well, while you might not require it, that was a driving force for that change I believe. Its pretty useless to have a retention (as opposed to recipient) policy that is swiss cheese.

Pretty sure there is no size in Search-Mailbox either. The assumption with the new DB layout is that storage is cheap and available so the 'size' of items isn't given much thought. As is the notion that admins should be tasked with cleaning up user mailboxes.

  • 2 weeks later...

The built in tools are better than EV in most cases without the cost or hassle.

Clearly thats true cos, your asking about it on a forum yet it cannot do what your asking mate (thats a bit of a hassle is it not?)......I also can recover mail from as far back as 1999 (infact users themselves can, de-dup is also automatic as a feature) not to mention the "vault" being pretty much transparent to the user, freeing myself up to tackle real IT issues,

Knowing that EV is set n forget and empowers my users to look & recover themselves (for data retention laws & IP in Biomedical pharma industry) without really needing the senior infra engineer or my teams involvement for a task thats not "really" an IT task.

EV is worth every penny, freeing myself and the team to do more value added tasks for the global business.

How many man hours of investigating & actually retrieving this data/configging (and of course when the brown stuff hits the fan, shock horror not having that saved email they needed to stop a multimillion ? IP dispute/migitation case) equates to the cost of EV? (a drop in the ocean) thats how I justified it to the board of IT execs.

I dont need to tell you our game is mainly Mitigation of risk as much as providing support in the electronic workplace.

At this stage, EV only makes sense if you are archiving multiple data storage types beyond just email. Setting it up just for Exchange is overkill unless you need some of their specialized discovery items (as you note). The OP wanted to reduce store size, not add journaling. Using EV to only move data out of the primary Stores to save disk space is retarded.

It was good maybe ten years ago. If that is your primary want, there are several appliances that are a much better fit for the majority of organizations today.

This topic is now closed to further replies.
  • Posts

    • This seems backwards. You should have to explicitly authorize files for outside use. It shouldn't be the default.
    • Wow you are right, I never even noticed this until you said it! (870E Aorus Master) Before testing this card I had a TP-Link tx401 10GbE PCIe card in that slot (now using XikeStor 310 Thunderbolt to Ethernet adapter).
    • Lack of 5.1 makes this a no sale. What I really wish creative would make would be a USB version that supports 5.1 analog audio for speakers, can switch to headphone mode, and matches the specs of their top tier cards. The current X870E AMD motherboards dont have a great option for adding a PCIE x1 card without cutting down pcie lanes to the graphics card.
    • The Microsoft Office feature that time forgot by Usama Jawad I have been actively using Microsoft Word for the past couple of decades in academic, professional, and personal capacities. Although I used it through the perpetual version of Office apps at the start, I have been an active subscriber of Microsoft 365 Family subscription for over five years now. This means that my Word installation is regularly updated with new features, some of which I don't really like, but that's beside the point. As new features get continuously added, old ones that used to be a staple of Word have started to take a backseat. While I was reminiscing over my Windows experiences from my childhood today, I suddenly remember one such capability that I heavily used in my younger years but have not really touched in over a decade, and haven't seen in documents created by others either. That feature is WordArt. Just to clarify, WordArt is not a Microsoft product specific to Word, and is included in other Office apps like PowerPoint and Excel too. However, Microsoft Word is the app that I used Word Art in heavily, while making assignments or other deliverables for school. If you're unaware, WordArt offers a collection of styling techniques for text, introducing 3D effects like shadows and reflections in the text. It used to be one of the coolest things ever when I was at school and me and my classmates would often compete to ensure that our assignment's title in WordArt was truly the best and stood out above the rest. See some examples of WordArt, still present in the latest versions of Word below: Although WordArt is undeniably cool, it has taken a bit of a backseat, and has been relegated from the Home tab to the Insert toolbar, along with a bunch of other utilities, making it very easy to miss. This isn't exactly surprising because WordArt doesn't really have a place in academic and professional documents anymore, and while I have seen some creatives using it while developing promo material, even that sector has gravitated more towards dedicated graphic designing tools in the past years. For the vast majority of us, WordArt doesn't really exist, and that's alright. At least, it's still an option that can allow us to reminisce our childhood or even make some quick text stylization, if we really need it. Perhaps its usage has waned over time or the novelty has worn off, but I haven't even seen children use it in their academic assignments anymore. In fact, many don't even know that it exists. Maybe that's the fate of every beloved feature. What once felt cutting edge eventually becomes a relic, quietly tucked away as tastes, trends, and technology move on. WordArt may no longer dominate school assignments or decorate the covers of classroom projects, but for those of us who grew up with it, it remains a colorful reminder of a time when making text glow, bend, and cast giant shadows felt like the height of creativity. Hidden behind a few clicks in modern Word, it still survives not as a productivity tool, but as a small piece of computing nostalgia that refuses to disappear.
  • Recent Achievements

    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • One Month Later
      Genuinetonerink- Dubai earned a badge
      One Month Later
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      +Edouard
      158
    3. 3
      PsYcHoKiLLa
      88
    4. 4
      Steven P.
      74
    5. 5
      Michael Scrip
      70
  • Tell a friend

    Love Neowin? Tell a friend!