Fix the dovecot SQL query

master
Pierre Jaury 9 years ago
parent 77d426e084
commit 8d6a4cb654

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

Loading…
Cancel
Save