You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-07 23:03:10 +02:00
fix: Dovecot: split mail_location
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
@ -10,25 +10,13 @@
|
|||||||
# If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u)
|
# If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u)
|
||||||
# isn't enough. You'll also need to tell Dovecot where the other mailboxes are
|
# isn't enough. You'll also need to tell Dovecot where the other mailboxes are
|
||||||
# kept. This is called the "root mail directory", and it must be the first
|
# kept. This is called the "root mail directory", and it must be the first
|
||||||
# path given in the mail_location setting.
|
# path given in the mail_driver+mail_path settings.
|
||||||
#
|
|
||||||
# There are a few special variables you can use, eg.:
|
# ref: https://doc.dovecot.org/main/core/config/mail_location.html#mail_driver
|
||||||
#
|
mail_driver = maildir
|
||||||
# %u - username
|
# ref: https://doc.dovecot.org/main/core/config/mail_location.html#mail_path
|
||||||
# %n - user part in user@domain, same as %u if there's no domain
|
mail_path = /var/mail/%d/%n
|
||||||
# %d - domain part in user@domain, empty if there's no domain
|
|
||||||
# %h - home directory
|
|
||||||
#
|
|
||||||
# See doc/wiki/Variables.txt for full list. Some examples:
|
|
||||||
#
|
|
||||||
# mail_location = maildir:~/Maildir
|
|
||||||
# mail_location = mbox:~/mail:INBOX=/var/mail/%u
|
|
||||||
# mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
|
|
||||||
#
|
|
||||||
# <doc/wiki/MailLocation.txt>
|
|
||||||
#
|
|
||||||
mail_home = /var/mail/%d/%n/home/
|
mail_home = /var/mail/%d/%n/home/
|
||||||
mail_location = maildir:/var/mail/%d/%n
|
|
||||||
|
|
||||||
# If you need to set multiple mailbox locations or want to change default
|
# If you need to set multiple mailbox locations or want to change default
|
||||||
# namespace settings, you can do it by defining namespace sections.
|
# namespace settings, you can do it by defining namespace sections.
|
||||||
|
Reference in New Issue
Block a user