2016-04-07 14:20:51 +02:00
|
|
|
# Authentication for passwd-file users. Included from 10-auth.conf.
|
|
|
|
#
|
2025-08-02 16:42:26 +02:00
|
|
|
# ref: https://doc.dovecot.org/main/core/config/auth/databases/passwd_file.html
|
2016-04-07 14:20:51 +02:00
|
|
|
|
2025-08-02 16:42:26 +02:00
|
|
|
passdb passwd-file {
|
2016-04-07 14:20:51 +02:00
|
|
|
driver = passwd-file
|
2025-08-02 16:42:26 +02:00
|
|
|
mechanisms_filter = plain login
|
|
|
|
default_password_scheme = SHA512-CRYPT
|
|
|
|
auth_username_format = %{user}
|
|
|
|
passwd_file_path = /etc/dovecot/userdb
|
2016-04-07 14:20:51 +02:00
|
|
|
}
|
|
|
|
|
2025-08-02 16:42:26 +02:00
|
|
|
userdb passwd-file {
|
2016-04-07 14:20:51 +02:00
|
|
|
driver = passwd-file
|
2025-08-02 16:42:26 +02:00
|
|
|
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`.
|
2025-08-02 16:42:26 +02:00
|
|
|
# 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/
|
|
|
|
}
|
2016-04-07 14:20:51 +02:00
|
|
|
}
|