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-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 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] Courier sourcing during test

2016-05-25 Thread Sam Varshavchik
David Niklas writes: Hello, I've successfully run the tests of courier 0.75.0 up to the part where the msg writes info into the ID and ENV files. Strangely, id output no info into the ID file though sh wrote "/root/.profile" Permission denied. The env command output many variables all from

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 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 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]

[courier-users] Courier sourcing during test

2016-05-25 Thread David Niklas
Hello, I've successfully run the tests of courier 0.75.0 up to the part where the msg writes info into the ID and ENV files. Strangely, id output no info into the ID file though sh wrote "/root/.profile" Permission denied. The env command output many variables all from /etc/profile, thought the