This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Mailbox alias plugin

Requires v2.1.10+ (and currently mailbox_list_index=no). This plugin can be used to configure mailbox aliases, which on the filesystem level are symlinks to other mailboxes. This doesn't magically solve the problem of showing clients e.g. multiple Sent mailboxes, but it can be used to make sure that all of the different variants will have the same mails in them. Unfortunately it also means that some clients will download the same mails to local cache multiple times.

The way it works is that:

Example configuration where "Sent" is the real mailbox and it has aliases "Sent Messages" and "Sent Items":

mail_plugins = $mail_plugins mailbox_alias
plugin {
  mailbox_alias_old = Sent
  mailbox_alias_new = Sent Messages
  mailbox_alias_old2 = Sent
  mailbox_alias_new2 = Sent Items

# Usually you want the Sent mailbox to be autocreated and advertised as SPECIAL-USE \Sent:
namespace inbox {
  mailbox Sent {
    auto = create # or subscribe
    special_use = \Sent

None: Plugins/MailboxAlias (last edited 2015-12-06 13:00:32 by TimoSirainen)