Fix the dovecot SQL query

This commit is contained in:
Pierre Jaury
2016-03-20 15:38:03 +01:00
parent 77d426e084
commit 8d6a4cb654

View File

@@ -6,11 +6,11 @@ password_query = \
SELECT password \
FROM user \
WHERE user.domain_name = '%d' \
AND user.username = '%n'
AND user.localpart = '%n'
# Mostly get the user quota
user_query = \
SELECT '*:bytes=' || user.quota_bytes AS quota_rule \
FROM user \
WHERE user.domain_name = '%d' \
AND user.username = '%n'
AND user.localpart = '%n'