mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-24 10:13:22 +00:00
Merge pull request #4114 from geektoor/fix-spf-check
[Web] Fix: spf record validation failed with redirect
This commit is contained in:
1 file changed
+1
-1
@@ -24,7 +24,7 @@ function get_spf_allowed_hosts($check_domain, $expand_ipv6 = false) {
|
|||||||
$mod = explode('=', $mech);
|
$mod = explode('=', $mech);
|
||||||
if ($mod[0] == 'redirect') // handle a redirect
|
if ($mod[0] == 'redirect') // handle a redirect
|
||||||
{
|
{
|
||||||
$hosts = get_spf_allowed_hosts($mod[1]);
|
$hosts = get_spf_allowed_hosts($mod[1],true);
|
||||||
return $hosts;
|
return $hosts;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user