You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
472 B
Plaintext
17 lines
472 B
Plaintext
driver = sqlite
|
|
connect = /data/freeposte.db
|
|
|
|
# Return the user hashed password
|
|
password_query = \
|
|
SELECT password \
|
|
FROM users INNER JOIN domains ON users.domain_id = domains.id \
|
|
WHERE domains.name = '%d' \
|
|
AND users.username = '%n'
|
|
|
|
# Mostly get the user quota
|
|
user_query = \
|
|
SELECT '*:bytes=' || users.quota_bytes AS quota_rule \
|
|
FROM users INNER JOIN domains ON users.domain_id = domains.id \
|
|
WHERE domains.name = '%d' \
|
|
AND users.username = '%n'
|