When copying a message from a unix mailbox to a mbx mailbox the COPYUID
response code is missing the destination message set.  See this example
session:

imapd
* PREAUTH [CAPABILITY IMAP4REV1 LITERAL+ IDLE UIDPLUS NAMESPACE CHILDREN
* MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT
* THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] Pre-authenticated
* user kmkaplan kaki.nic.fr IMAP4rev1 2007.398 at Fri, 8 Feb 2008
* 13:46:19 +0100 (CET)
2 CREATE test1
2 OK CREATE completed
3 CREATE #driver.mbx/test2
3 OK CREATE completed
4 APPEND test1 () {38}
+ Ready for argument
Message-Id: <[EMAIL PROTECTED]>

foo
4 OK [APPENDUID 1202474793 1] APPEND completed
5 SELECT test1
* 1 EXISTS
* 1 RECENT
* OK [UIDVALIDITY 1202474793] UID validity status
* OK [UIDNEXT 2] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)]
* Permanent flags
* OK [UNSEEN 1] first unseen message in /home/kmkaplan/test1
5 OK [READ-WRITE] SELECT completed
6 UID COPY 1 test2
6 OK [COPYUID 1202474803 1] Cross-format (unix -> mbx) COPY completed

To be correct this last line should look like:

6 OK [COPYUID 1202474803 1 1] Cross-format (unix -> mbx) COPY completed

Copying from unix to unix or mbx to mbx format mailboxes give correct
COPYUID response code.

Kim Minh.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to