diff --git a/tasks/main.yml b/tasks/main.yml index b4db040..c1be102 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,6 +10,11 @@ notify: - reload dovecot +- name: postfix user + user: + name: postfix + groups: ssl-cert + - name: vmail group group: name: vmail diff --git a/templates/conf.d/10-ssl.conf.j2 b/templates/conf.d/10-ssl.conf.j2 index ab2dc01..d5b9aff 100644 --- a/templates/conf.d/10-ssl.conf.j2 +++ b/templates/conf.d/10-ssl.conf.j2 @@ -3,14 +3,14 @@ ## # SSL/TLS support: yes, no, required. -ssl = no +ssl = yes # 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 =