53 lines
911 B
Plaintext
53 lines
911 B
Plaintext
protocols = imap pop3
|
|
log_timestamp = "%Y-%m-%d %H:%M:%S "
|
|
mail_location = maildir:/home/vmail/%d/%n/Maildir
|
|
|
|
ssl_cert = <cert.pem
|
|
ssl_key = <key.pem
|
|
|
|
namespace {
|
|
type = private
|
|
separator = .
|
|
prefix = INBOX.
|
|
inbox = yes
|
|
}
|
|
|
|
service auth {
|
|
unix_listener auth-master {
|
|
mode = 0600
|
|
user = vmail
|
|
}
|
|
|
|
unix_listener /var/spool/postfix/private/auth {
|
|
mode = 0666
|
|
user = postfix
|
|
group = postfix
|
|
}
|
|
|
|
user = root
|
|
}
|
|
|
|
service auth-worker {
|
|
user = root
|
|
}
|
|
|
|
protocol lda {
|
|
log_path = /home/vmail/dovecot-deliver.log
|
|
auth_socket_path = /var/run/dovecot/auth-master
|
|
postmaster_address = postmaster@example.com
|
|
}
|
|
|
|
protocol pop3 {
|
|
pop3_uidl_format = %08Xu%08Xv
|
|
}
|
|
|
|
passdb {
|
|
driver = sql
|
|
args = /etc/dovecot/dovecot-sql.conf.ext
|
|
}
|
|
|
|
userdb {
|
|
driver = static
|
|
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
|
|
}
|