[imp] IMAP Quota

Ryan Flannery ryan.flannery at gmail.com
Fri Jul 15 12:44:10 PDT 2005


I also had to add a 'params' element to the 'quota' item...
So in my servers.php, I have

   'quota' => array('driver' => 'courier', 'params' => array()),

and that works.

-Ryan


  -- slusarz at bigworm.curecanti.org wrote the following on Jul 15, 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')
>                                            ^^^
> You need a comma here.
> 
> >    'hierarchies' => array()
> > );
> >
> > Error:
> > *Parse error*: parse error, unexpected T_CONSTANT_ENCAPSED_STRING,
> > expecting ')'
> 
> michael
> 
> _______________________________________
> Michael Slusarz [slusarz at curecanti.org]
> -- 
> 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


More information about the imp mailing list