From dd765089c936204b4d968060e6e51c0e77fad9ba Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Fri, 26 Jan 2024 13:55:14 +0100 Subject: [PATCH] fix wrong setting-name for dkim-keylength when generating dkim-keys Signed-off-by: Michael Kaufmann --- lib/Froxlor/Cron/Mail/Rspamd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Cron/Mail/Rspamd.php b/lib/Froxlor/Cron/Mail/Rspamd.php index 6663b914a4..ece477663f 100644 --- a/lib/Froxlor/Cron/Mail/Rspamd.php +++ b/lib/Froxlor/Cron/Mail/Rspamd.php @@ -108,7 +108,7 @@ public function writeDkimConfigs() $this->logger->logAction(FroxlorLogger::CRON_ACTION, LOG_INFO, 'Generating DKIM keys for "' . $domain['domain'] . '"'); $rsret = []; FileDir::safe_exec( - 'rspamadm dkim_keygen -d ' . escapeshellarg($domain['domain']) . ' -k ' . $privkey_filename . ' -s dkim' . $domain['dkim_id'] . ' -b ' . Settings::Get('dkim.dkim_keylength') . ' -o plain > ' . escapeshellarg($pubkey_filename), + 'rspamadm dkim_keygen -d ' . escapeshellarg($domain['domain']) . ' -k ' . $privkey_filename . ' -s dkim' . $domain['dkim_id'] . ' -b ' . Settings::Get('antispam.dkim_keylength') . ' -o plain > ' . escapeshellarg($pubkey_filename), $rsret, ['>'] );