1
0
镜像自地址 https://github.com/mail-in-a-box/mailinabox.git 已同步 2026-03-17 17:57:23 +01:00

Increase DKIM key length to 2048

Currently MiaB creates 1024 bit keys which is seen as a minimum standard
by several providers such as Google who already uses a 2048 bit key.
Increasing the keysize beyond 2048 is an issue as it often goes beyond
supported DNS record sizes.
这个提交包含在:
PortableTech
2015-06-24 18:49:19 -04:00
父节点 17a149947a
当前提交 ef6a17d4a6

查看文件

@@ -41,7 +41,7 @@ fi
# entry which we'll want to include in our DNS setup. # entry which we'll want to include in our DNS setup.
if [ ! -f "$STORAGE_ROOT/mail/dkim/mail.private" ]; then if [ ! -f "$STORAGE_ROOT/mail/dkim/mail.private" ]; then
# Should we specify -h rsa-sha256? # 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 fi
# Ensure files are owned by the opendkim user and are private otherwise. # Ensure files are owned by the opendkim user and are private otherwise.