Re: [Dovecot] Quota not being dispayed correctly in 1.2rc2 (with proof)

2009-04-20 Thread Timo Sirainen
On Fri, 2009-04-17 at 10:11 +0200, Ralf Hildebrandt wrote:
> User reports: 0% of 640MB -- which cannot be true.
> I logged in as masteruser and was able to confirm this. I'm getting 
> "0.0% von 640.0MB" == "0.0% of 640.0MB"
> 
> His maildirsize file is attached. His mailbox is nearly full.

Fixed: http://hg.dovecot.org/dovecot-1.2/rev/56732ef5ff96



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Quota not being dispayed correctly in 1.2rc2 (with proof)

2009-04-20 Thread Robert Schetterer
Ralf Hildebrandt schrieb:
> * Ralf Hildebrandt :
>> User reports: 0% of 640MB -- which cannot be true.
>> I logged in as masteruser and was able to confirm this. I'm getting 
>> "0.0% von 640.0MB" == "0.0% of 640.0MB"
>>
>> His maildirsize file is attached. His mailbox is nearly full.
> 
> Further investigation showed that his maildirsize file doesn't get
> updated at all.
> I set him several short mails, yet the output of
> 
> % wc Maildir/maildirsize
> 206  411 1775 Maildir/maildirsize
> 
> stays the same
> 
> I then truncated his Maildir/maildirsize to one line and after that it
> would accept changes again (it gets appended to)
> 
Hi Ralf, just for info with earlier versions of 1.2
on my testserver using quota with mysql dict i dont noticed any problems
with quota
configured like here
http://wiki.dovecot.org/Quota/Dict ( section 1.2 )

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


Re: [Dovecot] Quota not being dispayed correctly in 1.2rc2 (with proof)

2009-04-20 Thread Ralf Hildebrandt
* Ralf Hildebrandt :
> * Ralf Hildebrandt :
> 
> > Further investigation showed that his maildirsize file doesn't get
> > updated at all.
> > I set him several short mails, yet the output of
> > 
> > % wc Maildir/maildirsize
> > 206  411 1775 Maildir/maildirsize
> > 
> > stays the same
> > 
> > I then truncated his Maildir/maildirsize to one line and after that it
> > would accept changes again (it gets appended to)
> 
> Now I sent him lots of tiny mails,, and his Maildir/maildirsize grows
> up until we reach:
> 
> # wc Maildir/maildirsize 
>  853 1705 5123 Maildir/maildirsize
> 
> and that's it. After that, nothing happens. Mail gets delivered OK,
> but now recalculation takes place. Maildir/maildirsize does neither
> grow nor shrink.

I had a look around and found some more:
postamt:/home# find . -mindepth 5 -maxdepth 5 -name maildirsize -size +5k 
./l/l/llxxzner/Maildir/maildirsize
./l/d/ldxxbrit/Maildir/maildirsize
./l/w/lwxxnski/Maildir/maildirsize
./l/i/lix/Maildir/maildirsize
./l/i/lixxe/Maildir/maildirsize
./l/h/lhxx/Maildir/maildirsize
./l/n/lnxxb/Maildir/maildirsize
./l/g/lgxxaf/Maildir/maildirsize
./l/g/lgxxnthe/Maildir/maildirsize
./l/g/lgxxten/Maildir/maildirsize
./l/k/lkxxhler/Maildir/maildirsize
./l/o/loxx/Maildir/maildirsize
./l/s/lsxxzepa/Maildir/maildirsize
./l/s/lsxxlter/Maildir/maildirsize
./l/e/lexxelha/Maildir/maildirsize
./l/e/lexxegel/Maildir/maildirsize
...

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
NT: Insert wallet into drive A: and press any key to empty.


Re: [Dovecot] Quota not being dispayed correctly in 1.2rc2 (with proof)

2009-04-20 Thread Ralf Hildebrandt
* Ralf Hildebrandt :

> Further investigation showed that his maildirsize file doesn't get
> updated at all.
> I set him several short mails, yet the output of
> 
> % wc Maildir/maildirsize
> 206  411 1775 Maildir/maildirsize
> 
> stays the same
> 
> I then truncated his Maildir/maildirsize to one line and after that it
> would accept changes again (it gets appended to)

Now I sent him lots of tiny mails,, and his Maildir/maildirsize grows
up until we reach:

# wc Maildir/maildirsize 
 853 1705 5123 Maildir/maildirsize

and that's it. After that, nothing happens. Mail gets delivered OK,
but now recalculation takes place. Maildir/maildirsize does neither
grow nor shrink.

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
"The words 'Microsoft' and 'trust' only really seem to fit together
with the help of an 'anti' somewhere in the middle. I find it somewhat
odd therefore, to find this particular company proposing the
development of a 'trusted computer platform'. Trusted by whom? Not by
me, that's for sure." http://www.notcpa.org


Re: [Dovecot] Quota not being dispayed correctly in 1.2rc2 (with proof)

2009-04-20 Thread Ralf Hildebrandt
* Ralf Hildebrandt :
> User reports: 0% of 640MB -- which cannot be true.
> I logged in as masteruser and was able to confirm this. I'm getting 
> "0.0% von 640.0MB" == "0.0% of 640.0MB"
> 
> His maildirsize file is attached. His mailbox is nearly full.

Further investigation showed that his maildirsize file doesn't get
updated at all.
I set him several short mails, yet the output of

% wc Maildir/maildirsize
206  411 1775 Maildir/maildirsize

stays the same

I then truncated his Maildir/maildirsize to one line and after that it
would accept changes again (it gets appended to)

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
"Mosaic is the 1990's equivalent of forcing friends to sit through
slides of your trip to Florida - painful for everyone but the host." 
 -Steve G. Steinberg