Thanks for the attempt to sort this out.

Here is the sequence of IMAP messages (from Wireshark) when I tried to copy a message from a Draft folder to Inbox.

* 1 FETCH (UID 4 FLAGS (\Draft))..370 OK UID FETCH completed..
371 IDLE
+ Waiting for DONE..
DONE..
371 OK IDLE completed
373 uid copy 4 "INBOX"
* OK [TRYCREATE] Must create mailbox before copy
373 NO [TRYCREATE] UID COPY failed: No such destination mailbox

I don't think I have a "traditional UNIX mailbox", e.g. my INBOX mail is kept (and left) in /var/spool/mail/harry

I downloaded and built from UW source. I changed only line in env_unix.c, namely to static char *mailsubdir = ".imapmail" /* stores all mail folders under /home/username/.imapmail */

I built using make lnp SSLTYPE=none. Here is my /etc/c-client.cf file:

I accept the risk
set allow-user-config T
# set new-folder-format mx
# set empty-folder-format mx

This looks right to me.

Thanks in advance for any advice, Mark.

Mark Crispin wrote:
I verified that COPY to traditional UNIX mailbox format INBOX works on my system. Furthermore, a TRYCREATE should *never* happen with INBOX. This suggests that the destination mailbox name is something other than INBOX.

Can you get a protocol telemetry log from your client? There should be a warning message prior to the command reading:
    * OK [TRYCREATE] Must create mailbox before copy
Do you see that?

What IMAP command is immediately before the COPY? It should be something like
    abc123 UID COPY ##### INBOX
where "abc123" is some arbitrary text and ##### is a number. What is after the number? Is it INBOX?

Is your copy of imap-2007 the original, unmodified version from UW? If not, please try the original, unmodified version:
    ftp://ftp.cac.washington.edu/mail/imap.tar.Z

Do you have an /etc/c-client.cf file on your system? If so, what are its contents; and if you did not create that file and have no notion of why it is there or what it does, try deleting it.

On Sun, 6 Jan 2008, Harry Saal wrote:
I just rebuilt my UW IMAP mailserver on a Fedora Core 8 system. I am using Thunderbird 2.0.0.9 as a client.

I receive mail into my INBOX , can read it, delete it, etc. But I can not MOVE or COPY a message from some other folder into my INBOX. This used to work using imap-2004d but no longer does. The error message is "[TRYCREATE] UID COPY failed: No such destination mailbox." The mailbox does exist, e.g. as /var/spool/mail/harry, owner is harry:mail, permissions are 660. I even tried permissions of 666 but this did not solve the problem.

I've spent hours researching this, but am at a loss as to how to proceed. Any suggestions?
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw


-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

--
=================================================================
Dr. Harry J. Saal, Member, Technical Committee
   [EMAIL PROTECTED]      http://www.thetc.org/
Voice: 650-331-3110      FAX: 650-429-2089
=================================================================

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

Reply via email to