Skip to content

Commit e39bc1d

Browse files
author
Marius Burkard
committed
- dkim_signing conf for rspamd not readable for daemon
1 parent 793394b commit e39bc1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,13 +1578,13 @@ public function configure_rspamd() {
15781578
exec('cp tpl/rspamd_neural_group.conf.master /etc/rspamd/local.d/neural_group.conf');
15791579
}
15801580

1581-
exec('chmod a+r /etc/rspamd/local.d/* /etc/rspamd/override.d/*');
1582-
15831581
$tpl = new tpl();
15841582
$tpl->newTemplate('rspamd_dkim_signing.conf.master');
15851583
$tpl->setVar('dkim_path', $mail_config['dkim_path']);
15861584
wf('/etc/rspamd/local.d/dkim_signing.conf', $tpl->grab());
15871585

1586+
exec('chmod a+r /etc/rspamd/local.d/* /etc/rspamd/override.d/*');
1587+
15881588
$command = 'usermod -a -G amavis _rspamd';
15891589
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
15901590

0 commit comments

Comments
 (0)