Hello,
I try to use dict for quota... But it's impossible :) I have this error
message :
=== dovecot.err ==
dovecot: 2006-07-23 03:00:47 Error: IMAP(myuser): Unknown dict module: mysql
==================
But, mysql is supported... I don't understand... My config about dict :
==== dovecot.conf ===
...
plugin {
quota = dict:storage=10240 mysql:/etc/dovecot/dict-quota.conf
}
=====================
And my dict-quota.conf file :
===connect = host=localhost dbname=dovecot user=dovecot
table = quota
select_field = current
where_field = path
username_field = username
===
I have created a "dovecot" database and a "dovecot" mysql
user with all
access on this db. I have created a "quota" table too and add this
entry
in this table :
*------*----------*---------*
* path * username * current *
*------*----------*---------*
* ?? * myuser * 1024 *
*------*----------*---------*
I don't know what to do with the "path" field...
My log file... Perhaps it will be usefull :
=== dovecot.info ==
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): Effective uid=1011,
gid=1011
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): Loading modules from
directory: /usr/lib/dovecot/modules/imap
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): Module loaded:
/usr/lib/dovecot/modules/imap/lib01_quota_plugin.so
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): Module loaded:
/usr/lib/dovecot/modules/imap/lib02_imap_quota_plugin.so
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): maildir:
data=/home/myuser/Mail
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): maildir:
root=/home/myuser/Mail, index=/home/myuser/Mail, control=, inboxdovecot:
2006-07-23 03:19:02 Info: IMAP(myuser): dict quota: uri =
mysql:/etc/dovecot/dict-quota.conf
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): dict quota: byte limit
= 10485760
dovecot: 2006-07-23 03:19:02 Info: IMAP(myuser): dict quota: count limit = 0
dovecot: 2006-07-23 03:19:02 Info: imap-login: Login: user=<myuser>,
method=plain, rip=82.228.176.60, lip=192.168.1.60
===
Could you help me to use dict with quota ? Really thanks in advance for
all your help.
--
Mika?l,