[Web] Database schema test

This commit is contained in:
André Peters committed 2018-02-17 09:50:58 +01:00
1 parent b81930e416
commit 2bdc3f94c0
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -39,7 +39,7 @@ query = SELECT IF(EXISTS(
SELECT CONCAT('%u', '@', target_domain) FROM alias_domain
WHERE alias_domain='%d'
)
) AND mailbox.tls_enforce_in = '1' AND mailbox.active = '1'
) AND json_extract(`attributes`, '$.tls_enforce_in') = '1' AND mailbox.active = '1'
), 'reject_plaintext_session', NULL) AS 'tls_enforce_in';
EOF
@@ -58,7 +58,7 @@ query = SELECT GROUP_CONCAT(transport SEPARATOR '') AS transport_maps
WHERE alias_domain = '%d'
)
)
AND mailbox.tls_enforce_out = '1'
AND json_extract(`attributes`, '$.tls_enforce_out') = '1'
AND mailbox.active = '1'
), 'smtp_enforced_tls:', 'smtp:') AS 'transport'
UNION ALL