How to export data from mailboxes.db

brad brad at bradandkim.net
Thu Sep 1 13:11:27 EDT 2005


As the cyrus user run:

ctl_mboxlist -d > filename

'filename' will now be a text file listing the mailboxes.  You can
directly edit this file.  When you are done making changes to it you can
re-import it with:

ctl_mboxlist -u < filename

You will want to move the mailboxes.db out of the way before importing
the text file:

mv mailboxes.db mailboxes.db.bak

the import command mentioned earlier adds to the mailboxes.db, it does
not overwrite mailboxes.db.

Hope that helps,

Brad

On Thu, 2005-09-01 at 11:42 -0500, Saltmarsh, Evan M wrote:
> Does anyone know how to export the data in the mailboxes.db to a flat
> text file that can be used for importing?
> 
>  
> 
> Evan Saltmarsh
> 
> UNIX Systems Administrator
> 
> Information Technology Services
> 
> Vanderbilt University
> 
> Office:  (615) 322-2156
> 
> Cell:  (615) 491-4115 
> 
>  
> 
> 
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list