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 <bluewind@xinu.at>
parent b238f13c
...@@ -23,6 +23,11 @@ ...@@ -23,6 +23,11 @@
creates: /etc/opendkim/private/{{dkim_selector}}.private creates: /etc/opendkim/private/{{dkim_selector}}.private
chdir: /etc/opendkim/private chdir: /etc/opendkim/private
- name: verify key in dns
command: opendkim-testkey -d archlinux.org -s {{dkim_selector}} -k /etc/opendkim/private/{{dkim_selector}}.private -vvv
tags:
- dkimverify
- name: start and enable opendkim - name: start and enable opendkim
service: name=opendkim enabled=yes state=started 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