From 40929e1ae43a35b8d97a95901fd79968b3f402ae Mon Sep 17 00:00:00 2001 From: Showfom Date: Thu, 22 Sep 2016 23:30:47 +0800 Subject: [PATCH] Update dkim.sh Use 1024 key because most DNS providers do not support 2048 --- setup/dkim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/dkim.sh b/setup/dkim.sh index 830e9e18..549ba499 100755 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -47,7 +47,7 @@ fi # such as Google. But they and others use a 2048 bit key, so we'll # do the same. Keys beyond 2048 bits may exceed DNS record limits. if [ ! -f "$STORAGE_ROOT/mail/dkim/mail.private" ]; then - opendkim-genkey -b 2048 -r -s mail -D $STORAGE_ROOT/mail/dkim + opendkim-genkey -b 1024 -r -s mail -D $STORAGE_ROOT/mail/dkim fi # Ensure files are owned by the opendkim user and are private otherwise.