You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Francois-Denis Gonthier <fd...@revolutionlinux.com> on 2010/08/11 22:40:48 UTC

Odd IMAP problem with Thunderbird

Hello all,

I'm using James IMAP head to develop a custom IMAP server using Nuxeo as a backend. I'm was testing with various email clients including Thunderbird. With my current code, Claws Mail works just fine, but Thunderbird fails in a odd way.

Right after I launch it, Thunderbird returns the following message:

"The current command did not succeed.  The mail server responded:SELECT failed. No such mailbox."

The mailbox in question come out of nowhere: "#private.#private^^Sent^^INBOX". I don't understand where Thunderbird gets that folder name. The Thunderbird IMAP log reports everything is going fine until it decides out of the blue to access that folder name. The relevant parts of the IMAP log are below. I would like to know if anybody has had that problem and could have pointers for me.

1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: * OK JAMES IMAP4rev1 Server  Server 127.0.1.1 is ready. 
-1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: * CAPABILITY IMAP4rev1 LITERAL+ NAMESPACE CHILDREN
-1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: 1 OK CAPABILITY completed.
-1509951728[7f45a8430780]: a60b5800:localhost:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
-1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: 2 OK LOGIN completed.
-1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 3 namespace
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: * NAMESPACE (("#private." ".")) NIL NIL
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 3 OK NAMESPACE completed.
-1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 4 list "" "#private.%"
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 4 OK LIST completed.
-1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 5 list "" "#private.%.%"
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 5 OK LIST completed.
-1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 6 list "" "INBOX"
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 6 OK LIST completed.
-1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 7 create "#private.Trash"
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 7 NO CREATE failed. Mailbox already exists.
-1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 8 select "#private.#private^^Sent^^INBOX"
-1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 8 NO SELECT failed. No such mailbox.
-1073477600[7f45b5314040]: queuing url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
-1073477600[7f45b5314040]: considering playing queued url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
-1073477600[7f45b5314040]: creating protocol instance to play queued url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
-1073477600[7f45b5314040]: failed creating protocol instance to play queued url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX

Thank you

François-Denis Gonthier

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Odd IMAP problem with Thunderbird

Posted by Norman <no...@apache.org>.
Hi Francois,

its hard to say without looking at your code but I will try to give you 
some ideas ;)

First of I need some more infos:
  * What revision of trunk you use ? Is it really latest head ?
  * Do you use the low-level api (mailbox module) or the high-level-api 
(store module)
  * Did you patch the Namespace processing somehow (because james does 
not return the #private as namespace)?

For me it looks like thunderbird gets confused with namespaces. Maybe 
you replace the namespace delimiter "." with "^^" ?

Hope this helps,
Norman

Ps: I'm using Thunderbird without problems with james imap (jcr backend)

Am 11.08.2010 22:40, schrieb Francois-Denis Gonthier:
> Hello all,
>
> I'm using James IMAP head to develop a custom IMAP server using Nuxeo as a backend. I'm was testing with various email clients including Thunderbird. With my current code, Claws Mail works just fine, but Thunderbird fails in a odd way.
>
> Right after I launch it, Thunderbird returns the following message:
>
> "The current command did not succeed.  The mail server responded:SELECT failed. No such mailbox."
>
> The mailbox in question come out of nowhere: "#private.#private^^Sent^^INBOX". I don't understand where Thunderbird gets that folder name. The Thunderbird IMAP log reports everything is going fine until it decides out of the blue to access that folder name. The relevant parts of the IMAP log are below. I would like to know if anybody has had that problem and could have pointers for me.
>
> 1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: * OK JAMES IMAP4rev1 Server  Server 127.0.1.1 is ready.
> -1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: * CAPABILITY IMAP4rev1 LITERAL+ NAMESPACE CHILDREN
> -1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: 1 OK CAPABILITY completed.
> -1509951728[7f45a8430780]: a60b5800:localhost:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
> -1509951728[7f45a8430780]: a60b5800:localhost:NA:CreateNewLineFromSocket: 2 OK LOGIN completed.
> -1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 3 namespace
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: * NAMESPACE (("#private." ".")) NIL NIL
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 3 OK NAMESPACE completed.
> -1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 4 list "" "#private.%"
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 4 OK LIST completed.
> -1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 5 list "" "#private.%.%"
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 5 OK LIST completed.
> -1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 6 list "" "INBOX"
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 6 OK LIST completed.
> -1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 7 create "#private.Trash"
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 7 NO CREATE failed. Mailbox already exists.
> -1509951728[7f45a8430780]: a60b5800:localhost:A:SendData: 8 select "#private.#private^^Sent^^INBOX"
> -1509951728[7f45a8430780]: a60b5800:localhost:A:CreateNewLineFromSocket: 8 NO SELECT failed. No such mailbox.
> -1073477600[7f45b5314040]: queuing url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
> -1073477600[7f45b5314040]: considering playing queued url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
> -1073477600[7f45b5314040]: creating protocol instance to play queued url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
> -1073477600[7f45b5314040]: failed creating protocol instance to play queued url:imap://fdgonthier@localhost:1430/folderstatus>^#private^^Sent^^INBOX
>
> Thank you
>
> François-Denis Gonthier
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org