Re: [courier-users] How to force quota recalculation ?
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 >Maildir: domain.tld/i.aitahmed > Quota: 209715200 > Encrypted Password: $1$j5tuqwxC$rsLuOD5v8DDBydp.kBEPf0 > Cleartext Password: (none) >Options: disableimap=n,disablepop3=n You are seeing the default quota setting, not the dynamic value determined by courier as to how full the mailbox currently is. If anyone is using Thunderbird then RMB on the Inbox and go to Properties -> Quota and that will give you a real time estimate AFTER removing the maildirsize file and restarting TB to enforce a fresh login and scan of the IMAP/POP folders. -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to force quota recalculation ?
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/domain.tld/i.aitahmed # ls total 48K drwx-- 2 vmail vmail 4.0K May 23 15:20 courierimapkeywords -rwxr--r-- 1 vmail vmail 47 Sep 21 2014 courierimapsubscribed -rw-r--r-- 1 vmail vmail 5.5K May 23 15:11 courierimapuiddb drwx-- 2 vmail vmail 12K May 23 15:11 cur -rw-rw 1 vmail vmail 450 May 24 16:42 ispconfig_mailsize -rw-r- 1 vmail vmail 1.1K May 24 16:41 maildirsize- drwx-- 2 vmail vmail 4.0K May 24 16:45 new -rwxr--r-- 1 vmail vmail 23 Sep 21 2014 subscriptions drwx-- 2 vmail vmail 4.0K May 24 16:42 tmp root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/i.aitahmed # Console 2 root@messagerie[CHROOT][10.10.10.19] ~/SCRIPTS/MAIL # authtest i.aitah...@domain.tld Authentication succeeded. Authenticated: i.aitah...@domain.tld (uid 5000, gid 5000) Home Directory: /var/vmail Maildir: domain.tld/i.aitahmed Quota: 209715200 Encrypted Password: $1$j5tuqwxC$rsLuOD5v8DDBydp.kBEPf0 Cleartext Password: (none) Options: disableimap=n,disablepop3=n root@messagerie[CHROOT][10.10.10.19] ~/SCRIPTS/MAIL # Console 1 again root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/i.aitahmed # du -s 64764 . root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/i.aitahmed # -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to force quota recalculation ?
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 think all the others have a quota field... authmodulelistorig="authuserdb authpam authpgsql authldap authmysql authsqlite authcustom authpipe" -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to force quota recalculation ?
>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 the first line sets the quota... On 25.05.16 16:21, Mark Constable wrote: >The quota comes from an authdaemon lookup... > >May 25 16:16:01 s2 authdaemond[23816]: >Authenticated: sysusername=, sysuserid=, sysgroupid=, >homedir=/xxx/xxx/markc, address=ma...@renta.net, fullname=, >maildir=, quota=2097152000S, options= > >so when there is no maildirsize it gets rebuilt. The proof is that >when maildirmake first creates a users maildir area there is no >maildirsize file and everything works fine, it simply gets created >if it doesn't exist. so this depends on authdaemon providing that information, e.g. this won't work with standard user accounts other that removing quota at all... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Support bacteria - they're the only culture some people have. -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to force quota recalculation ?
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 the first line sets the quota... The quota comes from an authdaemon lookup... May 25 16:16:01 s2 authdaemond[23816]: Authenticated: sysusername=, sysuserid=, sysgroupid=, homedir=/xxx/xxx/markc, address=ma...@renta.net, fullname=, maildir=, quota=2097152000S, options= so when there is no maildirsize it gets rebuilt. The proof is that when maildirmake first creates a users maildir area there is no maildirsize file and everything works fine, it simply gets created if it doesn't exist. -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
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 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 mail again ? I have used rebuilsing quota with "maildirmake -q209715200S ./" in order to rebuild quota, but Sam's recommendation should be easier for users. 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 the first line sets the quota... -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I intend to live forever - so far so good. -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
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 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. The maildirsize file will be rebuilt soon enough. -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] How to force quota recalculation ?
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 -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] How to force quota recalculation ?
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 115 -15690530 -1 -16509012 -1 -5023 -1 -15980449 -1 -15946302 -1 -15941340 -1 -15886354 -1 -15648905 -1 -15746958 -1 -4541 -1 -15610415 -1 -13395625 -1 -9467387 -1 -9548979 -1 -3208040 -1 -1624723 -1 -584471 -1 -437645 -1 -361684 -1 -349319 -1 -295264 -1 159464731 159483841 994871 31131 80351 99241 44521 55561 -4452 -1 -8035 -1 -5556 -1 -9924 -1 162874231 94061 29101 39531 root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/user # root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/user # du -sh 64M . root@messagerie[CHROOT][10.10.10.19] /var/vmail/domain.tld/user # -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users