1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/dovecot/conf/dovecot-sql.conf.ext
2016-03-20 15:38:03 +01:00

17 lines
375 B
Plaintext

driver = sqlite
connect = /data/freeposte.db
# Return the user hashed password
password_query = \
SELECT password \
FROM user \
WHERE user.domain_name = '%d' \
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.localpart = '%n'