[cvs] [Wiki] changed: QuotaHack

Wiki Guest wiki at wiki.horde.org
Tue Nov 15 11:09:39 PST 2005


guest [203.145.159.37]  Tue, 15 Nov 2005 11:09:39 -0800

Modified page: http://wiki.horde.org/QuotaHack
New Revision:  1.8
Change log:  new quota command

@@ -12,8 +12,10 @@
           'grep_path'  => '/bin/grep'
       )
   ),
 </code>
+
+For newer 'quota' command follow the instructions given on this [http://lists.horde.org/archives/dev/Week-of-Mon-20040126/012982.html link]. I have tested that on RHEL 3, it works fine. I am not sure if further work has been done on new format 'quota' command, in case anyone knows of new improved version on the list archive, please update the link here.
 
 Here is another lengthy hack that displays quota on a server not supporting quota, like dovecot or any mail server without using the built in quota feature(If you find this simpler).
 
 Edit your /etc/sudoer, add the following lines. Replace apache with whatever your httpd/apache user is. RHEL/Fedora user is apache.
@@ -101,9 +103,11 @@
 
 <link href="<?php echo $GLOBALS['registry']->getImageDir()?>/favicon.ico" rel="SHORTCUT ICON" />
 <?php if (isset($mailbox_url)): ?>
 </code>
+
+I prefer the method given above for several reasons: I do not have to depend on OS/mail server quota. Usage of only mailboxes can be counted regardless of the partitions they are on. Quota assigned are for mailboxes only, they do not apply anywhere else.
 
 Do let me know if this was useful or send in any improvements/suggestions.
 
 jigish dot gohil at gmail dot com
 


More information about the cvs mailing list