Relation of filesystem to Cyrus mailbox structure

Andrew Morgan morgan at orst.edu
Fri Sep 14 16:31:08 EDT 2007


On Fri, 14 Sep 2007, Rick Kunkel wrote:

> I am currently pulling my hair out, trying to get this to work... Lemme
> show you a cyradm session, with some carriage returns thrown in for
> reading ease:
>
> Incidentally, we're running "unixhierarchysep: yes".
>
> localhost> ls -l /var/mail/c/user/calvizio
> -rw-r--r-- 1 cyrus mail 1911537 2007-09-07 02:43 1.
> -rw-r--r-- 1 cyrus mail 3717492 2007-09-07 02:43 2.
> -rw-r--r-- 1 cyrus mail    6364 2007-09-07 02:43 3.
> -rw------- 1 cyrus mail   32252 2007-09-14 11:52 cyrus.cache
> -rw------- 1 cyrus mail     183 2007-09-14 12:32 cyrus.header
> -rw------- 1 cyrus mail    1636 2007-09-14 11:52 cyrus.index
>
> localhost> lam user/calvizio*
> user/calvizio:
>   cyrus lrswipcda
>   calvizio lrswipcda
> user/calvizio/INBOX:
>   cyrus lrswipcda
>   calvizio lrswipcda
>
> localhost> cm user/calvizio/INBOX
> createmailbox: Mailbox already exists
>
> localhost> sam user/calvizio cyrus all
>
> localhost> sam user/calvizio/INBOX cyrus all
> setaclmailbox: cyrus: lrswipcda: System I/O error
>
> localhost> reconstruct user/calvizio
>
> localhost> reconstruct user/calvizio/INBOX
> reconstruct: System I/O error
>
> localhost> cm user/calvizio/INBOX
> createmailbox: Mailbox already exists
>
> localhost> dm user/calvizio/INBOX
> deletemailbox: System I/O error
>
> AGH....  I tried actually creating the dirs in the file system to match,
> and re-owning them to cyrus:mail, to no avail.

"user/calvizio" *IS* user calvizio's INBOX.  "INBOX" is a reserved word in 
IMAP, so you cannot create a folder by that name in my experience anyways.

> Furthermore, ONE of the time I tried to create the mailbox, I typed "cm
> INBOX" instead of "cm user/calvizio/INBOX" by mistake, and now I have this
> wacko little mailbox called "INBOX" at the top of everything:
>
> localhost> lm
> INBOX (\HasNoChildren)
>
> I can't seem to delete this little monster either....

That might be tricky.  I assume you've tried "sam INBOX cyrus c; dm 
INBOX"?

 	Andy


More information about the Info-cyrus mailing list