[imp] Multiple quota drivers?

Rick Romero rick at havokmon.com
Wed Sep 1 09:52:14 PDT 2004


I'd like to have multiple quotas - a disk quota, and a bandwidth quota.
The bandwidth is a simple SQL query, so I've already gotten a quota
driver written for it.

This is Horde/IMP CVS 5/03 :/

How would I enable it in my imp/config/servers.php?

@$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX.',
    'maildomain' => '',
    'smtphost' => 'localhost',
    'realm' => '',
    'preferred' => 'Y',
        'quota' => array(
                'driver' => 'courier',
                'params' => array(
                        'login' => $imp['user'],
                        'password' => 
				Secret::read(Secret::getKey('imp'),$imp['pass'])
                )
        ),
        'acl' => array(
                'driver' => 'rfc2086',
        ),
        'dotfiles' => false,
    'hierarchies' => array());


Any suggestions?

Thanks,

Rick



More information about the imp mailing list