Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using cyrus imapd on Fedora

The mailbox of a user is presenting a deep tree of nested INBOXes:

user.foo
user.foo.Apple Mail To Do
user.foo.Archives
user.foo.Archives.2011
user.foo.Deleted Messages
user.foo.Drafts
user.foo.INBOX.Deleted Messages
user.foo.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.Deleted Messages
user.foo.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.INBOX.Deleted Messages
[...]

If I delete the folder and reconstruct the mailbox the folders are re-created

/usr/lib/cyrus-imapd/reconstruct -r -f user.foo

all other users are OK

Any hint on why this structure is created?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

It seems to be some kind of bug. Which version of cyrus imap you are using?

As a quick fix, I think following should work.

Using cyradm delete those rogue mailboxes.

You can find how to use cyradm here.

localhost> sam user.foo.INBOX.* cyrus d
localhost> dm user.foo.INBOX.*
share|improve this answer
    
Thanks worked like a charm. BTW it's version 2.4.12 (default on Fedora 16) –  Matteo Nov 29 '11 at 15:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.