Campuses:
This is an old revision of the document!
Normally, all your mail arrives in a folder called INBOX, where it remains until you either delete it or move it elsewhere.
To avoid having all your mail staying forever in your INBOX, it's a good idea to move read messages into folders, where you can group them together according to your organizational whim.
You can also set the mail program to save sent messages and drafts on the IMAP server.
You can set up automatic filtering of messages, so that (for example), messages with a certain word in the subject get placed into a particular folder at delivery time. This feature is set up though the Physics webmail system. An example is given on our spam help page.
A pair of scripts is available to import mbox-format folders from your unix account into the IMAP server.
First, generate a folder import list using this script:
/local/site/scripts/mail/getmailboxes-user.sh -s src [-d IMAP folder] > folders.txt
This generates a file containing a list of mbox folders with their destination names on the imap server. src is the name of the directory containing the folders you want to import. IMAP folder is an optional folder if you want to import the folders into a subfolder on the imap server. You can then edit the folders.txt file if you wish to change the list of folders to import.
/local/site/scripts/mail/mbox2cyrus-user folders.txt
imports the folder list into the IMAP server. It will prompt for your username and password on the imap server.