[imp] Folder Listing does not work.

Federico Petronio petronio@agro.uba.ar
Thu, 07 Feb 2002 14:38:19 -0300


> Federico: You shouldn't set folders and namespace, at least not to the
> same thing; it's one or the other.  It looks to me like you probably
> want to set namespace and leave folders alone.  At least, my guess is
> that your folders look like CORREO-Folder1, not CORREO-/Folder1 on the
> filesystem...


That's right, my mail folders look like CORREO-sent-mail, 
CORREO-Friends, etc. So you think, if I understand correctly, that I 
should set

 'folders' => '',
 'namespace' => 'CORREO-'



I did that. The error message does not appears any any more, but the 
folders in the tree and the foldersbox are all the files in my home 
instead of only the mail folders (files with have the CORREO- prefix ).

Following the way I configure IMP2 and 2.2 I guess

'folders' => 'CORREO-'

is the right configuration, but I got the error message I post before.


>>I have the same problem. This is my imp/config/servers.php:
>>
>>$servers['imap'] = array(
>>     'name' => 'IMAP Agro Server',
>>     'server' => 'mail.agro.uba.ar',
>>     'protocol' => 'imap',
>>     'port' => 143,
>>     'folders' => 'CORREO-',
>>     'namespace' => 'CORREO-',
>>     'maildomain' => 'agro.uba.ar',
>>     'smtphost' => 'mail.agro.uba.ar',
>>     'realm' => '',
>>     'preferred' => ''
>>);
>>
>>
>>I have php-4.1.0-0horde2, imp-3.0-1, horde-2.0-1 on RedHat 7.2 and 
>>imap-2000c-1.6.0 on RedHat 6.2
>>
>>The folders are files in the user's home folders with the prefix
>>CORREO- 
>>(i.e. CORREO-sent-mail). That work perfect with 2.2.x but in 3.0 the
>>
>>folders tree does not appears, instead shows the message:
>>
>>
>>Warning: Undefined index: attributes in 
>>/var/www/html/horde/imp/lib/Tree.php on line 689
>>
>>Warning: Undefined index: {mail.agro.uba.ar:143/imap}CORREO-drafts in
>>
>>/var/www/html/horde/imp/lib/Tree.php on line 652
>>
>>Warning: Undefined index: {mail.agro.uba.ar:143/imap}CORREO-fede in
>>
>>/var/www/html/horde/imp/lib/Tree.php on line 652
>>
>>Warning: Undefined index: {mail.agro.uba.ar:143/imap}CORREO-pruebas
>>in 
>>/var/www/html/horde/imp/lib/Tree.php on line 652
>>
>>Warning: Undefined index: {mail.agro.uba.ar:143/imap}CORREO-sent-mail
>>in 
>>/var/www/html/horde/imp/lib/Tree.php on line 652
>>
>>Warning: Undefined index: 
>>{mail.agro.uba.ar:143/imap}CORREO-sent-mail-jan-2002 in 
>>/var/www/html/horde/imp/lib/Tree.php on line 652
>>
>>Warning: Cannot add header information - headers already sent by
>>(output 
>>started at /var/www/html/horde/imp/lib/Tree.php:689) in 
>>/usr/share/php/HTTP/Compress.php on line 75
>>
>>Warning: Cannot add header information - headers already sent by
>>(output 
>>started at /var/www/html/horde/imp/lib/Tree.php:689) in 
>>/usr/share/php/HTTP/Compress.php on line 76
>>
>>Warning: Cannot add header information - headers already sent by
>>(output 
>>started at /var/www/html/horde/imp/lib/Tree.php:689) in 
>>/usr/share/php/HTTP/Compress.php on line 86
>>
>>Warning: Cannot add header information - headers already sent by
>>(output 
>>started at /var/www/html/horde/imp/lib/Tree.php:689) in 
>>/usr/share/php/HTTP/Compress.php on line 100
>>
>>< a lot of non printable characters here...>
> 



Thanks again...

-- 
					Federico Petronio
					petronio@agro.uba.ar
					Linux User #129974

---
Unix IS user friendly. It's just selective about who its friends are.