[imp] IMAP Quota
Edwin L. Culp
eculp at encontacto.net
Mon Jul 18 09:04:35 PDT 2005
Quoting Jeff Rooney <jtrooney at nexdlevel.com>:
> I'm trying to add in the ability to display a users quota, but am having
> some trouble.
> When I edit my server.php file to add the line to define the driver I
> receive a parse
> error. Any idea as to what I'm doing wrong....i know I'm just missing
> something minor.
> Below is my server.php along with the error generated. Thanks in advance
> for any help.
>
> $servers['imap'] = array(
> 'name' => 'mail',
> 'server' => 'mail.nexdlevel.com',
> 'hordeauth' => 'full',
> 'protocol' => 'imap/notls',
> 'port' => 143,
> 'folders' => '',
> 'namespace' => 'INBOX.',
> 'maildomain' => 'nexdlevel.com',
> 'smtphost' => 'mail.nexdlevel.com',
> 'realm' => 'nexdlevel.com',
> 'preferred' => '',
> 'dotfiles' => false,
> 'quota' => array('driver' => 'courier')
> 'hierarchies' => array()
> );
The following is the configuration that I use on several machines and
for a long time with no changes and works as expected. Of course, YMMV
;)
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'localhost',
'hordeauth' => 'full',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'INBOX.',
'namespace' => '',
'maildomain' => '',
'smtphost' => 'localhost',
'realm' => '',
'preferred' => '',
'dotfiles' => false,
'quota' => array(
'driver' => 'courier',
'params' => array(
'login' => '',
'password' => ''
)
),
'hierarchies' => array()
);
Be sure and NOTE: 'folders' => 'INBOX.' and change localhost if need
be, if not, use as is for testing. Also before testing I would run:
# php -l servers.php
and be sure there are no errors from cut and paste.
enjoy,
ed
More information about the imp
mailing list