Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
F: +44 (0)8456 446 899 / +44 (0)1223 359459

Jump To: Support > KB > NetManager > Email > MailSplit

Splitting mail boxes

Why would I need to do this?

If mail boxes are too large, then opening and closing them can be slow, memory-intensive and, in the worst case, impossible. SentMail folders are particularly prone to getting too large as they are infrequently looked at.

How do I split a folder

This operation must be done from the Command Line as Root.

To split an INBOX, type something like:

mailsplit -i <username>

This will create a series of mail folders called INBOX-<year>-<month> containing the respective messages (e.g. INBOX-2009-09 will contain messages from September 2009).

To split any other mail folder, type something like:

mailsplit ~<username>/mail/<foldername>

This will split the given folder in the given user's mail area by year and month.

Replace <username> and <foldername> by the relevant username and folder. If there are spaces in the foldername, you will need to put quotes around it. Remember that usernames and foldernames are case-sensitive.

N.B. If you are not using WebMail, then you may need to miss out /mail from the above path. For more info, see here.

© Copyright Precedence Technologies 1999-2019
Page last modified on March 03, 2017, at 11:14 AM by sborrill