1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00
Files
docker-mailserver/target/dovecot/auth-passwdfile.inc

25 lines
790 B
PHP
Raw Permalink Normal View History

# Authentication for passwd-file users. Included from 10-auth.conf.
#
# ref: https://doc.dovecot.org/main/core/config/auth/databases/passwd_file.html
passdb passwd-file {
driver = passwd-file
mechanisms_filter = plain login
default_password_scheme = SHA512-CRYPT
auth_username_format = %{user}
passwd_file_path = /etc/dovecot/userdb
}
userdb passwd-file {
driver = passwd-file
auth_username_format = %{user}
passwd_file_path = /etc/dovecot/userdb
2025-08-08 19:18:39 +12:00
# Default field values to use when they're not set for user accounts sourced via `/etc/dovecot/userdb`.
# NOTE: That file is created from `postfix-accounts.cf` + `postfix-virtual.cf`
fields {
uid:default = docker
gid:default = docker
home:default = /var/mail/%{user | domain}/%{user | username}/home/
}
}