Files
mailu/config/dovecot/dovecot-sql.conf.ext
2016-02-17 22:56:40 +01:00

11 lines
319 B
Plaintext

driver = sqlite
connect = /data/freeposte.db
# Return the user hashed password
password_query = \
SELECT password FROM users, domains WHERE username = '%n' AND domain = '%d'
# Mostly get the user quota
user_query = \
SELECT '*:bytes=' || quota_bytes AS quota_rule FROM users WHERE username = '%n' AND domain = '%d'