GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » Reduce mailbox size
Reduce mailbox size [message #149424] Tue, 23 February 2021 15:27 Go to next message
Maurizio Zanetti is currently offline  Maurizio Zanetti
Messages: 25
Registered: November 2014
Location: Piemont - Italy
Hello.
On a kerio connect with 10s of mailbox, one of these keeps increasing in size, since there are several automatic bcc incoming.
We'd like to limit its size, so I set "Permanently delete all items older than XX days", in order to keep only the latest XX days old messages.
When set up, I was expecting to free up 10s of GB on my server, but it didn't happened: just a couple of GB were deleted.
Since there are about 21.000 messages, how can I free up some space on this mailbox without having to logon into the webmail and select/delete all of them?
Can I just delete them from SSH without stopping kerio service?
Re: Reduce mailbox size [message #149431 is a reply to message #149424] Thu, 25 February 2021 08:55 Go to previous messageGo to next message
uwer is currently offline  uwer
Messages: 20
Registered: January 2006
Location: Germany
Quote:
Can I just delete them from SSH without stopping kerio service?
I wouldn't do that. There might be some indexing going on in the background?
Why not set up a quick account in an IMAP capable mail client like Thunderbird and bulk delete from there?

[Updated on: Thu, 25 February 2021 08:56]

Report message to a moderator

Re: Reduce mailbox size [message #149432 is a reply to message #149424] Thu, 25 February 2021 16:21 Go to previous messageGo to next message
j.a.duke is currently offline  j.a.duke
Messages: 239
Registered: October 2006
Maurizio Zanetti wrote on Tue, 23 February 2021 09:27
Hello.
On a kerio connect with 10s of mailbox, one of these keeps increasing in size, since there are several automatic bcc incoming.
We'd like to limit its size, so I set "Permanently delete all items older than XX days", in order to keep only the latest XX days old messages.
When set up, I was expecting to free up 10s of GB on my server, but it didn't happened: just a couple of GB were deleted.
Since there are about 21.000 messages, how can I free up some space on this mailbox without having to logon into the webmail and select/delete all of them?
Can I just delete them from SSH without stopping kerio service?
I've done bulk moves of messages. I have a script to find a range of messages (say from 1/1/ to 12/31) and move them to an archive folder (that was created via a mail client-Outlook, Apple Mail, Connect webmail). After the move, I need to re-index the account so the messages are seen their new home.

So, yes, you can delete them, but after deleting them, you must re-index the account. Even though you're removing the messages from the filesystem, with the re-index Kerio will still think those messages exist. OS level tools should show the correct value for used space, but Connect though the admin web console will likely display the pre-deletion value. I believe there's a way to re-index from the command line, but I've not researched it thoroughly.

Cheers,
Jon
Re: Reduce mailbox size [message #149459 is a reply to message #149424] Fri, 05 March 2021 19:39 Go to previous message
rigo is currently offline  rigo
Messages: 51
Registered: May 2008
no problems as long as you reindex the box. Sometimes I will brake the Inbox down by year ie "Inbox-2020" and dump all of 2020 in there, same with Sent Items.
Once you are done, just reindex box and webmail see it all. In your case just deleting is fine as well.
Previous Topic: "DKIM Public Key for Domain is Wrong" Error
Next Topic: Limit Mailbox Sync Time in Outlook?
Goto Forum:
  


Current Time: Mon Mar 27 10:17:22 CEST 2023

Total time taken to generate the page: 0.06692 seconds