1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Apply suggestions from code review

This commit is contained in:
Brennan Kinney
2025-08-08 19:18:39 +12:00
committed by GitHub
parent 9bbf1a9b56
commit d73fa60d83
3 changed files with 16 additions and 7 deletions

View File

@ -7,7 +7,7 @@
# matches the local IP (ie. you're connecting from the same computer), the
# connection is considered secure and plaintext authentication is allowed.
# See also ssl=required setting.
#auth_allow_cleartext = yes
#auth_allow_cleartext = no
# Authentication cache size (e.g. 10M). 0 means it's disabled. Note that
# bsdauth, PAM and vpopmail require cache_key to be set for caching to be used.

View File

@ -10,13 +10,11 @@ passdb passwd-file {
passwd_file_path = /etc/dovecot/userdb
}
# !!! Attention !!!
# Do not add `scheme=SHA512-CRYPT` to the userdb args. This is not supported.
userdb passwd-file {
driver = passwd-file
auth_username_format = %{user}
passwd_file_path = /etc/dovecot/userdb
# Defaults field values for an entry if they're missing in `/etc/dovecot/userdb`.
# 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