Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Cleanup storage directory (Clean-up storage directory -> large emails)
  •  
itn-nieuwdorp

Messages: 13
Karma: 1
Send a private message to this user
How can i cleanup my storage directory?

I like to remove every email bigger then 2mb. Inbox/outbox etc.

How to do this.

I have a win10 64bits installation.
  •  
Bud Durland

Messages: 387
Karma: 42
Send a private message to this user
This kind of "behind the scenes" action should be approached with a certain amount of caution, as much mayhem can ensue when things are done outside control of the Mail server.

That said, you will have to come up with some kind of script that will walk the store folder looking for .eml files that are larger than your target size. I've not tried it, but you may be able to use RoboCopy to move the large files from the mail store to a temporary location, then delete the temp location.
  •  
itn-nieuwdorp

Messages: 13
Karma: 1
Send a private message to this user
Thanks, or are there functions within kerio to solve this?

I try to use the following command now:
Robocopy "D:\Mailserver\mail\" "G:\Temp" *.eml /S /mov /MIN:2000000 /MINAGE:720 /R:10 /W:5
Previous Topic: Outlook 2016 MAC and KC 9.01 setup hanging and group contact problems
Next Topic: webserver/caldavserver logfiles
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Aug 17 23:11:35 CEST 2017

Total time taken to generate the page: 0.00417 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.