On Wed, 2009-05-06 at 13:23 -0300, Flavio Costa wrote:
But through IMAP, if I issue :
C: 1 GETQUOTAROOT INBOX S: * QUOTAROOT INBOX "" S: 1 OK Getquota complete
There's no:
- QUOTA "" (STORAGE 10 512)
That's because:
May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: host=home.domain, path=/home, uid=1191 May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, value=0, limit=0, active=0
Dovecot successfully looks up quota and the server returns active=0, which means that the server told Dovecot the quota isn't active for this user. Why that would happen, I've really no idea.
Interestingly enough I don't see rq_active being checked by quota-tools code. You could always see what happens if you just make Dovecot ignore it. In src/plugins/quota/quota-fs.c change:
if (rq->rq_active) {
to
if (rq->rq_active || 1) {