[Dovecot] IMAP SPECIAL-USE extension

Timo Sirainen tss at iki.fi
Fri Dec 2 17:12:21 EET 2011

It's implemented now in dovecot-2.1 hg. It also deprecates autocreate plugin (but it still works the old way). The idea is that you can now do e.g.:

mailbox Trash {
  auto = no
  special_use = \Trash
mailbox Drafts {
  auto = no
  special_use = \Drafts
mailbox Sent {
  auto = subscribe # autocreate, autosubscribe
  special_use = \Sent
mailbox Spam {
  auto = create # autocreate, but don't autosubscribe
  special_use = \Junk
mailbox virtual/All { # if you have a virtual "All messages" mailbox 
  auto = no
  special_use = \All

The mailbox names require a namespace prefix, so if you use e.g. "INBOX." prefix you'll need to use:

mailbox INBOX.Trash {

More information about the dovecot mailing list