[Fwd: Problem of enable ( show ) Personal MailBox Quota Usage]

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

 



Dear All,

Would you mind to help more ?

Thanks !

Edward.
-------- Original Message --------
Subject: 	Problem of enable ( show ) Personal MailBox Quota Usage
Date: 	Sat, 06 Sep 2008 21:39:50 +0800
From: 	edwardspl@xxxxxxxxxx
To: 	IMP <imp@xxxxxxxxxxxxxxx>
CC: 	horde@xxxxxxxxxxxxxxx <horde@xxxxxxxxxxxxxxx>



Dear All,

Mine is FC6 System and enable build-in quota function ( Linux command ) :

I have ever visit the document as the following :
http://wiki.horde.org/QuotaHack?referrer=HowTo#

And then, modify the following config files :

For /horde/imp/config/servers.php :

$servers['cyrus'] = array(
   'name' => 'Mail Server',
   'server' => 'xxx.xxx.xxx.xxx',
   'hordeauth' => false,
   'protocol' => 'imap/notls',
   'port' => 143,
   'maildomain' => 'xxx.xxx.xx',
   'smtphost' => 'xxx.xxx.xxx.xxx',
   'smtpport' => 25,
   'realm' => '',
   'preferred' => '',
   'quota' => array(
   'driver' => 'command',
   'params' => array(
   'quota_path' => '/usr/bin/quota',
    'grep_path'  => '/bin/grep'
   )
 ),
);

For /horde/imp/lib/Quota/command.php :

class IMP_Quota_command extends IMP_Quota {

   /**
    * Constructor
    *
    * @param array $params  Hash containing connection parameters.
    */
   function IMP_Quota_command($params = array())
   {
       $this->_params = array(
           'quota_path' => 'quota',
           'grep_path'  => 'grep',
           'partition'  => null
       );

       $this->_params = array_merge($this->_params, $params);
   }

For Quota setting :

[root@host home]$ ls -l -h aquota*
-rw-r--r-- 1 root root 10K Sep  5 23:50 aquota.group
-rw-r--r-- 1 root root 10K Sep  5 23:50 aquota.user
[root@host home]$

BUT the result is problem :
http://www.ita.org.mo/~edward/webmail/quota_problem.jpg

Thanks for your help !

Edward.



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux