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
459 B
Plaintext
17 lines
459 B
Plaintext
9 years ago
|
driver = sqlite
|
||
|
connect = /data/freeposte.db
|
||
9 years ago
|
|
||
9 years ago
|
# Return the user hashed password
|
||
9 years ago
|
password_query = \
|
||
9 years ago
|
SELECT password \
|
||
9 years ago
|
FROM user INNER JOIN domain ON user.domain_id = domain.id \
|
||
9 years ago
|
WHERE domain.name = '%d' \
|
||
|
AND user.username = '%n'
|
||
9 years ago
|
|
||
9 years ago
|
# Mostly get the user quota
|
||
|
user_query = \
|
||
9 years ago
|
SELECT '*:bytes=' || user.quota_bytes AS quota_rule \
|
||
|
FROM user INNER JOIN domain ON user.domain_id = domain.id \
|
||
|
WHERE domain.name = '%d' \
|
||
|
AND user.username = '%n'
|