[horde] Error message of "Unable to retrieve quota" from IMP
Eric Jon Rostetter
eric.rostetter at physics.utexas.edu
Mon Apr 6 19:40:56 UTC 2009
Quoting edwardspl at ita.org.mo:
> horde/imp/config/servers.php
This is the proper place to configure it...
> 'quota' => array(
> 'driver' => 'command',
> 'params' => array(
> 'quota_path' => '/usr/bin/quota',
> 'grep_path' => '/bin/grep'
You can change the above to 'quota_path' => '/usr/bin/sudo /usr/bin/quota',
> command.php :
You should not have to modify this file...
> function IMP_Quota_command($params = array())
> {
> $this->_params = array(
> 'quota_path' => 'sudo quota',
> 'grep_path' => 'sudo grep',
> 'partition' => null
> );
There is no reason to use sudo for grep...
You probably want to set partition to /dev/sda2 (in servers.php, not
in command.php).
> /dev/sda2 1720 0 10240 1 0 0
> [manager at svr ~]$ ls -l -h /var/spool/mail/edward
> -rw------- 1 edward mail 1.7M Apr 5 14:30 /var/spool/mail/edward
Is /dev/sda2 the disk for /var/spool/mail/edward ?
> So, what config mistake I have ?
Several logical mistakes as shown above... Plus you may have to set the
partition in the config, depending on your home directory entry in your
authentication system.
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
This message is provided "AS IS" without warranty of any kind,
either expressed or implied. Use this message at your own risk.
More information about the horde
mailing list