Commit f9734966 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6237-amavis-permission' into 'develop'

Set amavis group for 50-user to make it readable in Debian 11

Closes #6237

See merge request ispconfig/ispconfig3!1530
parents 57500bee 3c86c392
Pipeline #9763 passed with stage
in 24 seconds
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment