Quellcode durchsuchen

bugfix dns settings

andre vor 2 Jahren
Ursprung
Commit
18a7ceca97
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      kerioEmail_mx.php

+ 1 - 1
kerioEmail_mx.php

@@ -112,7 +112,7 @@ function KerioEmail_setSPF($params)
 
         if(!$record->type === 'TXT'){
             array_push($zoneRecords, $record);
-        } elseif (!preg_match('/^v=spf(.*)$/i', $record->rdata->txtdata)) {
+        } elseif (!preg_match('/^"v=spf(.*)$/i', $record->rdata->txtdata)) {
             logModuleCall(
                 'kerioEmail',
                 __FUNCTION__,