Apply suggestions from code review

This commit is contained in:
Brennan Kinney 2025-08-08 19:18:39 +12:00 committed by Georg Lauterbach
parent 9da2a1fcd6
commit 73ca10c7f5
No known key found for this signature in database
GPG key ID: D84CD4AA46D7F099
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