mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Default DKIM keys with 1024-bit instead 512-bit
Seems like Google is not very happy with the 512-bit. There are many news and blogs posts about it. Example: http://blog.wordtothewise.com/2012/11/gmail-sending-out-warnings-for-512-bit-dkim-keys/ I personally tested it with 1024-bit and 2048-bit and everything is working just fine.
This commit is contained in:
parent
76bf9030c1
commit
774c9a3a1f
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ rebuild_mail_domain_conf() {
|
|||
U_MAIL_DKMI=$((U_MAIL_DKMI + 1))
|
||||
pem="$USER_DATA/mail/$domain.pem"
|
||||
pub="$USER_DATA/mail/$domain.pub"
|
||||
openssl genrsa -out $pem 512 &>/dev/null
|
||||
openssl genrsa -out $pem 1024 &>/dev/null
|
||||
openssl rsa -pubout -in $pem -out $pub &>/dev/null
|
||||
cp $pem $HOMEDIR/$user/conf/mail/$domain/dkim.pem
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue