Skip to main content
Answer

Mailbox cleanup quota not working

  • June 25, 2025
  • 9 replies
  • 106 views

Forum|alt.badge.img+2

Hello,

Guys i have a problem with Cleanup with Quota, we set to start at 50% and stop when it became 25%.

the mailbox limited with 2 GB and it was consumed by 59%.

Archive job started then cleanup job started and finished when mailbox utilization became 10%.

 

I believe the quota option not working while all the conditions are right.

 

 

Please Help 

 

Best answer by Tim C

Something you have to consider when configuring these rules is that the emails stubbed will only be done based on the rules you have set. That means that even though you are telling it to stop at 25%, only enough messages qualified to get to the mailbox to 36.5%. 

 

If the rules to stub had been configured in a way that would have cleaned up the mailbox down to something lower than 25%, it would have continued until closer to that threshold.

 

9 replies

CV_GK
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • June 26, 2025

HI ​@Muhammad Nabil 

What is the CV and DB version here?


Forum|alt.badge.img+2

Hi CV_GK,

CV 11.36.62 


Tim C
Vaulter
Forum|alt.badge.img+4
  • Vaulter
  • June 27, 2025

I assume this is on prem Exchange 2016 or 2019? Also, you are using the Exchange Mailbox agent and not Exchange Mailbox classic, correct?

 

Can you provide some more details on the rules that are configured outside of the quota rules for the plan? These rules work together so it is important to know what other rules are configured to understand the behavior.


Forum|alt.badge.img+2

Hello Tim,

Yes, this on prem exchange 2019, with mailbox agent correct.

Customer configured quota limit with 2 GB, something like this but he selects (user the default quota settings from mailbox database. not customize

 

 


Tim C
Vaulter
Forum|alt.badge.img+4
  • Vaulter
  • June 30, 2025

How are the Commvault rules configured for the policy configured against this mailbox?


Forum|alt.badge.img+2

Archive Policy > Include all messages 

Cleanup Policy > Include all messages + Replace all message with stub + Leave body content

Quota setting starts at 50% and stops at 25% 

 

so should stop at 25%, but the result once the cleanup policy completed was 10% on mailbox usage 

 

 


Tim C
Vaulter
Forum|alt.badge.img+4
  • Vaulter
  • July 1, 2025

Is this behavior across multiple mailboxes or only one? Do you know if the folder structure for this mailbox is that almost all of the content is in one folder? 

Without more information my guess here is that the job is running as expected based off a few factors. These types of jobs will go folder by folder and do a scan and check the messages in the folder against the rules you set for archiving. The quotas are checked between folders so if all of the content is in a single folder, you could have results similar to what you are seeing.


Forum|alt.badge.img+2

Hello TIM,

 

i got your point, also i have applied some test scenarios as below

 

  • Run cleanup job with (leave body content) option and same quota criteria (Start at 75%) and (stop at 25%)
      • Result: Mailbox size decreased to 35% with around 900 MB while it should stop at 650 MB to be 25%

 

Conclusion based on the below calculation:

 

Mailbox quota: 2.6 GB

Target stop at 25% = 0.65 GB of used space

Commvault Cleanup ~1.3 GB messages

Adds back ~300 - 350 MB of stubs (shortcuts)

Final Exchange size ≈ 950 MB

950 MB ÷ 2.6 GB ≈ 36.5% usages

 

 

  • Cleanup job with quota options does not consistently stop at the specified threshold
  • Important considerations:
    • Shortcuts generated with the “Leave body content” option consume more space which around but are necessary for enabling search functionality inside messages content.
    • abnormal behavior, that while we tried to manually free up and mailbox from the outlook, still some usage utilized on exchange server

Tim C
Vaulter
Forum|alt.badge.img+4
  • Vaulter
  • Answer
  • July 3, 2025

Something you have to consider when configuring these rules is that the emails stubbed will only be done based on the rules you have set. That means that even though you are telling it to stop at 25%, only enough messages qualified to get to the mailbox to 36.5%. 

 

If the rules to stub had been configured in a way that would have cleaned up the mailbox down to something lower than 25%, it would have continued until closer to that threshold.