Question

SmtpMailCache inbox growing

  • 20 June 2022
  • 3 replies
  • 14 views

Badge +1

So we are using smtp journaling and the location we are journaling to continues to grow in space. I am not sure why. I have run full back up jobs on the content store mailbox, i have ran cleanup against it as well. When clean up runs it only clears out the recent emails that came. However the path smtpmailcache\mailboxes\inbox have about 140GB of mail items. Am i able to remove all those messages? My retention on that mailbox is 1 day however i have 153 folders and growing in that inbox location. Any advice would be apricated.


3 replies

Userlevel 5
Badge +10

Hi @AverageUser 

Mind confirming what feature release / maintenance release your environment is on? 

The messages/folders that are not clearing, what is the oldest folder (date modified)?

Would also be good to check out CVMailSMTPCleanup.log to see if any errors or skipping is occuring, feel free to share this log from the access node (you’ll want to cleanup any server names / ips etc before sharing it here).

Thanks, 

Chris 

Badge +1

Sorry for the delay here is the output from the cvmailsmtpcleanup.log, it says skip sub-folder inbox from job. I can’t figure out why that is happening

 

12752 50c4  06/23 15:16:38 1717077 * listupAllEmails START
12752 50c4  06/23 15:16:38 1717077 * Scan folder [journaling]
12752 50c4  06/23 15:16:38 1717077 * Scanning mailbox [journaling]
12752 50c4  06/23 15:16:38 1717077 * check master DB file 'E:\SmtpMailCache\Mailboxes\journaling\Inbox\_master.db3'.
12752 50c4  06/23 15:16:38 1717077 * Get Cleanable SubFolder names.
12752 50c4  06/23 15:16:38 1717077 * We need to check following subfolders
12752 50c4  06/23 15:16:38 1717077 *     'failedItems'
12752 50c4  06/23 15:16:38 1717077 * Skip Sub-Folder '' from Job.
12752 50c4  06/23 15:16:38 1717077 * Skip Sub-Folder 'Inbox' from Job.
12752 50c4  06/23 15:16:42 1717077 FX::CSQLite3Config::LoggingCallbackStub(104) - SQLite log, code=0x1C (28), double-quoted string literal: "true"
12752 50c4  06/23 15:16:42 1717077 * Skip Sub-Folder '~20220614134712' from Job.
12752 50c4  06/23 15:16:44 1717077 * listupAllEmails END
12752 50c4  06/23 15:16:44 1717077 * bCreateWorkitemResult(1) 
16512 2448  06/23 15:16:44 1717077 * Checking JobFile [C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults\CV_JobResults\iDataAgent\MS Exchange Virtual Agent\2\3675\Job1717077_6C64E760DC7147D9B12B4DA7DA2E7B8F]
16512 2448  06/23 15:16:44 1717077 ** Work Db file exists, which means some other worker did WorkDivision already
16512 2448  06/23 15:16:44 1717077 * Using JobDetail DB [C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults\CV_JobResults\iDataAgent\MS Exchange Virtual Agent\2\3675\1717077\jobdetail.db3]
16512 2448  06/23 15:16:44 1717077 * bCreateWorkitemResult(1) 
12752 50c4  06/23 15:16:44 1717077 * available next job count is 0
16512 2448  06/23 15:16:44 1717077 * available next job count is 0

Userlevel 5
Badge +10

Sorry for the delay @AverageUser 

Were you able to answer > Mind confirming what feature release / maintenance release your environment is on? 

Thanks,
Chris

Reply