e1a3313660
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. |
||
---|---|---|
.github | ||
data | ||
helper-scripts | ||
.env | ||
.gitignore | ||
.travis.yml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
docker-compose.yml | ||
generate_config.sh | ||
LICENSE | ||
README.md | ||
update.sh |
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 or via Liberapay
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.