maildirsize not correct
Kamil Madac
kamil.madac at gmail.com
Mon Aug 29 11:06:22 UTC 2016
I tried enable quota_vsizes, but again same wrong result.
I then tried to install Ubuntu 16.04 on VM, where dovecot 2.2.22 (fe789d2)
is in repositories. I rsynced user data to VMs. I deleted maildirsize, let
doveadm recalc quota and finally and I have correct results:
doveadm quota get -u user at domain.sk
Quota name Type Value
Limit
%
User quota STORAGE 2009709
2048000
98
User quota MESSAGE 4720
-
0
So it seems that quota recalculation is buggy in dovecot 2.2.9
On Fri, Aug 26, 2016 at 8:12 PM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
> Does it work if you do?
>
>
>
> ---
> Aki Tuomi
> Dovecot oy
>
> -------- Original message --------
> From: Kamil Madac <kamil.madac at gmail.com>
> Date: 26/08/2016 20:51 (GMT+02:00)
> To: Aki Tuomi <aki.tuomi at dovecot.fi>
> Cc: dovecot at dovecot.org
> Subject: Re: maildirsize not correct
>
> Hi Aki,
>
> No I do not use it.
>
> On Thu, Aug 25, 2016 at 7:32 AM, Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
>
>> Are you using quota_vsizes=yes?
>>
>> Aki
>>
>> On 24.08.2016 21:39, Kamil Madac wrote:
>> > Thanks, but this is most probably different issue. My maildirsize is
>> > computed incorrectly even if I delete it completely and let dovead
>> > recompute it so expunging is not in the game.
>> >
>> > Is there any way how to track/debug the recomputation algorithm in
>> dovecot?
>> >
>> > On Wed, Aug 24, 2016 at 12:02 AM, WJCarpenter <
>> bill-dovecot at carpenter.org>
>> > wrote:
>> >
>> >> A long shot, but here's how I experienced similar symptoms:
>> >> http://www.dovecot.org/list/dovecot/2016-April/104091.html
>> >>
>> >>
>> >>
>> >> Kamil Madac wrote on 08/23/2016 02:02 PM:
>> >>
>> >>> Hi,
>> >>>
>> >>> One of my email accounts has 1,5gb of emails in INBOX, but maildirsize
>> >>> shows only 528mb. 'du' also shows 1,5gb and there are 3809 files in
>> cur
>> >>> directory.
>> >>>
>> >>> When I use mailbox status a can see correct values:
>> >>>
>> >>> doveadm -f table mailbox status -u user at domain.sk "messages vsize"
>> INBOX*
>> >>> messages
>> >>> vsize
>> >>>
>> >>> INBOX 3809 1521049349
>> >>>
>> >>> but when I check the quotas with doveadm:
>> >>>
>> >>> doveadm quota get -u user at domain.sk
>> >>> Quota name Type Value
>> >>> Limit
>> >>> %
>> >>> User quota STORAGE 541391
>> >>> 2048000
>> >>> 26
>> >>> User quota MESSAGE 886
>> >>> -
>> >>> 0
>> >>>
>> >>> I tried to delete maildirsize, but it was recalculated again
>> incorrectly.
>> >>>
>> >>> 2097152000S
>> >>> 554384829 886
>> >>>
>> >>> Dovecot version is 2.2.9 installed from packages on Ubuntu 14.04
>> >>> I have other accounts on server which are have no problems with
>> >>> maildirsize
>> >>> and quotas. Does anyone have same experience?
>> >>>
>> >>> Kamil
>> >>>
>> >
>>
>
>
>
> --
> Kamil Madac <https://kmadac.github.io/>
>
--
Kamil Madac <https://kmadac.github.io/>
More information about the dovecot
mailing list