[imp] Re: Courier-imap Quota (IMP-H3-4.0.2)

alex at vc.bks.by alex at vc.bks.by
Fri Mar 25 09:00:02 PST 2005


----- Message from robelx at gmail.com ---------
    Дата:Fri, 25 Mar 2005 14:45:58 +0100
    От кого:Roland Obermayer <robelx at gmail.com>
ОтветитьRoland Obermayer <robelx at gmail.com>
Тема: [imp] Courier-imap Quota (IMP-H3-4.0.2)
      Кому:imp at lists.horde.org


> Any advice how to get the quota from courier-imapd?
>
> Horde-3.0.3, IMP-H3-4.0.2
>
> courier-quota is working (I can see it in thunderbird).
>
> I've got in the servers.php:
>
>    'quota' => array (
>        'driver' => 'courier',
>         'params' => array(
>             'login' => '',
>             'password' => ''
>          )
>    )
>
> And I tried to patch the lib/Quota/courier.php with the stuff I found
> on the list:
>
>            #if (!empty($quota['limit'])) {
>            #    return array('usage' => $quota['usage'] * 1024,
> 'limit' => $quota['limit'] * 1024);
>
>            if (!empty($quota['MESSAGE']['limit'])) {
>              return array('usage' => $quota['MESSAGE']['usage'] *
> 1024, 'limit' => $quota['MESSAGE']['limit'] * 1024);
>
>

from my servers.php:
    'quota' => array(
        'driver' => 'courier',
        'params' => array()
        )

I'm no have any patches.
Check respord from your IMAP:

$ telnet localhost 143
Trying 192.168.1.2...
Connected to x.x.x.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready.

You must see the QUOTA word here.




More information about the imp mailing list