Skip to content

Commit

Permalink
Merge pull request #618 from nfedyashev/patch-1
Browse files Browse the repository at this point in the history
Fix mail_virtual_domains config reading in opendkim
  • Loading branch information
jplock committed Nov 17, 2016
2 parents e460214 + eda6d04 commit ba3cbb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/mailserver/tasks/opendkim.yml
Expand Up @@ -14,11 +14,11 @@

- name: Create OpenDKIM key directories
file: state=directory path=/etc/opendkim/keys/{{ item.name }} group=opendkim owner=opendkim
with_items: mail_virtual_domains
with_items: "{{ mail_virtual_domains }}"

- name: Generate OpenDKIM keys
command: opendkim-genkey -r -d {{ item.name }} -D /etc/opendkim/keys/{{ item.name }}/ creates=/etc/opendkim/keys/{{ item.name }}/default.private
with_items: mail_virtual_domains
with_items: "{{ mail_virtual_domains }}"

- name: Put opendkim.conf into place
copy: src=etc_opendkim.conf dest=/etc/opendkim.conf owner=opendkim group=opendkim
Expand Down

0 comments on commit ba3cbb6

Please sign in to comment.