Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Moving 30K+ INBOX messages to subfolders (How to quickly and easily move messages from the INBOX to separate subfolders)
  •  
EhrenS

Messages: 1

Karma: 0
Send a private message to this user
I have a Kerio Connect server running on Mac OS X Server v10.6.

An end user has 40,000+ messages in her INBOX, and accessing them from Mail.app (OS X 10.9) takes a considerably long time to do. We would like to create separate folders for each year, and move her INBOX messages older than 2014 into those folders.

I just wanted to clarify the best approach. here is what I am planning to do (really just a sanity check)

1. Stop the Kerio service (is this really necessary?)
2. Exit Mail.app on the user's Mac
3. from a terminal command, navigate to the end user's INBOX directory on the server (requires root privileges, I realize) and type:

find . -type f -newermt "2009-01-01" ! -newermt "2009-12-31" -exec mv {} /usr/local/kerio/mailserver/store/mail/domain.com/user/ArchivedMail/2009 \;
find . -type f -newermt "2010-01-01" ! -newermt "2010-12-31" -exec mv {} /usr/local/kerio/mailserver/store/mail/domain.com/user/ArchivedMail/2010 \;

(etc etc)

4. Start Kerio service
5. Reindex the users mailbox
6. open Mail.app on the end user's machine

Is this plan of sound mind and body?
Previous Topic: Windows 10 preview works
Next Topic: manually stopping a backup in progress?
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 Mar 30 22:31:52 CEST 2017

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