Summary | quota using a generic function [patch] |
Queue | IMP |
Queue Version | 4.2-RC2 |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | Michael.Redinger (at) uibk (dot) ac (dot) at |
Created | 02/26/2008 (6341 days ago) |
Due | |
Updated | 02/29/2008 (6338 days ago) |
Assigned | |
Resolved | 02/29/2008 (6338 days ago) |
Milestone | |
Patch | No |
Assigned to Chuck Hagenbuch
State ⇒ Resolved
:), and committed. Thanks!
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ quota using a generic function [patch]
Queue ⇒ IMP
New Attachment: imp-quota-function.tar.gz
me: we do not have IMAP server quota support, the mail filesystems
(and the users) are not available on the local machine, there are no
quota log files etc.
I therefore wrote a quick implementation of the quota API that calls a
generic function where I could do whatever I want.
I added that function to hooks.php and configured the servers to use
the new driver ('function').
I use this function to connect to the server using ssh (the sample
function requires the PEAR ssh2 module) and get the quota.
The archive contains one file imp/lib/Quota/function.php that needs to
be put in your IMP directory.
There are also two files - servers.php.quota and hooks.php.quota that
show how to use the driver.