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

Mail location

In configuration file the default mail location is set using default_mail_env setting.

You can use some variables in the value:

In 1.0-test versions there are more, see [wiki:Variables Variables].

Typically with maildir this would be set to:

default_mail_env = maildir:%h/Maildir

or with mbox:

default_mail_env = mbox:%h/mail:INBOX=/var/mail/%u

Index files are by default stored under the same directory as mails. With maildir they are stored in the actual maildirs, with mbox they are stored under .imap/ directory. You can change these by adding :INDEX=location to location string. For example:

default_mail_env = mbox:%h/mail:INBOX=/var/mail/%u:INDEX=%h/indexes

If you didn't set home directory, %h can't be used. Instead you can do something like:

default_mail_env = maildir:/home/%u/Maildir

With virtual users the mail and home directories are probably the same. In that case you would just do:

default_mail_env = maildir:%h

Per-user mail locations

It's possible to override default_mail_env for specific users in authentication userdb.


Return mail field in user_query, for example:

user_query = SELECT home, uid, gid, mail FROM users WHERE user = '%u'


Specify mail attribute in user_attrs, for example:

user_attrs = uid,homeDirectory,mailLocation,,uidNumber,gidNumber


The mail attribute is set as last field in passwd-file, for example:


Mixing mbox and maildir

With 1.0-tests it's possible to use both mboxes and maildirs for same user with namespaces. See [wiki:Namespaces Namespaces].

Having mixed mbox/maildirs within same namespace isn't currently supported.

Only /var/mail mboxes

With POP3 it's been traditional that users have their mails only in /var/mail directory. IMAP however supports having multiple mailboxes, so each user has to have a private directory where the mailboxes are stored. Dovecot also needs a directory for its indexes unless you disable them completely.

I have no plans to support INBOX-only IMAP. If you only need POP3, you might then as well use another POP3 server. Dovecot isn't anything special as a POP3 server.

<a href="">bondage</a> <a href="">bdsm</a> <a href="">bondage stories</a> <a href="">bdsm stories</a> <a href="">self bondage</a> <a href="">free bondage</a> <a href="">breast bondage</a> <a href="">male bondage</a> <a href="">bondage fairies</a> <a href="">bedroom bondage</a> <a href="">asian bondage</a> <a href="">japanese bondage</a> <a href="">bondage wizard</a> <a href="">bondage furniture</a> <a href="">gay bondage</a> <a href="">bondage pictures</a> <a href="">free bondage pics</a> <a href="">lesbian bondage</a> <a href="">rope bondage</a> <a href="">bdsm library</a> <a href="">bondage gear</a> <a href="">bondage sex</a> <a href="">bondage videos</a> <a href="">free bondage stories</a> <a href="">female bondage</a> <a href="">outdoor bondage</a> <a href="">bondage directory</a> <a href="">bondage pics</a> <a href="">bondage toys</a> <a href="">bondage equipment</a> <a href="">pantyhose bondage</a> <a href="">free bondage pictures</a> <a href="">latex bondage</a> <a href="">free bdsm</a> <a href="">bondage art</a> <a href="">extreme bondage</a> <a href="">free bondage photos</a> <a href="">women in bondage</a> <a href="">free bdsm stories</a> <a href="">bondage movies</a> <a href="">bondage pants</a> <a href="">water bondage</a> <a href="">teen bondage</a> <a href="">bdsm personals</a> <a href="">bdsm toys</a> <a href="">self bondage stories</a> <a href="">bdsm art</a> <a href="">sexual bondage</a> <a href="">bondage video</a> <a href="">japanese rope bondage</a> <a href="">tit bondage</a> <a href="">bondage and discipline</a> <a href="">free bdsm pics</a> <a href="">bondage cartoons</a> <a href="">free bondage movies</a> <a href="">suspension bondage</a> <a href="">daily bondage galleries</a> <a href="">gay male bondage</a> <a href="">hentai bondage</a> <a href="">men in bondage</a> <a href="">bondage photos</a> <a href="">bondage drawings</a> <a href="">girls in bondage</a> <a href="">sex bondage</a> <a href="">ebony bondage</a> <a href="">mummification bondage</a> <a href="">gay bdsm</a> <a href="">corset bondage</a> <a href="">anime bondage</a> <a href="">bondage models</a> <a href="">bdsm movies</a> <a href="">bondage girls</a> <a href="">free bondage videos</a> <a href="">bondage free</a> <a href="">bdsm furniture</a> <a href="">leather bondage</a> <a href="">bdsm cafe</a> <a href="">bdsm videos</a> <a href="">bondage rape</a> <a href="">bondage faries</a> <a href="">bdsm chat</a> <a href="">transvestite bondage</a> <a href="">bondage techniques</a> <a href="">rubber bondage</a> <a href="">black bondage</a> <a href="">barefoot bondage</a> <a href="">lesbian bdsm</a> <a href="">bdsm pics</a> <a href="">bondage wizardcom</a> <a href="">bdsm comics</a> <a href="">bondage comics</a> <a href="">bdsm cartoons</a> <a href="">bondage torture</a> <a href="">bondage gallery</a> <a href="">bondage porn</a> <a href="">bondage fiction</a> <a href="">bondage links</a> <a href="">bondage women</a> <a href="">cheerleader bondage</a>~~~~