gnu-social/docker/mail/config/dovecot/dovecot.conf

74 lines
1.3 KiB
Plaintext
Raw Normal View History

protocols = imap pop3 lmtp
ssl = yes
# `<` means read from file
ssl_cert = <%cert_file%
ssl_key = <%key_file%
ssl_cipher_list = ALL:!LOW:!SSLv2:!SSLv3:!EXP:!aNULL
listen = *, ::
dict {
#quota = mysql:/etc/mail/dovecot/dovecot-dict-sql.conf.ext
#expire = sqlite:/etc/mail/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
auth_mechanisms = plain login
mail_access_groups = vmail
default_login_user = vmail
2020-11-01 02:19:13 +09:00
first_valid_uid = 2222
first_valid_gid = 2222
mail_location = maildir:/var/mail/%d/%n
auth_verbose_passwords = sha1
auth_debug = yes
passdb {
driver = passwd-file
args = scheme=SHA512-CRYPT /etc/mail/passwd
}
userdb {
driver = static
2020-11-01 02:19:13 +09:00
args = uid=2222 gid=2222 home=/var/mail/%d/%n allow_all_users=yes
auth_verbose = yes
}
service auth {
unix_listener /var/spool/postfix/private/auth {
user = postfix
group = postfix
mode = 0660
}
user = root
}
service imap-login {
process_min_avail = 1
user = vmail
}
protocol lmtp {
postmaster_address = %postmaster_address%
}
protocol imap {
mail_max_userip_connections = 30
}
service stats {
unix_listener stats-reader {
user = vmail
group = vmail
mode = 0660
}
unix_listener stats-writer {
user = vmail
group = vmail
mode = 0660
}
}
2020-11-01 02:19:13 +09:00
# !include_try conf.d/*.conf
# !include_try local.conf