Re: maildirsize not correct

2016-08-29 Thread Kamil Madac
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 u...@domain.sk
Quota name Type  Value
Limit
%
User quota STORAGE 2009709
2048000
98
User quota MESSAGE4720
-
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.tu...@dovecot.fi> wrote:

> Does it work if you do?
>
>
>
> ---
> Aki Tuomi
> Dovecot oy
>
>  Original message 
> From: Kamil Madac <kamil.ma...@gmail.com>
> Date: 26/08/2016 20:51 (GMT+02:00)
> To: Aki Tuomi <aki.tu...@dovecot.fi>
> Cc: dovecot@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.tu...@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-dove...@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 u...@domain.sk "messages vsize"
>> INBOX*
>> >>>   messages
>> >>> vsize
>> >>>
>> >>> INBOX   3809 1521049349
>> >>>
>> >>> but when I check the quotas with doveadm:
>> >>>
>> >>> doveadm quota get -u u...@domain.sk
>> >>> Quota name Type Value
>> >>> Limit
>> >>> %
>> >>> User quota STORAGE 541391
>> >>> 2048000
>> >>> 26
>> >>> User quota MESSAGE886
>> >>> -
>> >>> 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/>


Re: maildirsize not correct

2016-08-26 Thread Aki Tuomi
Does it work if you do?


---Aki TuomiDovecot oy
 Original message From: Kamil Madac <kamil.ma...@gmail.com> 
Date: 26/08/2016  20:51  (GMT+02:00) To: Aki Tuomi <aki.tu...@dovecot.fi> Cc: 
dovecot@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.tu...@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-dove...@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 u...@domain.sk "messages vsize" INBOX*

>>>   messages

>>> vsize

>>>

>>> INBOX   3809     1521049349

>>>

>>> but when I check the quotas with doveadm:

>>>

>>> doveadm quota get -u u...@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




Re: maildirsize not correct

2016-08-26 Thread Kamil Madac
Hi Aki,

No I do not use it.

On Thu, Aug 25, 2016 at 7:32 AM, Aki Tuomi  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-dove...@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 u...@domain.sk "messages vsize"
> INBOX*
> >>>   messages
> >>> vsize
> >>>
> >>> INBOX   3809 1521049349
> >>>
> >>> but when I check the quotas with doveadm:
> >>>
> >>> doveadm quota get -u u...@domain.sk
> >>> Quota name Type Value
> >>> Limit
> >>> %
> >>> User quota STORAGE 541391
> >>> 2048000
> >>> 26
> >>> User quota MESSAGE886
> >>> -
> >>> 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 


Re: maildirsize not correct

2016-08-24 Thread Aki Tuomi
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 
> 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 u...@domain.sk "messages vsize" INBOX*
>>>   messages
>>> vsize
>>>
>>> INBOX   3809 1521049349
>>>
>>> but when I check the quotas with doveadm:
>>>
>>> doveadm quota get -u u...@domain.sk
>>> Quota name Type Value
>>> Limit
>>> %
>>> User quota STORAGE 541391
>>> 2048000
>>> 26
>>> User quota MESSAGE886
>>> -
>>> 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
>>>
>


Re: maildirsize not correct

2016-08-24 Thread Kamil Madac
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 
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 u...@domain.sk "messages vsize" INBOX*
>>   messages
>> vsize
>>
>> INBOX   3809 1521049349
>>
>> but when I check the quotas with doveadm:
>>
>> doveadm quota get -u u...@domain.sk
>> Quota name Type Value
>> Limit
>> %
>> User quota STORAGE 541391
>> 2048000
>> 26
>> User quota MESSAGE886
>> -
>> 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 


Re: maildirsize not correct

2016-08-23 Thread WJCarpenter

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 u...@domain.sk "messages vsize" INBOX*
  messages
vsize

INBOX   3809 1521049349

but when I check the quotas with doveadm:

doveadm quota get -u u...@domain.sk
Quota name Type Value
Limit
%
User quota STORAGE 541391
2048000
26
User quota MESSAGE886
-
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