[imp] Re: Quota problem with Courier/vpopmail/qmail and latest horde/imp

tapodufeu aldric.feuillebois at essec.fr
Sat Feb 19 09:58:49 PST 2005


Thanks for replying Fred Ho,

I've already tried your solution. In this case, it doesn't work and no 
log (neither php nor horde)... just the framework and a blank page 
(instead of mails list) when I go inbox

Any other idea ?
Regards,
Aldric


Fred Ho a écrit :
> ... [snip]
> 
>>So, i've red that I need to change my servers.php config file.
>>I've tried all these issues :
> 
> ... [snip]
> 
>>     'quota' => array (
>>         'driver' => 'courier',
>>         'params' => array()
>>     ),
>>
> 
> 
> This one setting should work.
> 
> ... [snip]
> 
> 
>>With the first config, horde/imp works but i don't see any quota.
>>
>>With the 3 last configurations, horde seems to works but impossible to
>>see any maildir or the horde homepage. Only framework is visible.
>>
> 
> 
> If you google hard enough, you will find the answer:
> 
> In horde/imp/lib/Quota, edit the file courier.php and change the lines
> if (!empty($quota['limit'])) {
>       return array('usage' => $quota['usage'] * 1024, 'limit' =>
> $quota['limit'] * 1024);
> } elseif ...
> 
> to
> 
> if (!empty($quota['MESSAGE']['limit'])) {
>       return array('usage' => $quota['MESSAGE']['usage'] * 1024, 'limit' =>
> $quota['MESSAGE']['limit'] * 1024);
> } elseif ...
> 
> 
> 
>>In horde.log :
>>[Sat Feb 19 09:02:27 2005] [error] PHP Notice:  Undefined index:  params
>>in /var/www/horde/imp/lib/Block/summary.php on line 57
>>[Sat Feb 19 09:02:39 2005] [error] PHP Notice:  Undefined index:  params
>>in /var/www/horde/imp/mailbox.php on line 392
>>
>>Summary.php on line 57
>>$quotaDriver =
>>&IMP_Quota::singleton($_SESSION['imp']['quota']['driver'],
>>$_SESSION['imp']['quota']['params']);
>>
>>mailbox.php on line 392
>>     $quotaDriver = &IMP_Quota::singleton($imp['quota']['driver'],
>>$imp['quota']['params']);
>>
>>
>>So even if if configure params for quota in servers.php, these scripts
>>don't work.
>>
>>
>>Do you have any idea about my error or misconfiguration ?
>>Any example of configuration for my simple case ?
>>
>>
>>Thanks for all,
>>Aldric
>>
>>--
>>IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>Frequently Asked Questions: http://horde.org/faq/
>>To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>
> 
> 
> Regards,
> Fred
> 



More information about the imp mailing list