yet but the quotas work through this option:
quota_rule: *:storage=100M
The problem is that quotas are not personalized.
try using 'quota_rule2' in dovecot.conf and 'quota_rule' in user_query.
ps
(i dont use cast in sql query)
--
Simone Caruso
IT Consultant