Hello list,
maildirsize shows 200Mb+ of disk usage while du shows only 64Mb. How can I ask
courier to recaclculate the quota and allow this poor user to receive mail
again ?
root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/user # cat
maildirsize
209715200S
213915353 11
I've move maildirsize to maildirsize- but quota is still shown as 209715200
(instead of 64764) even after an authentification lookup :
Console 1
root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/i.aitahmed # mv
maildirsize maildirsize-
root@messagerie[CHROOT][10.10.10.19] /var/vmail/d
From: Matus UHLAR - fantomas
To: courier-users@lists.sourceforge.net
Sent: Wednesday, May 25, 2016 7:10 AM
Subject: Re: [courier-users] How to force quota recalculation ?
>>On 25/05/16 01:48, chaouche yacine wrote:
>>> maildirsize shows 200Mb+ of disk usage while du shows on
>That command hangs for reasons I don't understand. I did a trace and it seems
>it is trying to access a random tmp file that doesn't exist, but it keeps
>trying instead of giving up and exiting with an error :
>
># maildirmake.courier -q 209715200S /var/vmail/domain.tld/a.aitahmed
Oops,
- Original Message -
From: chaouche yacine
To: "courier-users@lists.sourceforge.net"
Sent: Wednesday, May 25, 2016 10:36 AM
Subject: Re: [courier-users] How to force quota recalculation ?
>root@messagerie[CHROOT][10.10.10.19] ~/SCRIPTS/MAIL # ./showquota.single
>i
Bonjour courier users,
I have a weired problem with setting quotas on mailboxes. Here's an example :
For this mailbox, current consumed quota is 690880961 on a 840957952 limit
root@messagerie[CHROOT][10.10.10.20] ~/SCRIPTS/MAIL # head
/var/vmail/algerian-radio.dz/a.chaouche/maildirsize
840957
>- Original Message -
>From: Sam Varshavchik
>To: Courier Users
>Sent: Sunday, August 14, 2016 2:50 PM
>Subject: Re: [courier-users] Weired quota recalculation
>
>No.
>
>Courier calculates the size of the mailbox, in exact bytes. du/df report the
>usage in disk blocks.
That's du's d