Solved

Cyrus mailbox transfers

Posted on 2004-08-07
3
1,233 Views
Last Modified: 2009-12-16
Hi (Jim ;) )
I had to take a server down while in full use by users. Not all mailboxes could be "cleaned" via POP3 before I disconnected, so some of the mailboxes still have messages in them.

I've built a new server and installed a newer version of cyrus etc, and I just want to confirm/find out what the correct way is to rebuild the mailboxes.

Can I just create all the accounts as per old system, then copy the message files into the new boxes and use the reconstruct command or must I copy the cyrus.header, cyrus.cache etc files as well?



0
Comment
Question by:psimation
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 11745267
> Can I just create all the accounts as per old system, then copy the message files into the new boxes and use the reconstruct command.

Bascially yes, but that won't handle sub-folders of user's mail boxes. That might not be a problem if all of the users were POP clients since POP doesn't allow for sub-folders. To handle sub-folders uyou need to dump the mailboxes DB to a flat file (ctl_mboxlist -d >mailboxes) and import it on the new server. (ctl_mboxlist -u <mailboxes)
0
 
LVL 17

Author Comment

by:psimation
ID: 11746660
Thanks Jim
Luckily none of my users use POP3 ( iprefer it that way, else they hog the server space...)

Anyway, it worked like a charm, it just obviously didn't pick up the "seen" status for the one IMAP account I use, but that is minor ( would it have done so if I copied the cyrus header files as well? - was afraid to do that between 2 different versions of Cyrus)

0
 
LVL 40

Expert Comment

by:jlevie
ID: 11746842
You loose the seen state when making a big jump in Cyrus versions unless you do an IMAP copy of the data from one server to another.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
i can not do linux commands in cygwin windows 10 6 76
Choosing CentOS 16 83
awk to variable in bash 2 44
Using sort and uniq to pare down large syslog 6 37
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question