Ticket #81 (closed Bugs: fixed)
Retrieve folder tree fails on escaped delmiter and specified-length encoding
| Reported by: | gpiyush | Owned by: | octo |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0.x |
| Component: | LogicMail | Version: | 0.4 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Hi,
I just downloaded logicmail on my Blackberry pearl running BB v4.2.1.107
I am trying to setup my account using IMAP on Lotus Domino mail server. Authentication goes through but I get "Unknown error" during retrieving folder tree.
Here is what I gathered using telnet
+++++++++++++++++++
- OK Domino IMAP4 Server Release 7.0 ready Sun, 13 Apr 2008 22:23:17 -0700
A1 CAPABILITY
- CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA UIDPLUS
A1 OK CAPABILITY completed A2 LOGIN "xxxxxx xxxxxx" xxxxxx A2 OK LOGIN completed A3 LIST "" "*"
- LIST (\HasChildren) "
" 2007 - LIST (\HasNoChildren) "
" {12}
2007\Q3-2007
- LIST (\HasNoChildren) "
" {12}
2007\Q4-2007
- LIST (\HasChildren) "
" 2008 - LIST (\HasNoChildren) "
" {7}
2008\01
- LIST (\HasNoChildren) "
" {7}
2008\02
- LIST (\HasNoChildren) "
" {7}
2008\03
- LIST (\HasNoChildren) "
" Bulletins - LIST (\HasNoChildren) "
" CountryWide - LIST (\HasNoChildren) "
" Drafts - LIST (\HasNoChildren) "
" IBM - LIST (\Noinferiors \HasNoChildren) "
" Inbox - LIST (\HasNoChildren) "
" Jan2008 - LIST (\HasChildren) "
" Client1 - LIST (\HasNoChildren) "
" {15}
Client1\CreditCard
- LIST (\HasNoChildren) "
" {7}
Client1\CT
- LIST (\HasNoChildren) "
" {8}
Client1\GTI
- LIST (\HasNoChildren) "
" {11}
Client1\Retail
- LIST (\HasNoChildren) "
" {10}
Client1\T&-SS
- LIST (\HasNoChildren) "
" Client2 - LIST (\HasNoChildren) "
" Personal - LIST (\HasNoChildren) "
" "Sent Items" - LIST (\HasNoChildren) "
" Client3 - LIST (\Noinferiors \HasNoChildren) "
" Trash
A3 OK LIST completed A4 LOGOUT
++++++++++++++++++++++++++ Any help/insight would be appreciated.
Change History
comment:2 Changed 4 years ago by gpiyush
Debugging info from phone...
Is this a setup problem?
a net.rim.tunnel - TNde - 4/14 01:16:46
a net.rim.tunnel - Clos-wap.voicestream.com - 4/14 01:16:46
E LogicMail - java.lang.NullPointerException - 4/14 01:16:45
a net.rim.tunnel - STac - 4/14 01:16:38
a net.rim.tunnel - Pdp0-wap.voicestream.com - 4/14 01:16:38
a net.rim.tunnel - STac - 4/14 01:16:38
a net.rim.hrtRT - PUpI - 4/14 01:16:38
a net.rim.tunnel - Pdp0-wap.voicestream.com - 4/14 01:16:38
a net.rim.hrtRT - EPdp 0x1 - 4/14 01:16:38
a net.rim.tunnel - TNac - 4/14 01:16:29
a net.rim.tunnel - Kick-wap.voicestream.com - 4/14 01:16:28
a net.rim.tunnel - Open-wap.voicestream.com - 4/14 01:16:28
a System - CMM: LogicMail-1(3286) no sig from 0x33 - 4/14 01:16:28
comment:3 Changed 4 years ago by octo
Since I'm concerned that Trac (or something else) may be mucking up the text along the way, I'd appreciate it if you could send me this text in a normal e-mail (octo@…). Also, if you want to capture what LogicMail is actually receiving, the debugging page has some info on how to do that. There are some IMAP commands that LogicMail runs before doing a LIST for folders (such as NAMESPACE, and maybe another form of a LIST) that are also relevant.
What makes this especially unusual is that the mail server seems to be sending a "
" for the delimiter, when the mailboxes are actually only delimited with a "\".
Ultimately, I'd love to have a test account on this server where I can personally reproduce the issue. However, I understand if that isn't possible.
comment:4 Changed 4 years ago by octo
- Status changed from new to accepted
- Owner set to octo
- Milestone set to 1.0.x
I now have enough information to work this issue. Thanks!

A1 CAPABILITY
A1 OK CAPABILITY completed
A2 LOGIN "USer Name" PASSWORD
A2 OK LOGIN completed
A3 LIST "" "*"
" 2007
" {12}
2007\Q3-2007
" {12}
2007\Q4-2007
" 2008
" {7}
2008\01
" {7}
2008\02
" {7}
2008\03
" Bulletins
" Client1
" Drafts
" Client2
" Inbox
" Jan2008
" Client2
" {15}
Client2\CreditCard
" {7}
Client2\CT
" {8}
Client2\GTI
" {11}
Client2\Retail
" {10}
Client2\T&-SS
" McKesson
" Personal
" "Sent Items"
" TableTop
" Trash
A3 OK LIST completed
A4 LOGOUT
A4 OK LOGOUT completed