Hi folks, I use isync, an IMAP sync tool (Debian package isync 0.9.2-2) together with dovecot (dovecot-imapd 0.99.10.8-0.backports.org.1). Everytime when isync wants to upload a new mail from the client to the server I got messages like this: Mailbox outbox Selecting IMAP mailbox... >>> 16 SELECT "outbox" * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 1580 EXISTS * 0 RECENT * OK [UIDVALIDITY 1092995697] UIDs valid * OK [UIDNEXT 1581] Predicted next UID 16 OK [READ-WRITE] Select completed. 1580 messages, 0 recent Reading IMAP mailbox index>>> 17 UID FETCH 1:* (FLAGS)* 1 FETCH (UID 1 FLAGS (\Seen)) * 2 FETCH (UID 2 FLAGS (\Seen)) [...] * 1579 FETCH (UID 1579 FLAGS (\Seen)) * 1580 FETCH (UID 1580 FLAGS (\Seen)) 17 OK Fetch completed. Synchronizing Uploading messages.>>> 18 APPEND outbox (\Seen) {360} + OK 18 OK Append completed.>>> 19 UID SEARCH HEADER X-TUID 4136367cd15e45705* SEARCH IMAP error: incomplete SEARCH response 19 OK Search completed. warning: no UID for new messge 1094071902.22258_2.thinkpad:2,S 1 messages. Fetching new messages... 0 messages My concern is the line "IMAP error: incomplete SEARCH response". I already saw this mesage with old versions of courier-imap, which won't return an APPENDUID tag so the client doesn't know which UID will be used for the uploaded message (this was the explanation I got). Is there any way to get dovecot to return the UID when a message is uploaded? Regards, Tino
On 2.9.2004, at 17:22, tino.keitel at gmx.de wrote:> Uploading messages.>>> 18 APPEND outbox (\Seen) {360} > + OK > 18 OK Append completed. >>>> 19 UID SEARCH HEADER X-TUID 4136367cd15e45705 > * SEARCH > IMAP error: incomplete SEARCH responseHmm. It didn't notice the newly appended mail. It's probably because of an optimization Dovecot makes. I'll change this. Well, one last fix for tomorrow's 0.99.11 release.> My concern is the line "IMAP error: incomplete SEARCH response". I > already saw this mesage with old versions of courier-imap, which won't > return an APPENDUID tag so the client doesn't know which UID will be > used for the uploaded message (this was the explanation I got). Is > there any way to get dovecot to return the UID when a message is > uploaded?UIDPLUS extension does that. I'm not sure if I'll add support for that before 1.0 release. Maybe. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040902/bd0d834c/attachment-0001.bin>
On Thu, Sep 02, 2004 at 18:03:43 +0300, Timo Sirainen wrote:> On 2.9.2004, at 17:22, tino.keitel at gmx.de wrote: > > >Uploading messages.>>> 18 APPEND outbox (\Seen) {360} > >+ OK > >18 OK Append completed. > >>>>19 UID SEARCH HEADER X-TUID 4136367cd15e45705 > >* SEARCH > >IMAP error: incomplete SEARCH response > > Hmm. It didn't notice the newly appended mail. It's probably because of > an optimization Dovecot makes. I'll change this. Well, one last fix for > tomorrow's 0.99.11 release.Ah, yes, this SEARCH is the workaround for imapd's without the UIDPLUS extension (if no ADDPENDUID is returned). Nice to hear that it will be fixed soon.> > >My concern is the line "IMAP error: incomplete SEARCH response". I > >already saw this mesage with old versions of courier-imap, which won't > >return an APPENDUID tag so the client doesn't know which UID will be > >used for the uploaded message (this was the explanation I got). Is > >there any way to get dovecot to return the UID when a message is > >uploaded? > > UIDPLUS extension does that. I'm not sure if I'll add support for that > before 1.0 release. Maybe.Thanks for pointing me to UIDPLUS. Now I undestand the problem. Regards, Tino