[Dovecot] Dovecot 1.2.11, Quota and SQL
Mikaël PIRIO
mikael.pirio at des-mondes-singuliers.fr
Sat Apr 10 00:38:10 EEST 2010
Sorry,
I have resolved my problem !
"user_query" wasn't executed because i defined a "userdb_static". I have
defined a "userdb_static" because Dovecot couldn't find my maildir
locations... But it wasn't the good solution !
So :
1 - I removed "userdb_static"
2 - I modified my "dovecot-sql.conf" file to get an absolute path to
home (my first problem was here in fact) :
user_query = SELECT concat('/var/vmail/', path) AS home, uid, gid,
concat('*:storage=', quota, 'M') AS quota_rule FROM admin_mailbox WHERE
full_address = '%u'
Now, it's OK :)
Thanks for Dovecot !
--
Mikaël,
More information about the dovecot
mailing list