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 » 100,000 messages in the inbox
100,000 messages in the inbox [message #88399] Fri, 13 April 2012 04:25 Go to next message
willoneal is currently offline  willoneal
Messages: 90
Registered: November 2008
Customer allowed his inbox to balloon to nearly 100,000 messages in his inbox. Now he complains that it's slow. Of course 30,000 of them are unread, and he NEEDS every one of them.

I removed the index.fld file to make the folder rebuild, and now we at least have access to the inbox, and I'm slowly moving and removing old messages.

the problem is even with the webmail set to show 200 messages at a time, it takes about 10 minutes for each 200 messages to be moved.

at that rate, this is going to take 83 hours non stop.

I need a better way.

Can I manually move messages on the server from INBOX/#msgs to INBOX/OLD1 and INBOX/OLD2 and so on?

what's the FASTEST way to clean this crap up?
Re: 100,000 messages in the inbox [message #88401 is a reply to message #88399] Fri, 13 April 2012 08:57 Go to previous messageGo to next message
campodoro74 is currently offline  campodoro74
Messages: 9
Registered: November 2006
Location: Genova
You could:

- Use another PC with Outlook and set it up using the same account; configure Outlook not NOT download the whole message, just the headers. Move the emails

or

- modify the userSettings.php file inside the webmail folder on the server and change the messageCount value to, for example:

<option value="2000" <?php echo x_93n($x_2v7['messageCount']==2000); ?>>2000</option>

Re: 100,000 messages in the inbox [message #88403 is a reply to message #88399] Fri, 13 April 2012 09:17 Go to previous messageGo to next message
freakinvibe is currently offline  freakinvibe
Messages: 589
Registered: April 2004
Quote:
Can I manually move messages on the server from INBOX/#msgs to INBOX/OLD1 and INBOX/OLD2 and so on?

Yes, this can be done. The down side is you have to rebuild the index for each folder and also the properties, so you will lose the read/unread information.

The rule for our users is not to have more than 5000 messages per folder. Email is NOT a document management system!


Dexion Services AG - IT Support Services in Basel, Switzerland
https://dexionag.ch
Re: 100,000 messages in the inbox [message #88439 is a reply to message #88399] Sat, 14 April 2012 17:36 Go to previous messageGo to next message
willoneal is currently offline  willoneal
Messages: 90
Registered: November 2008
Thanks for the responses; they were helpful.
Re: 100,000 messages in the inbox [message #88464 is a reply to message #88399] Mon, 16 April 2012 21:49 Go to previous messageGo to next message
catoxpress
Messages: 15
Registered: September 2004
You can try this:

http://aplawrence.com/Kerio/fixing-large-mailboxes.html

I haven't personally tried it but I think if you tested it on another account it may save you a great deal of time.
Re: 100,000 messages in the inbox [message #113835 is a reply to message #88401] Thu, 29 May 2014 18:15 Go to previous messageGo to next message
willoneal is currently offline  willoneal
Messages: 90
Registered: November 2008
This is very helpful when moving a ton of messages. However, to make it work, you have to modify the part of the line below to match the lines above.

For example, my userSettings.php before modifcation looks like this:

<option value="10" <?php echo x_9af($x_3kz['messageCount']==10); ?>>10</option>
<option value="20" <?php echo x_9af($x_3kz['messageCount']==20); ?>>20</option>
<option value="50" <?php echo x_9af($x_3kz['messageCount']==50); ?>>50</option>
<option value="100" <?php echo x_9af($x_3kz['messageCount']==100); ?>>100</option>
<option value="200" <?php echo x_9af($x_3kz['messageCount']==200); ?>>200</option>


and the modification below says to add the line
<option value="2000" <?php echo x_93n($x_2v7['messageCount']==2000); ?>>2000</option>


Which does not work because the
x_93n($x_2v7
does not match the
x_9af($x_3kz
in the current file.

So to make it work, just duplicate the last line and modify it to read the new quantity in the three places it shows 2000.

Then, for the user to see the changes, he has to log out and back in. There is no need to stop and start the server.

Will


campodoro74 wrote on Fri, 13 April 2012 02:57
You could:

- Use another PC with Outlook and set it up using the same account; configure Outlook not NOT download the whole message, just the headers. Move the emails

or

- modify the userSettings.php file inside the webmail folder on the server and change the messageCount value to, for example:

<option value="2000" <?php echo x_93n($x_2v7['messageCount']==2000); ?>>2000</option>

Re: 100,000 messages in the inbox [message #113880 is a reply to message #88399] Sun, 01 June 2014 17:43 Go to previous messageGo to next message
Maerad is currently offline  Maerad
Messages: 275
Registered: August 2013
Uhrm....

Why didnt you jus install thunderbird, connect via imap and move the mails that way. Faster and no config hacks.

For the mails itself- he dosnt need to delete them. Tell him to make subdirs with year and/or months- that way the folder opens fast and he can still search for his items. The fulltextsearch is fast enough, even with 100k mails.

And btw. Thats no kerio problem. Every software would need some time to let you use that many mails in one folder. Even exchange. And for most parts, it's also a client problem. 100k mails in one folder are deadly- even more for ooutlook Smile



Re: 100,000 messages in the inbox [message #113881 is a reply to message #113880] Sun, 01 June 2014 23:17 Go to previous message
willoneal is currently offline  willoneal
Messages: 90
Registered: November 2008
Maerad wrote on Sun, 01 June 2014 11:43
Uhrm....

Why didnt you jus install thunderbird, connect via imap and move the mails that way. Faster and no config hacks.

For the mails itself- he dosnt need to delete them. Tell him to make subdirs with year and/or months- that way the folder opens fast and he can still search for his items. The fulltextsearch is fast enough, even with 100k mails.

And btw. Thats no kerio problem. Every software would need some time to let you use that many mails in one folder. Even exchange. And for most parts, it's also a client problem. 100k mails in one folder are deadly- even more for ooutlook Smile





Because moving more than a few hundred at a time made the server time out - it overloaded with connections and closed them all down.
Previous Topic: Outlook Categories (Color)
Next Topic: Kerio LDAP Account Manager Module
Goto Forum:
  


Current Time: Wed Mar 29 01:02:34 CEST 2023

Total time taken to generate the page: 0.09066 seconds