40 lines
789 B
Plaintext
40 lines
789 B
Plaintext
# Dovecot configuration for Personal Internet Cell
|
|
protocols = imap pop3 lmtp
|
|
|
|
# SSL/TLS settings
|
|
ssl = yes
|
|
ssl_cert = </etc/ssl/certs/mail.crt
|
|
ssl_key = </etc/ssl/private/mail.key
|
|
|
|
# Authentication
|
|
auth_mechanisms = plain login
|
|
passdb {
|
|
driver = passwd-file
|
|
args = scheme=SHA512-CRYPT username_format=%u /etc/dovecot/users
|
|
}
|
|
|
|
userdb {
|
|
driver = static
|
|
args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
|
|
}
|
|
|
|
# Mailbox settings
|
|
mail_location = maildir:/var/mail/vhosts/%d/%n
|
|
mail_privileged_group = vmail
|
|
mail_access_groups = vmail
|
|
|
|
# IMAP settings
|
|
imap_max_line_length = 64k
|
|
|
|
# LMTP settings
|
|
service lmtp {
|
|
inet_listener lmtp {
|
|
port = 24
|
|
}
|
|
}
|
|
|
|
# Logging
|
|
log_path = /var/log/dovecot.log
|
|
info_log_path = /var/log/dovecot-info.log
|
|
debug_log_path = /var/log/dovecot-debug.log
|