webserver-k8s/dockerfiles/dovecot/dovecot.conf
Quentin Legot d9cb537a61 Fix password_file not existing in dovecot pods
authorize plaintext
fix password file
Added a startup.sh file
2023-10-11 15:08:26 +02:00

49 lines
1.0 KiB
Plaintext

## You should mount /etc/dovecot if you want to
## manage this file
mail_home=/srv/mail/%Lu
mail_location=sdbox:~/Mail
mail_uid=1000
mail_gid=10000
protocols = imap submission lmtp
first_valid_uid = 1000
last_valid_uid = 10000
# authentication via passwd-file, see https://doc.dovecot.org/configuration_manual/authentication/passwd_file/#authentication-passwd-file
passdb {
driver = passwd-file
args = /etc/dovecot/secrets/dovecot_password_file
}
# post-login user lookup database, see https://doc.dovecot.org/configuration_manual/authentication/user_databases_userdb/#authentication-user-database
userdb {
driver = passwd-file
args = /etc/dovecot/secrets/dovecot_password_file
default_fields = home=/home/%u
}
ssl=no
disable_plaintext_auth=no
# ssl_cert=<cert.pem
# ssl_key=<key.pem
namespace {
inbox = yes
separator = /
}
service lmtp {
inet_listener {
port = 24
}
}
listen = *
log_path=/dev/stdout
info_log_path=/dev/stdout
debug_log_path=/dev/stdout
!include_try /etc/dovecot/conf.d/*.conf