updated dmarc entry

This commit is contained in:
2025-09-03 12:16:59 +02:00
parent 77d399a645
commit 4dd13200d0
2 changed files with 15 additions and 1 deletions

View File

@@ -412,7 +412,7 @@ class Dns
//_dmarc 18000 IN TXT ("v=DMARC1; p=reject; fo=1; adkim=r; aspf=r; pct=100; rf=afrf; r"
// "i=86400; rua=mailto:dmarc@zweiseitendergeschichte.de;")
if ($domain['isemaildomain'] == '1') {
$dmarc_txt = '("v=DMARC1; p=reject; fo=1; adkim=r; aspf=r; pct=100; rf=afrf; ri=86400; rua=mailto:dmarc@'.$domain['domain'].';")';
$dmarc_txt = '("v=DMARC1; p=reject; fo=1; adkim=r; aspf=r; pct=100; rf=afrf; ri=86400; ruf=mailto:dmarc@'.$domain['domain'].'; rua=mailto:dmarc@'.$domain['domain'].';")';
$dmarc_record = new DnsEntry('_dmarc', 'TXT',$dmarc_txt );
array_unshift($zonerecords,$dmarc_record);
}

14
lib/config.inc.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/**
* change the options below to either true or false
*/
return [
/**
* enable/disable the possibility to update froxlor from within the web-interface,
* recommended value for debian/ubuntu package users is false to rely on apt and not have version mixup.
* This is also useful for providers that manage the servers but give admin access to froxlor to handle
* updates the way the providers does it (e.g. automation, etc.)
*/
'enable_webupdate' => true,
];