rendered paste body# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-327.18.2.el7.x86_64 x86_64 CentOS Linux release 7.2.1511 (Core)
auth_debug = yes
auth_gssapi_hostname = $ALL
auth_krb5_keytab = /etc/imap.keytab
auth_mechanisms = plain gssapi
auth_realms = KRB5REALM
auth_username_format = %Ln
hostname = imap.domain.tld
listen = 1.1.1.1
mail_gid = virtual
mail_location = maildir:~/Maildir
mail_plugins = quota acl
mail_uid = virtual
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
mbox_write_locks = fcntl
namespace {
location = maildir:/var/spool/mail/domain.tld/public
prefix = Public.
separator = .
subscriptions = no
type = public
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = failure_show_msg=yes dovecot
driver = pam
}
plugin {
acl = vfile
quota = maildir:User quota
quota_rule = *:storage=500M
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
postmaster_address = postmaster@%d
protocols = imap lmtp
service auth-worker {
user = $default_internal_user
}
service auth {
inet_listener {
address = 1.1.1.1
port = 17900
}
unix_listener auth-userdb {
group = virtual
mode = 0600
user = virtual
}
}
service imap-login {
process_min_avail = 2
service_count = 1
}
service lmtp {
inet_listener lmtp {
address = 1.1.1.1
port = 24
}
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
ssl_protocols = !SSLv2 !SSLv3
userdb {
args = username_format=%n@krb5realm /etc/dovecot/users
default_fields = uid=virtual gid=virtual home=/var/spool/mail/domain.tld/%n
driver = passwd-file
result_failure = return-fail
skip = found
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = quota acl sieve
}
protocol lda {
mail_plugins = quota acl sieve
}
protocol imap {
mail_plugins = quota acl imap_quota imap_acl
}