webserver-k8s/dockerfiles/dovecot/dovecot.conf

48 lines
1000 B
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
# 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