Discussion:
Quotas
Albert Shih
2018-11-07 15:42:29 UTC
Permalink
Le 07/11/2018 à 08:52:20-0500, James B. Byrne via Info-cyrus a écrit
Cyrus-IMAPD-3.0.7 on FreeBSD-11.2p4
We have users who, having deleted email, evidently do not recover the
quota allocated to those messages. We do not believe that we have
Well...I don't think so. With my configuration (same as you cyrus +
FreeBSD 11) when someone delete a mail the quota is recover.
enabled delayed deletion. All the user mailboxes previous had been
with delayed deletion. For example :

[root /usr/local/cyrus/sbin]# ./quota user.zog
Quota % Used Used Resource Root
20971520 13 2889569 STORAGE user.zog
137037 MESSAGE user.zog
0 X-ANNOTATION-STORAGE user.zog
299 X-NUM-FOLDERS user.zog
[root /usr/local/cyrus/sbin]# cd /bals/user/zog
[root /bals/user/zog]# du -s -h .
3.9G .
[root /bals/user/zog]# find . -type f|wc
179261 179264 2760840
[root /bals/user/zog]#

So you can see the quota show with cyrus command say I use 2889569 (~2.7
Go) and 137037 messages, but on the filesystem (ZFS) I use 3.9Go and 179000
files (event It's not precise because I didn't exclude cyrus*)

Regards

--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
xmpp: ***@obspm.fr
Heure local/Local time:
Wed Nov 7 16:25:13 CET 2018
Merlin Hartley
2018-11-07 15:44:01 UTC
Permalink
When you say ‘delete’ do you mean a client software that may actually be moving the messages to a Trash folder?
This could have the effect you mention 



M
--
Merlin Hartley
Computer Officer
MRC Mitochondrial Biology Unit
University of Cambridge
Cambridge, CB2 0XY
United Kingdom
Cyrus-IMAPD-3.0.7 on FreeBSD-11.2p4
We have users who, having deleted email, evidently do not recover the
quota allocated to those messages. We do not believe that we have
enabled delayed deletion. All the user mailboxes previous had been
sudo -u cyrus /usr/local/cyrus/sbin/reconstruct -f -r -G -V max user
We have also run reconstruct. None-the-less some users show that they
have exceeded their quota even when most of their email has been
deleted. Why?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Loading...