Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux