1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-05-13 22:16:57 +02:00
Sven Michels b39ac8f649 [Web] Fix: spf record validation failed with redirect
When using a redirect in your SPF record, the web UI validation
failed when your record contained a ipv6 address. In
web/inc/ajax/dns_diagnostics.php the function get_spf_allowed_hosts
is called with the second parameter to be true to expand ipv6
addresses. But when called for redirects, the value was not set to
true, so it defaulted back to false. This caused an unexpanded ipv6
address to be added to the array and the in_array match for ipv6
never matched as it is always called with expand_ipv6.
While looking at the code i noted some messed up in the indention,
which is also "fixed" by this commit.
2021-05-28 23:48:15 +02:00
2020-03-24 23:52:54 +01:00
2017-03-02 11:23:23 +01:00
2018-01-14 10:45:10 +01:00
2017-06-30 07:03:10 +08:00
2017-06-30 06:48:04 +08:00
2017-05-18 09:48:22 +02:00
2021-04-01 10:49:07 +02:00
2021-05-04 21:29:37 +02:00

mailcow: dockerized - 🐮 + 🐋 = 💕

Want to support mailcow?

Please consider a support contract with Servercow to support further development. We support you while you support us. :)

You can also get a SAL which is a one-time payment with no liabilities or returning fees.

Or just spread the word: moo.

Info, documentation and support

Please see the official documentation for installation and support instructions. 🐄

🐛 If you found a critical security issue, please mail us to info at servercow.de.

Cowmunity

mailcow community

Telegram mailcow channel

Telegram mailcow Off-Topic channel

Telegram desktop clients are available for multiple platforms. You can search the groups history for keywords.

Misc

Important: mailcow makes use of various open-source software. Please assure you agree with their license before using mailcow. Any part of mailcow itself is released under GNU General Public License, Version 3.

Languages
JavaScript 54.9%
PHP 15.8%
Perl 10%
Twig 8.2%
CSS 4.5%
Other 6.4%