summaryrefslogtreecommitdiffstats
path: root/roles/amavis/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/amavis/tasks/main.yml')
-rw-r--r--roles/amavis/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/amavis/tasks/main.yml b/roles/amavis/tasks/main.yml
index 79c973c..7fc44c7 100644
--- a/roles/amavis/tasks/main.yml
+++ b/roles/amavis/tasks/main.yml
@@ -50,7 +50,7 @@
- dkim
- name: Generate a private key for DKIM signing
- command: genkeypair.sh dkim --privkey="/etc/amavis/dkim/{{ item.s }}:{{ item.d }}.pem" -t rsa -b 2048
+ command: genkeypair.sh dkim --owner=amavis --group=root --privkey="/etc/amavis/dkim/{{ item.s }}:{{ item.d }}.pem" -t rsa -b 2048
with_items: "{{ (dkim_keys[inventory_hostname_short] | default({})).values() | list }}"
register: dkim
changed_when: dkim.rc == 0