From: Ralf Jung Date: Sat, 5 May 2018 15:23:13 +0000 (+0200) Subject: postfix needs opendkim access X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/9f8c46139244a9e6c1c848be5c513898680b4ad4?ds=inline postfix needs opendkim access --- diff --git a/roles/postfix/tasks/postfix.yml b/roles/postfix/tasks/postfix.yml index b151609..8367b89 100644 --- a/roles/postfix/tasks/postfix.yml +++ b/roles/postfix/tasks/postfix.yml @@ -35,6 +35,13 @@ loop: - virtual_alias_map - transport_map +- name: give postfix user access to opendkim + when: postfix.opendkim is defined + user: + name: postfix + groups: opendkim + append: yes + notify: postfix # cronjob - name: delete old local-mail cronjob file: path=/etc/cron.daily/local-mail state=absent