Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Webslice
ISPConfig 3
Commits
e39bc1d6
Commit
e39bc1d6
authored
Aug 02, 2019
by
Marius Burkard
Browse files
- dkim_signing conf for rspamd not readable for daemon
parent
793394b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
e39bc1d6
...
...
@@ -1578,13 +1578,13 @@ class installer_base {
exec
(
'cp tpl/rspamd_neural_group.conf.master /etc/rspamd/local.d/neural_group.conf'
);
}
exec
(
'chmod a+r /etc/rspamd/local.d/* /etc/rspamd/override.d/*'
);
$tpl
=
new
tpl
();
$tpl
->
newTemplate
(
'rspamd_dkim_signing.conf.master'
);
$tpl
->
setVar
(
'dkim_path'
,
$mail_config
[
'dkim_path'
]);
wf
(
'/etc/rspamd/local.d/dkim_signing.conf'
,
$tpl
->
grab
());
exec
(
'chmod a+r /etc/rspamd/local.d/* /etc/rspamd/override.d/*'
);
$command
=
'usermod -a -G amavis _rspamd'
;
caselog
(
$command
.
' &> /dev/null'
,
__FILE__
,
__LINE__
,
"EXECUTED:
$command
"
,
"Failed to execute the command
$command
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment