[Dovecot] Problem with quota calculation...

Alessio Cecchi alessio at skye.it
Fri May 30 06:45:06 UTC 2014


Il 27/05/2014 13:04, Klaus Tachtler ha scritto:
> Hello,
>
> since I changed the quota backend from maildir (maildir:User quota)
> to dictionary (dict:User quota::proxy::quota), I have problems with
> tha calculated size and messages count.
>
> --- Input/Output ---
>
> # du -hs
> 23M    .
>
> # doveadm quota get -u ich at tachtler.net
> Quota name Type    Value   Limit
>                         %
> User quota STORAGE 46602 1024000
>                         4
> User quota MESSAGE   166       -
>                         0
>
> # doveadm quota recalc -u ich at tachtler.net
>
> # doveadm quota get -u ich at tachtler.net
> Quota name Type    Value   Limit
>                         %
> User quota STORAGE 23301 1024000
>                         2
> User quota MESSAGE    83       -
>                         0
>
> --- Input/Output ----
>
> It seems, that all was counted twice?

Hi,

try to understand if quota is updated when you delete a messagge (via 
POP/IMAP) and when a new messagge is delivered.

Are you using Dovecot for LDA? THis is necessary if you use dict for quota.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz
Cloud Email Hosting -> http://www.qboxmail.com
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


More information about the dovecot mailing list