I'm having trouble getting my cyrus imapd server (version 2.3.10) to load a new partition I've created.
I created the partition and the stores./ and user/ directories, and set their permissions and ownership to exactly match an already working partition, as shown below. Here imap06 is the working partition and imap07 is the new one:
lysine:~ # ls -l /var/spool/imap06 /var/spool/imap07
/var/spool/imap06:
total 32
drwxr-xr-x 5 cyrus mail 4096 Jan 6 15:06 .
drwxr-xr-x 24 root root 4096 Mar 26 17:21 ..
drwx------ 2 cyrus mail 16384 Dec 18 14:31 lost+found
drwxr-xr-x 2 cyrus mail 4096 Mar 30 12:14 stage.
drwx------ 56 cyrus mail 4096 Mar 26 18:50 user
/var/spool/imap07:
total 32
drwxr-xr-x 5 cyrus mail 4096 Mar 26 16:00 .
drwxr-xr-x 24 root root 4096 Mar 26 17:21 ..
drwx------ 2 cyrus mail 16384 Mar 26 15:53 lost+found
drwxr-xr-x 2 cyrus mail 4096 Mar 26 16:00 stage.
drwx------ 2 cyrus mail 4096 Mar 26 16:53 user
Then I added a line to the imapd.conf:
partition-imap06: /var/spool/imap06
partition-imap07: /var/spool/imap07
and did a full stop/start on the server to ensure there weren't any listeners lying around with the old config.
However, when I try to create a new mailbox in that partition, or move one to it, I get errors:
localhost> cm --partition imap07 user.foo
createmailbox: Unknown/invalid partition
localhost> renm --partition imap07 user.sschmoss user.sschmoss
renamemailbox: Operation is not supported on mailbox
Note that the second error message is misleading: I can move the user.sschmoss mailbox to any partition other than the new one.
Anyone have any ideas? What am I missing here?
Thanks very much,
Jesse Ross
Systems Administrator
Broad Institute of MIT and Harvard
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html