init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user