mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
7453bc096b
* add new home dir for Dovecot I tried changing the mail dir, but this is a _very_ disruptive change, so I took approach 3 on <https://doc.dovecot.org/configuration_manual/home_directories_for_virtual_users/>, whereby the home directory is now inside the mail directory. The MDBOX/SDBOX formats are not touched by this change. The change itself could be considered breaking though. * adjust Sieve tests accordingly * Update target/dovecot/10-mail.conf * Update target/dovecot/auth-passwdfile.inc --------- Co-authored-by: Casper <casperklein@users.noreply.github.com>
20 lines
636 B
SourcePawn
20 lines
636 B
SourcePawn
# Authentication for passwd-file users. Included from 10-auth.conf.
|
|
#
|
|
# Documentation
|
|
# PassDB: https://doc.dovecot.org/configuration_manual/authentication/password_databases_passdb/
|
|
# UserDB: https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/
|
|
#
|
|
# !!! Attention !!!
|
|
# Do not add `scheme=SHA512-CRYPT` to the userdb args. This is not supported.
|
|
|
|
passdb {
|
|
driver = passwd-file
|
|
args = scheme=SHA512-CRYPT username_format=%u /etc/dovecot/userdb
|
|
}
|
|
|
|
userdb {
|
|
driver = passwd-file
|
|
args = username_format=%u /etc/dovecot/userdb
|
|
default_fields = uid=docker gid=docker home=/var/mail/%d/%u/home/
|
|
}
|