From 3c86c392bf103b9581c6f440d0f03a43c98b47aa Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Wed, 13 Oct 2021 11:34:38 +0200 Subject: [PATCH] Set amavis group for 50-user to make it readable in Debian 11 --- install/lib/installer_base.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index 103abaef19..98e3ecc6c4 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -1659,6 +1659,7 @@ class installer_base { $content = str_replace('{mysql_server_ip}', $conf['mysql']['ip'], $content); wf($conf['amavis']['config_dir'].'/conf.d/50-user', $content); chmod($conf['amavis']['config_dir'].'/conf.d/50-user', 0640); + chgrp($conf['amavis']['config_dir'].'/conf.d/50-user', 'amavis'); // TODO: chmod and chown on the config file -- GitLab