[Dovecot] Quota over NFS

Timo Sirainen tss at iki.fi
Mon May 11 19:21:20 EEST 2009


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) {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090511/07363f99/attachment.bin 


More information about the dovecot mailing list