## ## SSL settings ## # SSL/TLS support: yes, no, required. ssl = {% if dovecot_ssl_enable -%} {% if dovecot_ssl_require -%} required {%- else -%} yes {% endif %} {%- else -%} no {% endif %} # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but # root. Included doc/mkcert.sh can be used to easily generate self-signed # certificate, just make sure to update the domains in dovecot-openssl.cnf ssl_cert = <{{ dovecot_ssl_cert }} ssl_key = <{{ dovecot_ssl_key }} # 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 =