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

    • But building your own.. what? You can't build anything like the Steam Machine yourself. Even trying to get close costs a good deal more. Even just the CPU cooler in their price comparison is as big as the entire Steam Machine. If you want a regular gaming PC, then by all means, build that. If you want a a small console-like PC for the living room that is good for gaming, I'm not sure what else is a better deal. In the GN review, they only mentioned a small form factor Dell, which is like twice the size and hundreds of dollars more expensive.
    • Those are some popular multiplayer games. But hardly "all". Just those that don't work on Linux currently due to specific anti-cheat implementations. I think it's also fair to point out the literally thousands of games that don't work on the PS5. And it's not locked at 1080p. That's the default, which you can change.
    • Ubuntu Livepatch arrives on Arm64 to eliminate system reboots for kernel updates by Paul Hill Canonical has just announced that its Livepatch service now supports computers with Arm64 processors. For those who are not familiar, Livepatch allows users to apply important kernel updates without any service interruption or rebooting. While home users will benefit from this, it’s even more important for critical machines that absolutely should not be going offline at all. The feature is available as part of Ubuntu Core 26 for Arm64 and Ubuntu Core 20 and onwards for AMD64. According to Canonical, this will improve the security of systems that aren’t security-maintained daily or weekly, and it helps organizations work towards Cyber Resilience Act (CRA) compliance. If you are familiar with Ubuntu, you probably know that most packages can be updated without having to restart the system. There is one big exception to this, and that’s the kernel; it typically requires you to reload the system to boot into the new kernel. With Livepatch, Canonical has done something so that you don’t need to restart to begin using the new kernel. Aside from Ubuntu Core 26, users with Arm64 chips running Ubuntu 26.04 LTS can also use Livepatch. If you want to learn more about Livepatch, check out its product page. There, you can also find a button to join Ubuntu Pro (it’s free for several home devices) so that you can enable Livepatch. By linking your computer to Ubuntu Pro, you will also extend the life of your Ubuntu install from five years to ten years. If you are running Ubuntu, let us know in the comments if you have been looking forward to this feature on your ARM-based computer. If you’ve had a compatible AMD64 machine for a while and never used this feature, let us know why in the comments!
  • Recent Achievements

    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
    • Dedicated
      tuben earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      +Edouard
      207
    3. 3
      PsYcHoKiLLa
      97
    4. 4
      Michael Scrip
      89
    5. 5
      neufuse
      71
  • Tell a friend

    Love Neowin? Tell a friend!