diff --git a/ansible/roles/ispmail-dovecot/tasks/main.yml b/ansible/roles/ispmail-dovecot/tasks/main.yml index 5f963c9..0ecae4d 100644 --- a/ansible/roles/ispmail-dovecot/tasks/main.yml +++ b/ansible/roles/ispmail-dovecot/tasks/main.yml @@ -39,7 +39,7 @@ file: path=/etc/dovecot/sieve-after state=directory - name: Create global sieve-after script to send spam to its mail folder copy: src=spam-to-folder.sieve dest=/etc/dovecot/sieve-after/spam-to-folder.sieve - notify: recompile sieve script + notify: recompile sieve scripts - name: Create sieve directory file: path: /etc/dovecot/sieve diff --git a/ansible/roles/ispmail-webmail-apache-roundcube/handlers/main.yml b/ansible/roles/ispmail-webmail-apache-roundcube/handlers/main.yml index af398e8..eb089b3 100644 --- a/ansible/roles/ispmail-webmail-apache-roundcube/handlers/main.yml +++ b/ansible/roles/ispmail-webmail-apache-roundcube/handlers/main.yml @@ -3,3 +3,8 @@ service: name: apache2 state: restarted + +- name: restart rspamd + service: + name: rspamd + state: restarted diff --git a/ansible/roles/ispmail-webmail-apache-roundcube/tasks/main.yml b/ansible/roles/ispmail-webmail-apache-roundcube/tasks/main.yml index 8038488..5e18a6b 100644 --- a/ansible/roles/ispmail-webmail-apache-roundcube/tasks/main.yml +++ b/ansible/roles/ispmail-webmail-apache-roundcube/tasks/main.yml @@ -79,6 +79,6 @@ - name: Enable Apache mod_proxy for rspamd admin web interface command: - cmd: a2enmod http_proxy + cmd: a2enmod proxy_http creates: /etc/apache2/mods-enabled/proxy_http.load notify: restart apache