File dovecot.conf of Package dovecot24
## Dovecot configuration file
# Dovecot configuration version. This must be the first setting in the
# configuration file. It specifies the configuration syntax, the used setting
# names and the expected default values.
dovecot_config_version = 2.4.0
# Dovecot storage file format version. It specifies the oldest Dovecot version
# that must be able to read files written by this Dovecot instance. The
# intention is that when upgrading Dovecot cluster, this setting is first kept
# as the old Dovecot version. Once the cluster is fully upgraded to a new
# version and there is no intention to rollback to the old version anymore,
# this version number can be increased.
dovecot_storage_version = 2.4.0
# The configuration below is a minimal configuration file using system user authentication.
# See https://doc.dovecot.org/configuration_manual/quick_configuration/
# Enable wanted protocols:
protocols {
imap = yes
lmtp = yes
}
#mail_uid = dovecot
#mail_gid = dovecot
# By default first_valid_uid is 500. If your vmail user's UID is smaller,
# you need to modify this:
#first_valid_uid = uid-number-of-vmail-user
#
protocols = imap pop3 lmtp
auth_allow_cleartext = yes
auth_mechanisms = plain login
#mail_privileged_group = mail
namespace inbox {
inbox = yes
separator = /
mail_driver = maildir
mail_path = ~/Maildir
mail_inbox_path = ~/Maildir/.INBOX
}
# Authenticate as system users:
passdb pam {
service_name = dovecot
}
userdb passwd {
use_worker = yes
}