Verified Commit 78a7aacb authored by Florian Pritz's avatar Florian Pritz
Browse files

opendkim: Verify key in dns before starting service

Signed-off-by: Florian Pritz's avatarFlorian Pritz <>
parent b238f13c
......@@ -23,6 +23,11 @@
creates: /etc/opendkim/private/{{dkim_selector}}.private
chdir: /etc/opendkim/private
- name: verify key in dns
command: opendkim-testkey -d -s {{dkim_selector}} -k /etc/opendkim/private/{{dkim_selector}}.private -vvv
- dkimverify
- name: start and enable opendkim
service: name=opendkim enabled=yes state=started
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment