Old cache\crypto

Forum for MailWasher Pro 7 and/or older 2011/2012 versions.
philsbbs
Active Albatross
Posts: 173
Joined: Sun May 21, 2017 9:34 pm

Old cache\crypto

Sat May 16, 2020 2:31 am

Hi,

I've been thinking about how to deal with the daily growth of the cache/crypto folder and was thinking of adding a schedule task to process and delete old messages via

forfiles /D -365 ***REMOVED THIS BIT *** del @file"

I have removed the bit in the middle as I wanted feedback on how others deal with old crypto files.

This code would deal any files that where over 365 days old and I could schedule a job to process the bat file.

Or is there a setting in mailwasher that deletes old cache/crypto, not just the 0001 files that are recycled.

Hope this makes some sense.
ru
rusticdog

Re: Old cache\crypto

Sat May 16, 2020 11:25 am

MailWasher does have it's own regular cleanup routines. Although it's possible something has failed leaving old files.

Under Settings >> Accounts >> Incoming >> if Store Cached Emails is checked, this will create many extra files that are not necessary for operation. I would recommend this option not be checked for all accounts.

The older files are either junk files that haven't been cleaned up properly, or learning related. MailWasher will rebuild the Bayesian/learning if files do go missing, so there's no harm in wiping. Just be sure MW is closed at the time.
philsbbs
Active Albatross
Posts: 173
Joined: Sun May 21, 2017 9:34 pm

Re: Old cache\crypto

Sat May 16, 2020 12:01 pm

I could added the taskkill command for MailWasherPro.exe at the start of the batch file. then run the forfiles and then add the .exe once forfile status is complete.

I might try this as I see what happens and if still get the errors maybe time to uninstall, wipe files and do a complete fresh reinstall.

Return to “MailWasher Pro 7”