mailcow/data/web/inc
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
..
ajax Added domain alias handling to quarantine mails and added recipients row to quarantine mail display 2019-05-01 00:56:12 +02:00
lib [Web] Minor fixes 2019-04-30 22:51:17 +02:00
footer.inc.php [Web] Allow logout with broken session 2019-03-25 12:33:58 +01:00
functions.acl.inc.php [Compose] Update watchdog image 2018-09-09 21:18:38 +02:00
functions.address_rewriting.inc.php [Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !) 2019-02-05 00:10:21 +01:00
functions.admin.inc.php [Web] Fix shared alias displain in user view, fixes #2274 2019-02-07 22:37:11 +01:00
functions.customize.inc.php [Web] Fixes for BCC map input fields 2018-08-13 23:20:40 +02:00
functions.dkim.inc.php [web] Duplicating DKIM key corrupts private key 2018-12-18 20:50:24 +01:00
functions.docker.inc.php [Web] Remove broken logger examples 2019-02-06 09:22:13 +01:00
functions.domain_admin.inc.php [Web] Hide self-edit passwords of domain admins, fixes #2135 2018-12-29 15:11:32 +01:00
functions.fail2ban.inc.php [Web] Fix return for unban/ban actions via API 2019-02-06 09:23:01 +01:00
functions.fwdhost.inc.php [Web] Fixes for BCC map input fields 2018-08-13 23:20:40 +02:00
functions.inc.php [Web] Fix showing domain with disabled sender check 2019-05-20 18:08:45 +03:00
functions.mailbox.inc.php [Web] Allow to rename alias to Alias 2019-05-05 20:01:53 +02:00
functions.mailq.inc.php [Web] More mailq fixes 2018-10-25 23:03:35 +02:00
functions.policy.inc.php [Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !) 2019-02-05 00:10:21 +01:00
functions.quarantine.inc.php [Web] Add quick release/delete functions 2019-02-06 09:28:22 +01:00
functions.quota_notification.inc.php [Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !) 2019-02-05 00:10:21 +01:00
functions.ratelimit.inc.php [Web] Show ratelimited messages, allow to delete Redis hash to reset status of a bucket 2018-12-15 21:24:39 +01:00
functions.rsettings.inc.php [Web] Fixes for BCC map input fields 2018-08-13 23:20:40 +02:00
functions.tls_policy_maps.inc.php [Web] Use INTL_IDNA_VARIANT_UTS46 in idn_to_ascii (thanks to @Knight1 !) 2019-02-05 00:10:21 +01:00
functions.transports.inc.php [Dovecot] Update to 2.3.5.2 2019-04-25 18:10:28 +02:00
header.inc.php [Nginx] Add qhandler rewrite 2019-02-06 10:14:56 +01:00
init_db.inc.php Update init_db.inc.php 2019-05-04 12:13:51 +02:00
prerequisites.inc.php [Web] Fix slow UI by switching QR provider and only generating qr image on demand 2019-03-19 08:45:08 +01:00
sessions.inc.php [Web] Change session timeout handling 2019-04-14 13:01:47 +02:00
spf.inc.php Use Redis for forwarded_hosts, some fixes 2017-05-08 23:09:40 +02:00
triggers.inc.php [Web] Add quick actions handler for quarantine, add trigger 2019-02-06 09:29:00 +01:00
vars.inc.php Update vars.inc.php 2019-03-09 16:17:11 -06:00