Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-30 Thread Oleg Lapshin
Hello That's it. From the RFC (section 6.4.8 UID Command): The interpretation of the arguments is the same as with SEARCH; however, the numbers returned in a SEARCH response for a UID SEARCH command are unique identifiers instead of message sequence numbers. a02

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-30 Thread Paul J Stevens
I spend a couple of hours yesterday fixing this. Almost there. Oleg Lapshin wrote: Hello That's it. From the RFC (section 6.4.8 UID Command): The interpretation of the arguments is the same as with SEARCH; however, the numbers returned in a SEARCH response for a UID

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-24 Thread Aaron Stone
On Wed, 2006-08-23 at 22:32 +0200, Paul J Stevens wrote: Oleg Lapshin wrote: Info COMMAND: [srch1 SEARCH UID 260] So roundcube is using this detour to find a message seqnr for a specific uidnr. Valid enough. Debug RESPONSE: [* SEARCH 260] That's incorrect for a 1-message mailbox.

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-24 Thread Paul J Stevens
Aaron Stone wrote: On Wed, 2006-08-23 at 22:32 +0200, Paul J Stevens wrote: Oleg Lapshin wrote: Info COMMAND: [srch1 SEARCH UID 260] So roundcube is using this detour to find a message seqnr for a specific uidnr. Valid enough. Debug RESPONSE: [* SEARCH 260] That's incorrect for a

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-23 Thread Aaron Stone
On Tue, 2006-08-22 at 23:46 +0400, Oleg Lapshin wrote: В сообщении от 22 августа 2006 18:52 Aaron Stone написал(a): Ok, now this is weird. I can start at 1 and work up to 7, but no higher. I take a look at imapcommands.c line 1388: fetch_max = self-use_uid ? (ud-mailbox.msguidnext - 1) :

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-23 Thread Oleg Lapshin
Because roundcube don't send UID, I have fetch_max = ud-mailbox.exists; --- 7 instead of fetch_max = (ud-mailbox.msguidnext - 1); --- 4920 Right, duh, I forgot that I only have 7 messages in my test box :-P I am also have 7 messages in this test account :) Looks like a bug in

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-23 Thread Aaron Stone
On Wed, 2006-08-23 at 01:40 +0400, Oleg Lapshin wrote: Looks like a bug in Roundcube -- it's issuing a UID SEARCH command, gets uid's in the result set, but fails to specify UID FETCH when asking for the message data by uid. Yes, if I change FETCH to UID FETCH in roundcube's php code, I

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-23 Thread Oleg Lapshin
Yes, if I change FETCH to UID FETCH in roundcube's php code, I can get text of messages But, not from all folders. So, this is bug in roundcube (IMHO) I've reported it to the roundcube at gmail contact address. If you can get a trace of messages that don't work in other folders, we

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-23 Thread Paul J Stevens
Oleg Lapshin wrote: Yes, if I change FETCH to UID FETCH in roundcube's php code, I can get text of messages But, not from all folders. So, this is bug in roundcube (IMHO) I've reported it to the roundcube at gmail contact address. If you can get a trace of messages that don't work in other

[Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-22 Thread Oleg Lapshin
Hello I just installed 3 webmail clients: IlohaMail, RoundCube and Squirrelmail IlohaMail and Squirrelmail work fine, but RoundCube (version 0.1beta2) can't display the text of messages (when I press twice on message in list) Part of level5 log from dbmail: Message

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-22 Thread Aaron Stone
Minimal pair on my test account: fails0001 fetch 8 (BODY.PEEK[TEXT]) succeeds2 UID fetch 8 (BODY.PEEK[TEXT]) I cut the SEARCH command from below, but it included the UID keyword. I'm currently reading up on what that modifier does, but it looks important given that the command doesn't work

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-22 Thread Aaron Stone
Ok, now this is weird. I can start at 1 and work up to 7, but no higher. 004 FETCH 5 (BODY.PEEK[TEXT]) * 5 FETCH (BODY[TEXT] {4} yo ) 004 OK FETCH completed 004 FETCH 6 (BODY.PEEK[TEXT]) * 6 FETCH (BODY[TEXT] {113} On Wed, 2006-08-16 at 11:17 -0700, [EMAIL PROTECTED] wrote: Let's see if we can

Re: [Dbmail-dev] Problem with RoundCube and dbmail-svn-2230

2006-08-22 Thread Oleg Lapshin
В сообщении от 22 августа 2006 18:52 Aaron Stone написал(a): Ok, now this is weird. I can start at 1 and work up to 7, but no higher. I take a look at imapcommands.c line 1388: fetch_max = self-use_uid ? (ud-mailbox.msguidnext - 1) : ud-mailbox.exists; Because roundcube don't send UID, I have