Dovecot: Add SQL iterate_query to config file.

This allows to use doveadm -A to execute maintenance tasks for all users on the server
master
farthen 7 years ago
parent a03d884ccc
commit f75280e4a3

@ -12,3 +12,7 @@ user_query = \
SELECT '*:bytes=' || user.quota_bytes AS quota_rule \ SELECT '*:bytes=' || user.quota_bytes AS quota_rule \
FROM user \ FROM user \
WHERE user.email = '%u' WHERE user.email = '%u'
# For using doveadm -A:
iterate_query = \
SELECT user.email AS user FROM user

Loading…
Cancel
Save