[Dovecot] Wrong size calculating with maildirquota

Umut Arus umuta at sabanciuniv.edu
Tue Sep 18 15:26:01 EEST 2007


Hello,

I'm using dovecot-1.0.5 with postfix. There is a problem which dovecot 
folder's size calculating wrong. It doesn't calculates whole folders' 
sum. Only maildirsize file keeps the first requested folder's size (in 
this example, Inbox). The example shows Inbox's size, another folder's 
size didn't add although connecting with IMAP. As the effect, I can not 
manage users' quota. Is there any hint with using namespace.


Include quota size  infos in control file,

[root at xxxx Maildir]# cat /var/no-quotas/control/oneusername/maildirsize

512000000S

4941014 190

1849 1

40788 1


Also, namespace descriptions in dovecot.conf,

namespace private {

  separator = /

  prefix =

  inbox = yes

  location = maildir:~/Maildir:INDEX=/var/no-quotas/index/%u:CONTROL=/var/no-quotas/control/%u

}

namespace private {

  separator = /

  prefix = mail/

  #hidden = yes

  location = maildir:~/Maildir/.mail:INDEX=/var/no-quotas/index/%u:CONTROL=/var/no-quotas/control/%u

}


thanks in advance.


More information about the dovecot mailing list