mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fix for SPF record type
This commit is contained in:
@ -135,3 +135,5 @@ The source IP and port for zone transfers can now be specific on the Addresses a
|
||||
Added support for zone signing using the DNSSEC-Tools suite, thanks to a patch from Suresh Krishnaswamy.
|
||||
---- Changes since 1.600 ----
|
||||
Changed all links to zones to use the zone name instead of an index, to prevent incorrect modification during concurrent access to the module.
|
||||
---- Changes since 1.620 ----
|
||||
Added a module configuration option to use the SPF type for Sender Permitted From records.
|
||||
|
@ -265,6 +265,7 @@ while($i < @tok) {
|
||||
# If this is an SPF record .. adjust the class
|
||||
local $spf;
|
||||
if ($dir{'type'} eq 'TXT' &&
|
||||
!$config{'spf_record'} &&
|
||||
($spf=&parse_spf(@{$dir{'values'}}))) {
|
||||
if (!@{$spf->{'other'}}) {
|
||||
$dir{'type'} = 'SPF';
|
||||
|
Reference in New Issue
Block a user