Difference between revisions of "Move mbox Calmail"

From UCB Math Wiki
Jump to: navigation, search
(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...)
 
(Moving mailboxes to Calmail)
Line 8: Line 8:
 
On Solaris, there is a program called movemail which will do the job.
 
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
+
On blue2 (FreeBSD) and on login.math, the functionally equivalent 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''
 
''mbox2imap -u james@math.berkeley.edu -s calmail.berkeley.edu /var/mail/james''
Line 16: Line 16:
 
''mbox2imap -i Personal -u james@math.berkeley.edu -s calmail.berkeley.edu Mail/Personal''
 
''mbox2imap -i Personal -u james@math.berkeley.edu -s calmail.berkeley.edu Mail/Personal''
  
--[[User:SteveSizemore|Steve Sizemore - Unix System Manager]] 22:38, 16 March 2009 (UTC)
+
(Note that the mailbox must already exist on the remote server, or mbox2imap will fail.)
 +
 
 +
--[[User:SteveSizemore|Steve Sizemore - Unix System Manager]] 04:09, 24 March 2009 (UTC)

Revision as of 21:09, 23 March 2009

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) and on login.math, the functionally equivalent 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

(Note that the mailbox must already exist on the remote server, or mbox2imap will fail.)

--Steve Sizemore - Unix System Manager 04:09, 24 March 2009 (UTC)