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

For new accounts, dovecot only has a single default folder, the inbox.

Is there a way to specify a default set of subfolders, preferably immutable, that exist for each inbox?

Ideally, I want each account to have a Sent, Trash, and Drafts folder, which can all be read/written to, but not renamed or deleted.

In case it is relevant, my dovecot configuration specifies no subfolder prefix, so all user-created subfolders exist at the "root" level of the Maildir, which is the mailbox format I’m using.

share|improve this question
up vote 2 down vote accepted

You are looking for the autocreate plugin

share|improve this answer
Thanks, that’s exactly what I was looking for. I tried playing with dovecot's ACL system, but it didn’t seem to work for me. Fortunately, the no-delete part isn’t a requirement for me, only a nicety which I will live without. – Abraham Vegh Oct 23 '11 at 4:45

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.