## ## SSL settings ## # SSL/TLS support: yes, no, required. ssl = yes # PEM encoded X.509 SSL/TLS certificate and private key. By default, Debian # installs a self-signed certificate. This is useful for testing, but you # should obtain a real certificate from a recognized certificate authority. # # These files are opened before dropping root privileges, so keep the key file # unreadable by anyone but root. Included /usr/share/dovecot/mkcert.sh can be # used to easily generate self-signed certificate, just make sure to update the # domains in dovecot-openssl.cnf # # Preferred permissions: root:root 0444 # ssl_server_cert_file = /etc/dovecot/private/dovecot.pem # Preferred permissions: root:root 0400 # ssl_server_key_file = /etc/dovecot/private/dovecot.key !include_try /etc/dovecot/conf.d/10-ssl-keys.try # If key file is password protected, give the password here. Alternatively # give it when starting dovecot with -p parameter. Since this file is often # world-readable, you may want to place this setting instead to a different # root owned 0600 file by using ssl_key_password =