add SPF and DKIM stuff to DNS

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-12 09:36:33 +02:00
parent 0404618c24
commit 68d579b629
4 changed files with 219 additions and 19 deletions

View File

@@ -187,7 +187,7 @@ while ($row = $result_tasks_stmt->fetch(PDO::FETCH_ASSOC)) {
$nameserver = new $bindclass($cronlog);
}
if (Settings::Get('dkim.use_dkim') == '1' && $bindclass == 'bind') {
if (Settings::Get('dkim.use_dkim') == '1') {
$nameserver->writeDKIMconfigs();
}