Solved

Cyrus mailbox transfers

Posted on 2004-08-07
3
1,231 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now