100,000 messages in the inbox [message #88399] |
Fri, 13 April 2012 04:25  |
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   |
 |
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 #113835 is a reply to message #88401] |
Thu, 29 May 2014 18:15   |
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
does not match the 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:57You 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   |
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
|
|
|
Re: 100,000 messages in the inbox [message #113881 is a reply to message #113880] |
Sun, 01 June 2014 23:17  |
willoneal
Messages: 90 Registered: November 2008
|
|
|
|
Maerad wrote on Sun, 01 June 2014 11:43Uhrm....
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
Because moving more than a few hundred at a time made the server time out - it overloaded with connections and closed them all down.
|
|
|