dovecot: Finish up dovecot install

This commit is contained in:
Timo Makinen 2021-03-11 05:27:42 +00:00
parent 25417ed9eb
commit 532e47b36c
2 changed files with 43 additions and 13 deletions

View file

@ -1,13 +1,16 @@
# ssl settings
ssl = required
ssl_cert = {{ tls_certs }}/{{ mail_server }}.crt
ssl_key = {{ tls_private }}/{{ mail_server }}.key
ssl_cert = <{{ tls_certs }}/{{ mail_server }}.crt
ssl_key = <{{ tls_private }}/{{ mail_server }}.key
# kerberos
auth_gssapi_hostname = "$ALL"
auth_krb5_keytab = /etc/dovecot/dovecot.keytab
auth_mechanisms = gssapi plain login
# enable only imap
protocols = imap
# use index from tmpfs
mail_location = mbox:~/imapmail/:INBOX=/var/mail/%u:INDEX=/var/spool/dovecot/index/home/%u
@ -32,15 +35,7 @@ protocol imap {
imap_idle_notify_interval = 29 mins
}
# disable plain text imap and pop3
service pop3-login {
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
port = 0
}
}
# disable plain text imap
service imap-login {
inet_listener imap {
port = 0