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.
15 lines
415 B
Plaintext
15 lines
415 B
Plaintext
driver = sqlite
|
|
connect = /data/main.db
|
|
|
|
# Return the user hashed password
|
|
password_query = \
|
|
SELECT NULL as password, 'Y' as nopassword, '{{ FRONT_ADDRESS }}{% if WEBMAIL_ADDRESS %},{{ WEBMAIL_ADDRESS }}{% endif %}' as allow_nets \
|
|
FROM user \
|
|
WHERE user.email = '%u'
|
|
|
|
# Mostly get the user quota
|
|
user_query = \
|
|
SELECT '*:bytes=' || user.quota_bytes AS quota_rule \
|
|
FROM user \
|
|
WHERE user.email = '%u'
|