diff --git a/setup/dkim.sh b/setup/dkim.sh index 56d5c3f..956f425 100755 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -41,7 +41,7 @@ fi # entry which we'll want to include in our DNS setup. if [ ! -f "$STORAGE_ROOT/mail/dkim/mail.private" ]; then # Should we specify -h rsa-sha256? - opendkim-genkey -r -s mail -D $STORAGE_ROOT/mail/dkim + opendkim-genkey -b 2048 -r -s mail -D $STORAGE_ROOT/mail/dkim fi # Ensure files are owned by the opendkim user and are private otherwise.