Re:

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

 



Adam Tauno Williams wrote:
> On Fri, 2010-01-29 at 16:01 +0100, Michael Glad wrote:
>   
>> Dan White wrote:
>>     
>>> On 29/01/10 11:14 +0100, Michael Glad wrote:
>>>       
>>>> It seems that I've accidentially enabled IMAP quotas on one of my 
>>>> cyrus servers -- users complain
>>>> that saving mails into certain folders fails with an  'over quota' 
>>>> message.
>>>>         
>>> bash-3.2$ cat /var/lib/imap/quota/u/user
>>>       
>>>> 226215
>>>> Yesterday evening, I shut down cyrus and removed the  
>>>> /var/lib/imap/quota/u directory and restarted cyrus, but the file has 
>>>> reappeared.
>>>>         
>
> Don't modify the filesystem, use the tools.
>
>   
>>>> Using cyradm, I can confirm that the affected folders are indeed 
>>>> under quota:
>>>> localhost> lqm user/abc/folder1/folder2/folder3/folder4
>>>> user STORAGE 220/0
>>>> localhost> lqm user/abc/folder1/folder2/folder3
>>>> localhost>
>>>>         
>
> 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>
>
>   
>>> I am running Cyrus 2.3.16. The cyrus documentation and web resource 
>>>       
>>>> does not contain much info about
>>>> how to _disable_ quotas, so any input from the list is welcomed.
>>>>         
>
> It is documented in the Cyrus chapter of WMOGAG.
> <http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>
>
>
>   
You're right about using the tools rather than messing with the file 
system -- inspired by the above URL, it seems I've solved the problem
now or at least made my users happy again:

bash-3.2$  cyradm --user=cyrus localhost
Password:
localhost> sq user none
remove quota
bash-3.2$  cat /var/lib/imap/quota/u/user
302289845
-1
bash-3.2$

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