From acfc71e7fdc75a9f62502df0c413f19516b991f8 Mon Sep 17 00:00:00 2001 From: "github@kiekerjan.isdronken.nl" Date: Sat, 11 Dec 2021 01:00:02 +0100 Subject: [PATCH] correct dns tag for DKIM key --- setup/dkim.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/dkim.sh b/setup/dkim.sh index 5aa60c16..d2da740e 100755 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -54,9 +54,9 @@ if [ ! -f "$STORAGE_ROOT/mail/dkim2/box-rsa.key" ]; then dknewkey --ktype ed25519 $STORAGE_ROOT/mail/dkim2/box-ed25519 # Force them into the format dns_update.py expects - sed -i 's/v=DKIM1;/box-rsa._domainkey IN TXT ( "v=DKIM1;/' $STORAGE_ROOT/mail/dkim2/box-rsa.dns + sed -i 's/v=DKIM1;/box-rsa._domainkey IN TXT ( "v=DKIM1; s=email;/' $STORAGE_ROOT/mail/dkim2/box-rsa.dns echo '" )' >> box-rsa.dns - sed -i 's/v=DKIM1;/box-ed25519._domainkey IN TXT ( "v=DKIM1;/' $STORAGE_ROOT/mail/dkim2/box-ed25519.dns + sed -i 's/v=DKIM1;/box-ed25519._domainkey IN TXT ( "v=DKIM1; s=email;/' $STORAGE_ROOT/mail/dkim2/box-ed25519.dns echo '" )' >> box-ed25519.dns fi