Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I setup this mail server a few days ago according to this tutorial, worked fantastic:

After noting that all the tutorials seem to have a different way of adding IMAP folders, I decided to foolishly go ahead and edit:


adding in some extra IMAP folders in to that file, which sure enough now show up in the IMAP server selected folders in thunderbird, but failed with folder doesn't exist error.

Little did I notice I should have been using "ls -a", and there are:


folders, which each have a number of files and folders in them:

 courierimapacl  courierimapkeywords  courierimapuiddb  cur  maildirfolder  new  tmp

From the tutorial at the top, I can see that these files and folders were automatically created somehow, so I presume there is a courier or postfix command to create IMAP folders the proper way. So how do I add IMAP folders with the above set-up?

share|improve this question

You should use maildirmake, unless you have a different LDA...

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.