summaryrefslogtreecommitdiffstats
path: root/roles/amavis/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-03 18:59:15 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:23 +0200
commitf173319facc43b6ad0934d02a752aefc507727f2 (patch)
treeb743c532052c1b672cfc45d67b2dff5a6e363b47 /roles/amavis/tasks
parente8d53fadb1a9f67f9edbab329cc131103ba1bcd6 (diff)
Loopia's maximum length for TXT records is 255 chars.
So unfortunately we can't fit a 2048-bits RSA key.
Diffstat (limited to 'roles/amavis/tasks')
-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 00e8c40..6965c07 100644
--- a/roles/amavis/tasks/main.yml
+++ b/roles/amavis/tasks/main.yml
@@ -37,7 +37,7 @@
mode=0755
- name: Generate a private key for DKIM signing
- command: genkeypair.sh dkim --privkey=/var/lib/dkim/outgoing.fripost.org.key --dns=outgoing -t rsa -b 2048
+ command: genkeypair.sh dkim --privkey=/var/lib/dkim/20140703.fripost.org.key -t rsa -b 1024
register: dkim
changed_when: dkim.rc == 0
failed_when: dkim.rc > 1