Re: Quota & prefetch uiserDB questions

2016-10-12 Thread Cédric ML
I'll answer my own question : Adding quota information in user_query like this : user_query = SELECT \ maildir as mail, \ homedir as home, \ uid, \ gid, \ --->CONCAT('*:bytes=', quota) AS quota_rule \ FROM mailbox WHERE username = '%u' fixed my problem. Regards,

Quota & prefetch uiserDB questions

2016-10-12 Thread Cédric ML
Hello, I'm trying to make quota work on my dovecot server. I'm using prefetch userdb (source : http://wiki2.dovecot.org/UserDatabase/Prefetch) with a database located on a remote host : passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf.ext } userdb { driver = prefetch }