generate spf-entry also for 'mail'-record when no mxservers are specified, fixes #1314
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -257,6 +257,9 @@ class bind
|
|||||||
/*&& $domain['spf'] == '1' */
|
/*&& $domain['spf'] == '1' */
|
||||||
) {
|
) {
|
||||||
$zonefile.= $this->settings['spf']['spf_entry'] . "\n";
|
$zonefile.= $this->settings['spf']['spf_entry'] . "\n";
|
||||||
|
if (in_array('mail', $records)) {
|
||||||
|
$zonefile.= str_replace('@', 'mail', $this->settings['spf']['spf_entry']) . "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user