creating mailboxes

Derek T. Yarnell derek at umiacs.umd.edu
Mon Oct 3 11:41:16 EDT 2005


So I am testing out how migration will go and I just wanted to test some 
things.

I have created a folder inside a already created testuser (derektest) 
and with formail i have split the mbox into files in that folder.

-bash-3.00$ pwd
/var/spool/imap/d/user/derektest
-bash-3.00$ ls -la import/
total 40
drwx------  2 cyrus mail 4096 Oct  3 11:33 .
drwx------  7 cyrus mail 4096 Oct  3 11:36 ..
-rw-------  1 cyrus mail 2439 Oct  3 11:33 1.
-rw-------  1 cyrus mail 1465 Oct  3 11:33 2.
-rw-------  1 cyrus mail 2892 Oct  3 11:33 3.
-rw-------  1 cyrus mail 1533 Oct  3 11:33 4.
-rw-------  1 cyrus mail 1148 Oct  3 11:33 5.
-rw-------  1 cyrus mail 2329 Oct  3 11:33 6.
-rw-------  1 cyrus mail 1142 Oct  3 11:33 7.
-rw-------  1 cyrus mail 1375 Oct  3 11:33 8.

Now when I reconstruct the mailbox it does not actually get added to the 
mailbox list, what am I doing wrong?

-bash-3.00$ ls -la
total 40
drwx------  7 cyrus mail 4096 Oct  3 11:39 .
drwx------  6 cyrus mail 4096 Sep 19 13:10 ..
-rw-------  1 cyrus mail    4 Oct  3 11:39 cyrus.cache
-rw-------  1 cyrus mail  169 Oct  3 11:39 cyrus.header
-rw-------  1 cyrus mail   76 Oct  3 11:39 cyrus.index
drwx------  2 cyrus mail 4096 Oct  3 11:39 Drafts
drwx------  2 cyrus mail 4096 Oct  3 11:33 import
drwx------  3 cyrus mail 4096 Jul 12 18:58 INBOX
drwx------  2 cyrus mail 4096 Oct  3 11:39 Sent
drwx------  2 cyrus mail 4096 Oct  3 11:39 Trash
-bash-3.00$ /usr/lib/cyrus-imapd/reconstruct -rf user.derektest
user.derektest
user.derektest.Drafts
user.derektest.INBOX.test
user.derektest.Sent
user.derektest.Trash

-- 
---
Derek T. Yarnell
University of Maryland
Institute for Advanced Computer Studies
derek at umiacs.umd.edu




More information about the Info-cyrus mailing list