2 Sep
2004
2 Sep
'04
5:22 p.m.
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