Dan White dwhite at olp.net
Sat Jan 30 19:59:09 EST 2010


On 29/01/10 10:26 -0500, Adam Tauno Williams wrote:
>Does "sq {root} none" not work?
>
>sardine.mormail.com> lq user.adam
>  /
>sardine.mormail.com> sq user.adam 38400
>quota:38400
>sardine.mormail.com> lq user.adam
> STORAGE 91336/38400 (237.854166666667%)
>sardine.mormail.com> sq user.adam none
>remove quota
>sardine.mormail.com> lq user.adam
>  /
>sardine.mormail.com>

You still can't remove a quota root this way, as far as I can tell:

lp.net> lqr user/dwhite

zek.olp.net> lqr user/dwhite/Trash

zek.olp.net> sq user/dwhite 1000
quota:1000
zek.olp.net> sq user/dwhite/Trash 500
quota:500
zek.olp.net> lqr user/dwhite
user/dwhite STORAGE 0/1000 (0%)
zek.olp.net> lqr user/dwhite/Trash
user/dwhite/Trash STORAGE 0/500 (0%)
zek.olp.net> sq user/dwhite/Trash none
remove quota
zek.olp.net> lqr user/dwhite/Trash
user/dwhite/Trash

At this point, the quota root for user/dwhite/Trash should be user/dwhite
(0/1000), but isn't.

To make it so, I must remove /var/lib/imap/quota/d/user.dwhite.Trash from
the filesystem and then run 'quota -f' as cyrus. After doing that, I get:

lp.net> lqr user/dwhite/Trash
user/dwhite STORAGE 0/1000 (0%)

As for the original poster, this doesn't really make any difference I don't
think. Somehow he's set a quota root on 'user' and can't remove it.

-- 
Dan White


More information about the Info-cyrus mailing list