| Summary | Courier IMAP - Nested folders do not show up |
| Queue | IMP |
| Queue Version | 4.1 |
| Type | Bug |
| State | Not A Bug |
| Priority | 1. Low |
| Owners | slusarz (at) horde (dot) org |
| Requester | imp.5.drel (at) spamgourmet (dot) com |
| Created | 03/13/2006 (7180 days ago) |
| Due | |
| Updated | 03/28/2006 (7165 days ago) |
| Assigned | 03/13/2006 (7180 days ago) |
| Resolved | 03/28/2006 (7165 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Not A Bug
setup. Resolving = bogus.
between IMP 4.1 and the old way we used to handle the IMAP tree
because this doesn't happen with Horde 3.1+.
$conf['auth']['params']['dsn'] =
'{localhost:993/imap/ssl/novalidate-cert}INBOX';
But this should have been:
$conf['auth']['params']['dsn'] = '{localhost:993/imap/ssl/novalidate-cert}';
Thanks!
for IMAP folder subscriptions, I can't see anything under INBOX.,
even if I make sure to subscribe to folders otherwise. Without IMP
using IMAP folder subscriptions, all the folders are in filesystem
date order, and are named like INBOX.Stuff.Subscriptions.
between IMP 4.1 and the old way we used to handle the IMAP tree
because this doesn't happen with Horde 3.1+.
IMAP folder subscriptions, I can't see anything under INBOX., even if
I make sure to subscribe to folders otherwise. Without IMP using IMAP
folder subscriptions, all the folders are in filesystem date order,
and are named like INBOX.Stuff.Subscriptions.
subscriptions, I can't see ANY folders (Courier-IMAP 4.1.0), and on
the Folders page, I can't see any folders, nor create any.
an IMAP server is advertising that it supports the 'CHILDREN'
extension, and then doesn't provide children information when
expected, it doesn't seem like there is too much we can do about this.
continue evaluating IMP 4.1 now that we can access all of our folders.
(I have everything compiled and tested, I just need a lull to make the
switch on the production IMAP server); I will make sure to report back
in this incident whether or not the current version of Courier IMAP
has the same problem.
Best regards (and thank you for the speedy responses),
Nick
this a non IMP bug and not worth the effort to work around?
IMAP server is advertising that it supports the 'CHILDREN' extension,
and then doesn't provide children information when expected, it
doesn't seem like there is too much we can do about this.
I will be interested to hear if upgrading the IMAP server solves this issue.
I am running a fairly old version of Courier IMAP (v3.0.5); I'll be
upgrading that to v4.1.0 over this coming weekend, with any luck, and
can test to see if the problem goes away with the upgrade.
Is there any further information I can provide, or do you consider
this a non IMP bug and not worth the effort to work around?
advertising it supports the CHILDREN extension, but none of your
folders that have children appear to have the bitmask set indicating
whether there are children or not - which means that
imap_getmailboxes() is not returning correct information. Could you
try replacing line 83 in imp/lib/IMAP/Tree.php with this:
$this->IMAPchildrenSupport(false);
print_r($imptree);
to the end of imp/folders.php - go to that page - and then attach the
output of that call to this ticket.
imp_tree Object ( [_vfolders] => Array (
[**search_4vu2ufc4pct3cwwsskgo0] => Virtual INBOX ) [_newimaptree] =>
1 [_tree] => Array ( [] => Array ( [a] => 1056 ) [#shared] => Array (
[a] => 16386 [c] => 0 [p] => [v] => #shared [l] => #shared ) [shared]
=> Array ( [a] => 16386 [c] => 0 [p] => [v] => shared [l] => shared )
[INBOX.Washington DECA] => Array ( [a] => 512 [c] => 0 [p] => [v] =>
INBOX.Washington DECA [l] => Washington DECA ) [INBOX.National DECA]
=> Array ( [a] => 512 [c] => 0 [p] => [v] => INBOX.National DECA [l]
=> National DECA ) [INBOX.Inbox-archive] => Array ( [a] => 512 [c] =>
0 [p] => [v] => INBOX.Inbox-archive [l] => Inbox-archive )
[INBOX.Mailing Lists] => Array ( [a] => 512 [c] => 0 [p] => [v] =>
INBOX.Mailing Lists [l] => Mailing Lists ) [INBOX.FogBugz] => Array (
[a] => 512 [c] => 0 [p] => [v] => INBOX.FogBugz [l] => FogBugz )
[INBOX.Archive] => Array ( [a] => 512 [c] => 0 [p] => [v] =>
INBOX.Archive [l] => Archive ) [INBOX.drafts] => Array ( [a] => 512
[c] => 0 [p] => [v] => INBOX.drafts [l] => drafts ) [INBOX.virusalert]
=> Array ( [a] => 512 [c] => 0 [p] => [v] => INBOX.virusalert [l] =>
virusalert ) [INBOX.Junk] => Array ( [a] => 512 [c] => 0 [p] => [v] =>
INBOX.Junk [l] => Junk ) [INBOX.Drafts] => Array ( [a] => 512 [c] => 0
[p] => [v] => INBOX.Drafts [l] => Drafts ) [INBOX.Sent] => Array ( [a]
=> 512 [c] => 0 [p] => [v] => INBOX.Sent [l] => Sent ) [INBOX.Trash]
=> Array ( [a] => 512 [c] => 0 [p] => [v] => INBOX.Trash [l] => Trash
) [INBOX] => Array ( [a] => 2564 [c] => 0 [p] => [v] => INBOX [l] =>
Inbox ) [Virtual Folders] => Array ( [a] => 9762 [c] => 0 [p] => [v]
=> Virtual Folders [l] => Virtual Folders )
[**search_4vu2ufc4pct3cwwsskgo0] => Array ( [a] => 9792 [c] => 1 [p]
=> Virtual Folders [v] => **search_4vu2ufc4pct3cwwsskgo0 [l] =>
Virtual INBOX ) ) [_currparent] => [_currkey] => [_currstack] => Array
( ) [_showunsub] => 2 [_parent] => Array ( [] => Array ( [0] => INBOX
[1] => #shared [2] => INBOX.Archive [3] => INBOX.Drafts [4] =>
INBOX.drafts [5] => INBOX.FogBugz [6] => INBOX.Inbox-archive [7] =>
INBOX.Junk [8] => INBOX.Mailing Lists [9] => INBOX.National DECA [10]
=> INBOX.Sent [11] => shared [12] => INBOX.Trash [13] => Virtual
Folders [14] => INBOX.virusalert [15] => INBOX.Washington DECA )
[Virtual Folders] => Array ( [0] => **search_4vu2ufc4pct3cwwsskgo0 ) )
[_poll] => [_expanded] => Array ( [Virtual Folders] => 1 )
[_subscribed] => Array ( [INBOX] => 1 [INBOX.FogBugz.BBOS] => 1
[INBOX.Archive.virusalert-archive] => 1 [INBOX.FogBugz.WebForge] => 1
[INBOX.FogBugz.WADECA] => 1 [INBOX.FogBugz.Venture] => 1
[INBOX.FogBugz.Natl DECA HS] => 1 [INBOX.FogBugz.Joshua Green] => 1
[INBOX.FogBugz.JG Corporate] => 1 [INBOX.FogBugz.HP Portals] => 1
[INBOX.FogBugz.Form to XML] => 1 [INBOX.FogBugz.FMD Mail Merge] => 1
[INBOX.FogBugz.FMD Email Manager] => 1 [INBOX.FogBugz.DECA ConfReg] =>
1 [INBOX.Mailing Lists.roundcube] => 1 [INBOX.Mailing Lists.ntbugtraq]
=> 1 [INBOX.Mailing Lists.Slim Devices] => 1 [INBOX.Mailing Lists] =>
1 [INBOX.Archive.Junk-archive] => 1 [INBOX.Archive] => 1
[INBOX.FogBugz] => 1 [INBOX.Washington DECA] => 1 [INBOX.National
DECA] => 1 [INBOX.Inbox-archive] => 1 [INBOX.drafts] => 1
[INBOX.virusalert] => 1 [INBOX.Junk] => 1 [INBOX.Drafts] => 1
[INBOX.Sent] => 1 [INBOX.Trash] => 1 [Virtual Folders] => 1
[**search_4vu2ufc4pct3cwwsskgo0] => 1 ) [_unsubscribed] => Array ( )
[_initmode] => 0 [_changed] => [_unsubview] => 2 [_imap_sort] =>
[_nonimapelt] => [_cachename] => imaptree [_app] => imp [_server] =>
{mail.flyingmachine.com:143/imap/notls} [_mode] => 0 [_namespaces] =>
Array ( [INBOX.] => Array ( [name] => INBOX. [delimiter] => . [type]
=> personal [hidden] => ) [#shared.] => Array ( [name] => #shared.
[delimiter] => . [type] => shared [hidden] => ) [shared.] => Array (
[name] => shared. [delimiter] => . [type] => shared [hidden] => ) )
[_childrensupport] => 1 [_eltdiff] => [_prefixnodelim] => [_delimiter]
=> . [_prefix] => [_namespace] => [_dotfiles] => [_currStack] => Array
( ) )
print_r($imptree);
to the end of imp/folders.php - go to that page - and then attach the
output of that call to this ticket.
* IMP: H3 (4.1)
Other Horde Applications
* gollem: No
Gollem provides access to local VFS filesystems to attach files.
* ingo: Yes (Version: H3 (1.1))
* nag: No
Nag allows tasks to be directly created from e-mail data.
* turba: Yes (Version: H3 (2.1))
PHP Version
* View phpinfo() screen
* View loaded extensions
* PHP Version: 4.3.4
* PHP Major Version: 4.3
* PHP Minor Version: 4
* PHP Version Classification: release
* You are running a supported version of PHP.
PHP Module Capabilities
* IMAP Support: Yes
* OpenSSL Support: Yes
Miscellaneous PHP Settings
* file_uploads enabled: Yes
Required IMP Configuration Files
* config/conf.php: Yes
* config/mime_drivers.php: Yes
* config/prefs.php: Yes
* config/servers.php: Yes
PEAR
* PEAR Search Path (PHP's include_path):
/var/www/html/mail/horde-new/lib:.:/usr/share/pear
* PEAR: Yes
* Recent PEAR: Yes
* HTTP_Request: Yes
* Auth_SASL: Yes
PHP Mail Server Support Test
Attempting to automatically determine the correct connection
parameters for your server:
* Trying protocol imap, Port 143:
ERROR - The server returned the following error message:
Certificate failure for mail.mydomain.com: self signed certificate:
/C=US/ST=NY/L=New York/O=Courier Mail
Server/OU=Automatically-generated
IMAP SSL key/CN=localhost/emailAddress=postmaster@example.com
* Trying protocol imap/notls, Port 143:
SUCCESS - INBOX has 908 messages (12 new 0 recent)
* Trying protocol imap/ssl, Port 993:
ERROR - The server returned the following error message:
Certificate failure for mail.mydomain.com: self signed certificate:
/C=US/ST=NY/L=New York/O=Courier Mail
Server/OU=Automatically-generated
IMAP SSL key/CN=localhost/emailAddress=postmaster@example.com
* Trying protocol imap/ssl/novalidate-cert, Port 993:
SUCCESS - INBOX has 908 messages (12 new 0 recent)
* Trying protocol imap/tls/novalidate-cert, Port 143:
SUCCESS - INBOX has 908 messages (12 new 0 recent)
The following configurations were successful and may be used in your
imp/config/servers.php file:
Configuration 1
'server' => 'mail.mydomain.com'
'protocol' => 'imap/notls'
'port' => '143'
Configuration 2
'server' => 'mail.mydomain.com'
'protocol' => 'imap/ssl/novalidate-cert'
'port' => '993'
Configuration 3
'server' => 'mail.mydomain.com'
'protocol' => 'imap/tls/novalidate-cert'
'port' => '143'
The following IMAP server information was discovered from the remote server:
Namespace Information
NAMESPACE: "INBOX." DELIMITER: . TYPE: personal NAMESPACE:
"#shared." DELIMITER: . TYPE: shared NAMESPACE: "shared." DELIMITER: .
TYPE: shared
IMAP CHILDREN support:
SUPPORTED
IMAP Charset Search Support:
Server supports searching with the UTF-8 character set.
State ⇒ Feedback
State ⇒ Assigned
New Attachment: mailbox-view.JPG
3.2.2. I'm testing IMP 4.1 with an eye to replacing the production
version.
Please let me know if there's any other information I could provide to
help replicate the problem.
State ⇒ Feedback
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Courier IMAP - Nested folders do not show up
Queue ⇒ IMP
State ⇒ Unconfirmed
I can't see some nested folders within IMP 4.1 that do show up in
native IMAP clients, like Thunderbird and Outlook.
Details:
My IMAP folder structure looks like this:
INBOX
INBOX.Drafts
INBOX.Mailing Lists
INBOX.Mailing Lists.Mailing List 1
INBOX.Mailing Lists.Mailing List 2
INBOX.Mailing Lists.Mailing List 3
INBOX.Sent
...
The INBOX.Mailing Lists folder contains no messages, just folders
which contain messages from each mailing list I subscribe to. When I
expand the folder list in IMP 4.1, Mailing Lists is empty, and does
not have any children folders. When I use a native IMAP client, I can
see each mailing list folder and read messages in it.
Software versions:
IMP v4.1
Horde v3.1
PHP v4.3.4
Apache v2.0.48
Courier-IMAP 3.0.5