[Dovecot] problem mysql and dovecot 1.2

debian at robertain.com debian at robertain.com
Thu Jul 22 18:19:50 EEST 2010


On Thu, 22 Jul 2010 16:51:03 +0200, Simone Caruso <info at simonecaruso.com>
wrote:
>> 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.
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 at domain.com    
    | 10       |              0 | 
|  3 |         1 | yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy | bla at 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:)





More information about the dovecot mailing list