This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 2 and 3
Revision 2 as of 2004-10-14 21:23:42
Size: 1509
Editor: ip213-185-36-189
Comment:
Revision 3 as of 2004-10-14 21:30:27
Size: 1509
Editor: ip213-185-36-189
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
  INBOX = yes   inbox = yes

Namespaces

Dovecot 1.0-test versions support fully configurable namespaces. They're useful for several different purposes:

  • Providing backwards compatibility when switching from another IMAP server
  • Provides support for public shared mailboxes
  • Allows having mails in multiple different locations with possibly different formats

See namespace sections in [http://dovecot.org/doc/dovecot-example.conf example configuration file] for more information.

Backwards Compatibility

When switching from UW-IMAP and you don't want to give users full access to filesystem, you can create hidden namespaces which allow users to access their mails using their existing namespace settings in clients.

# default namespace
namespace private {
  separator = /
  prefix = 
  inbox = yes
}
# for backwards compatibility:
namespace private {
  separator = /
  prefix = mail/
  hidden = yes
}
namespace private {
  separator = /
  prefix = ~/mail/
  hidden = yes
}
namespace private {
  separator = /
  prefix = ~%u/mail/
  hidden = yes
}

Shared Mailboxes

See SharedFolders.

Multiple Mailbox Locations

INBOX in /var/mail/username, maildir in ~/Maildir:

namespace private {
  separator = /
  inbox = yes
  # also provides access to ~/mail mboxes with #mbox/ prefix
  prefix = "#mbox/"
  location = mbox:~/mail:INBOX=/var/mail/%u
}
namespace private {
  separator = /
  prefix =
  location = maildir:~/Maildir
}

None: Namespaces (last edited 2019-09-12 08:39:23 by MichaelSlusarz)