Solved

Cyrus mailbox transfers

Posted on 2004-08-07
3
1,237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

615 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