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.
On Thu, 22 Jul 2010 16:51:03 +0200, Simone Caruso info@simonecaruso.com wrote: the problem using the quotas_rules I no customization.(If I'm wrong, he must tell me) What I have liked is a few things like:
select * from virtual_users;
+----+-----------+----------------------------------+---------------------------+----------+----------------+
| id | domain_id | password | email
| quota_kb | quota_messages |
+----+-----------+----------------------------------+---------------------------+----------+----------------+
| 1 | 1 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | bla1@domain.com
| 10 | 0 |
| 3 | 1 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy | bla@domain.com
| 20 | 0 |
With v1.1 quotas were stored in a database. Because I want to again. It is possible ?
ps (i dont use cast in sql query) I confess I do not know too syntax mysql I used it there in the wiki:)