[cvs] [Wiki] changed: QuotaHack
Wiki Guest
wiki at wiki.horde.org
Tue Nov 15 05:39:15 PST 2005
guest [203.145.159.37] Tue, 15 Nov 2005 05:39:15 -0800
Modified page: http://wiki.horde.org/QuotaHack
New Revision: 1.6
Change log: quota command
@@ -1,5 +1,19 @@
-Here is a 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).
+To enable quota using unix 'quota' command.
+
+Add the following lines in your horde/imp/config/servers.php under your mail server configuration.
+
+<code type="php">
+ 'quota' => array(
+ 'driver' => 'command',
+ 'params' => array(
+ 'quota_path' => '/usr/bin/quota',
+ 'grep_path' => '/bin/grep'
+ )
+ ),
+</code>
+
+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.
<code type="bash">
More information about the cvs
mailing list