Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Mission: I'm trying to migrate from courier-imap to dovecot IMAP/POP3 server and i'm having problems with folder listing. In my case i need to configure in the way so all imap/pop3 clients will work with my mailserver like before.

System: Dovecot 1.2.11, Gentoo Linux, "maildir" mailbox format. Roundcube 0.4.

Problem: Roundcube webmail was working fine before but with dovecot it doesn't find any folders except INBOX. There is how folder list looks for same account:


. list "" "*"
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.Junk"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
. OK List completed.


. list "" "*"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Junk"
* LIST (\Marked \HasChildren) "." "INBOX"
. OK LIST completed

I see only two differences there - an order of folders and \Marked attribute. According to IMAPv4 RFC, \Marked only notifies about new messages in that folder and should not affect this.

So, what else can it be?

Folders configuration in Roundcube:

$rcmail_config['drafts_mbox'] = 'INBOX.Drafts';
$rcmail_config['junk_mbox'] = 'INBOX.Junk';
$rcmail_config['sent_mbox'] = 'INBOX.Sent';
$rcmail_config['trash_mbox'] = 'INBOX.Trash';
$rcmail_config['default_imap_folders'] = array('INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'INBOX.Trash');
share|improve this question
up vote 1 down vote accepted

I just needed to run script again because i did that only some time ago. After that, everything works fine. More info -

share|improve this answer

Your Answer


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.