Re: [courier-users] How to force quota recalculation ?

2016-05-25 Thread Mark Constable
On 25/05/16 19:00, chaouche yacine wrote: > I've move maildirsize to maildirsize- but quota is still shown as > 209715200 (instead of 64764) even after an authentification lookup > [...] > Authenticated: i.aitah...@domain.tld (uid 5000, gid 5000) > Home Directory: /var/vmail >

Re: [courier-users] How to force quota recalculation ?

2016-05-25 Thread chaouche yacine
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]

Re: [courier-users] How to force quota recalculation ?

2016-05-25 Thread Mark Constable
On 25/05/16 16:38, Matus UHLAR - fantomas wrote: > so this depends on authdaemon providing that information, e.g. this > won't work with standard user accounts other that removing quota at > all... You're right, not with authpam (and maybe authpipe / authcustom depending what's returned), but I

Re: [courier-users] How to force quota recalculation ?

2016-05-25 Thread Matus UHLAR - fantomas
>On 25/05/16 16:10, Matus UHLAR - fantomas wrote: >> On 25.05.16 12:41, Mark Constable wrote: >>> There may be more elegant solutions but I just simply delete that >>> file and quotawarn. The maildirsize file will be rebuilt soon >>> enough. >> >> isn't quota lost when you lose maildirsize? >> I

Re: [courier-users] How to force quota recalculation ?

2016-05-25 Thread Mark Constable
On 25/05/16 16:10, Matus UHLAR - fantomas wrote: > On 25.05.16 12:41, Mark Constable wrote: >> There may be more elegant solutions but I just simply delete that >> file and quotawarn. The maildirsize file will be rebuilt soon >> enough. > > isn't quota lost when you lose maildirsize? > I thought

Re: [courier-users] How to force quota recalculation ?

2016-05-25 Thread Matus UHLAR - fantomas
>On 25/05/16 01:48, chaouche yacine wrote: >> maildirsize shows 200Mb+ of disk usage while du shows only 64Mb. how could this happen? Did someone modify the maildir's data manually (not by courier's sw)? >> How >> can I ask courier to recaclculate the quota and allow this poor user >> to receive

Re: [courier-users] How to force quota recalculation ?

2016-05-24 Thread Mark Constable
On 25/05/16 01:48, chaouche yacine wrote: > 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 ? There may be more elegant solutions but I just simply delete that file and quotawarn.

Re: [courier-users] How to force quota recalculation ?

2016-05-24 Thread Sam Varshavchik
chaouche yacine writes: 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 ? Create and delete a folder using IMAP. pgpVjHqDRVfRN.pgp Description: PGP signature

[courier-users] How to force quota recalculation ?

2016-05-24 Thread chaouche yacine
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