1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-01-01 02:59:16 +00:00

Merge branch 'staging' into nightly

This commit is contained in:
FreddleSpl0it
2025-03-24 11:38:59 +01:00
29 changed files with 237 additions and 114 deletions

View File

@@ -240,9 +240,12 @@ function dkim($_action, $_data = null, $privkey = false) {
if (strlen($dkimdata['pubkey']) < 391) {
$dkimdata['length'] = "1024";
}
elseif (strlen($dkimdata['pubkey']) < 736) {
elseif (strlen($dkimdata['pubkey']) < 564) {
$dkimdata['length'] = "2048";
}
elseif (strlen($dkimdata['pubkey']) < 736) {
$dkimdata['length'] = "3072";
}
elseif (strlen($dkimdata['pubkey']) < 1416) {
$dkimdata['length'] = "4096";
}