[imp] Problem with selecting drafts and trash folder IMP stable CVS

Barry Flanagan barryf-lists at flanagan.ie
Thu Apr 7 11:15:55 PDT 2005


Hi,

I have an IMP stable CVS installation running against Courier IMAP. All 
works perfectly, except for the display of avaialble folders under 
Options -> Server and Folder Information

Neither of the drop-downs for selecting the drafts or trash folders show 
any folders, although folders work fine everywhere else.

My error logs contain the following whenever I access this page:

imap_lsub(): supplied argument is not a valid imap resource in 
/var/www/horde/imp/lib/Folder.php on line 143

Server config is fine AFAIK (I've been running IMP since 1999) :

$servers['imap.flan'] = array(
    'name' => 'FlanMail IMAP',
    'server' => 'mail.flanagan.ie',
    'hordeauth' => true,
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => 'INBOX.',
    'maildomain' => '',
    'smtphost' => 'canit.flanagan.ie',
    'smtpport' => 25,
    'realm' => '',
    'preferred' => array('mail.flanagan.ie', 'flanmail.com'),
    'dotfiles' => false,
    'hierarchies' => array(),
    'quota' => array(
      'driver' => 'courier',
      'params' => ''
      )
);

Folder caching is turned off. If I turn it on, I get additional error lines:

 Undefined index:  base_protocol in /var/www/horde/imp/lib/Folder.php on 
line 179
  Undefined index:  stream in /var/www/horde/imp/lib/Folder.php on line 278
  Undefined index:  folders in /var/www/horde/imp/lib/Folder.php on line 278
  Undefined index:  hierarchies in /var/www/horde/imp/lib/Folder.php on 
line 278
  Undefined index:  dotfiles in /var/www/horde/imp/lib/Folder.php on 
line 278
  Undefined index:  namespace in /var/www/horde/imp/lib/Folder.php on 
line 278
  Undefined index:  stream in /var/www/horde/imp/lib/Folder.php on line 278
  Undefined index:  folders in /var/www/horde/imp/lib/Folder.php on line 278
  Undefined index:  hierarchies in /var/www/horde/imp/lib/Folder.php on 
line 278
  Undefined index:  dotfiles in /var/www/horde/imp/lib/Folder.php on 
line 278
  Undefined index:  namespace in /var/www/horde/imp/lib/Folder.php on 
line 278


Anyone any ideas?

Thanks.

-Barry Flanagan




More information about the imp mailing list