# ssl settings ssl = required 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 # use index from tmpfs mail_location = mbox:~/imapmail/:INBOX=/var/mail/%u:INDEX=/var/spool/dovecot/index/home/%u # special icons for mailboxes namespace inbox { mailbox spam { special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } } # imap specific protocol imap { mail_max_userip_connections = 20 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 } } service imap-login { inet_listener imap { port = 0 } }