Evangelos Foutras e1a3313660 [Web] Fix showing domain with disabled sender check
If a mailbox is allowed to send as any address under its domain (+ alias
domains) and the domain itself has no aliases configured, no information
about this fact is shown to the user. That is to say, the "Do not check
sender access for the following domain(s) and its alias domains" field
under mailbox details is empty.

The above is happening because the second GROUP_CONCAT() returns NULL
making the enclosing CONCAT() return NULL as well. Fix this by using
CONCAT_WS() which correctly handles the case of zero domain aliases.

Furthermore, move the IFNULL() to the first GROUP_CONCAT() because
CONCAT_WS() returns an empty string when both GROUP_CONCAT()'s are
NULL. We can be certain that when the first GROUP_CONCAT() is NULL
the second one will be as well, so it's safe to use IFNULL() there.
2019-05-20 18:08:45 +03:00
2017-03-02 11:23:23 +01:00
2019-05-18 23:00:44 +02: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
2019-05-04 23:32:32 +02:00
2019-05-12 14:40:54 +02:00

mailcow: dockerized - 🐮 + 🐋 = 💕

💡 Entwickler gesucht!

Wir möchten die Kuh clustern und noch sicherererer machen, daher suchen wir dringend Entwickler, die dabei unterstützen. Bis hin zur Festanstellung alle Möglichkeiten offen. Bitte meldet euch bei info@servercow.de

Want to support mailcow?

Donate via PayPal Donate or via Liberapay Liberapay.com

Or just spread the word: moo.

Info and documentation

Please see the official documentation for instructions.

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.

Description
No description provided
Readme 52 MiB
Languages
JavaScript 57.4%
PHP 14.2%
Perl 10.5%
Twig 7.5%
CSS 4.7%
Other 5.5%