Move mbox Calmail

From UCB Math Wiki
Revision as of 14:38, 16 March 2009 by SteveSizemore (talk | contribs) (New page: == Moving mailboxes to Calmail == First, you must have a calmail account, with a valid password. Your old mail (on mail.math.berkeley.edu) is still available via IMAP, and the new server...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Moving mailboxes to Calmail

First, you must have a calmail account, with a valid password.

Your old mail (on mail.math.berkeley.edu) is still available via IMAP, and the new server (calmail.berkeley.edu) is also running IMAP. There is a good chance that you'll be able to move your old mail to your new calmail account simply by copying from within your mail client.

In the case where there is some problem with the old mail folder (e.g. the size is too large), you can use unix command line tools to manipulate the folders.

On Solaris, there is a program called movemail which will do the job.

On blue2 (FreeBSD) the command is called mbox2imap. As an example, if your login name is james, and you want to move your mail spool (/var/mail/james) to the INBOX folder on your new calmail account, the command syntax is

mbox2imap -u james@math.berkeley.edu -s calmail.berkeley.edu /var/mail/james

If you want to upload to a folder other than MBOX, use the "-i" option to give it a name - e.g.

mbox2imap -i Personal -u james@math.berkeley.edu -s calmail.berkeley.edu Mail/Personal

--Steve Sizemore - Unix System Manager 22:38, 16 March 2009 (UTC)