Roundcube Community Forum

Release Support => Pending Issues => Topic started by: kaotic on September 07, 2011, 02:26:34 PM

Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: kaotic on September 07, 2011, 02:26:34 PM
Recieving the following error when trying to delete mail via RoundCube, I've created a trash folder but the error persists, I;m confidant It's not an error with RoundCubebut possibly my configuration.

Has anyone else experienced this?

Server Error: UID COPY: Error in IMAP command received by server.
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: alec on September 08, 2011, 03:03:56 AM
What version? Enable imap_debug and provide the log.
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: spufy on September 11, 2011, 04:43:12 PM
i use some version (latest from svn) and have this problem, if i setup roundcube to delete message without moving it to trash i have no this problem
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: coco on September 15, 2011, 11:57:25 AM
That's exactly what I am experiencing with version 0.6-rc.
Curious that moving into trash folder manually works fine.

Seems to be a bug when using delete button vs drag and drop to trash.

Here are the IMAP commands when pressing delete button (note that I'm using / as seperator in cyrus):

[15-Sep-2011 17:48:34 +0200]: [4008] C: A0010 UID COPY 14962 Trash
[15-Sep-2011 17:48:34 +0200]: [4008] S: A0010 NO Mailbox does not exist


And here are the commands when using drag and drop:

[15-Sep-2011 17:50:30 +0200]: [F2D8] C: A0008 UID COPY 14962 INBOX/Trash
[15-Sep-2011 17:50:30 +0200]: [F2D8] S: A0008 OK [COPYUID 1273701245 14962 2337] Completed
[15-Sep-2011 17:50:30 +0200]: [F2D8] C: A0009 UID STORE 14962 +FLAGS.SILENT (\Deleted)
[15-Sep-2011 17:50:30 +0200]: [F2D8] S: A0009 OK Completed
[15-Sep-2011 17:50:30 +0200]: [F2D8] C: A0010 UID EXPUNGE 14962

As you can see in the first case the Folder Trash is referenced incorrectly without INBOX/

Can someone fix this or should I search for the buggy source lines and paste them here?

cheers
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: alec on September 15, 2011, 12:17:07 PM
Go to Special Folders setting and change settings. Also fix your config in main.inc.php file adding INBOX/ prefix to folders definitions.
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: coco on September 16, 2011, 03:08:17 AM
ok, got it, thanks!
the clue was just pressing the save button in special folder settings.
might be an upgrading issue since my previous version was 0.4.2 (although did execute db-upgrade script).

cheers
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: jov on September 29, 2011, 12:15:55 PM
I've received the same error.
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: toby86 on October 08, 2011, 06:16:26 PM
We had the same issue coming up whilst upgrading roundcube 0.5.1 to 0.6 stable in a hosting environment. alec's solution did the trick, but only for the very specific user. but we can't upgrade every user manually.

some research in main.inc.php:

// store draft message is this mailbox  
// leave blank if draft messages should not be stored
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['drafts_mbox'] = 'Drafts';

That was our configuration so far. We are running Courier-IMAP for years and didn't need no namespace-prefix so far.
Changing the 'drafts_mbox'-Config (and of course all the other IMAP-folders...) to

$rcmail_config['drafts_mbox'] = 'INBOX.Drafts';

did fix the issue for all of our users.



BUT: Why do we suddenly need this namespace prefix?! That's a bit of a bummer for all users upgrading from older versions... don't you think so?!
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: Marius0188 on October 11, 2011, 06:15:51 AM
I can confirm - have downloaded the latest version: Stable 0.6 and when trying to move an email to Trash folder receive this error: Server Error: UID COPY: Unknown Namespace.
But when drag and dropping the email to the Trash folder it works fine.

Please who can assist?
What is the solution?
 
Is it Config or Bug?

Kind regards,
M
Title: Server Error: UID COPY: Error in IMAP command received by server.
Post by: tmaloney on October 13, 2011, 04:17:32 PM
All I did was go into Settings | Special Folders and click Save.  The values were already there - I just clicked the Save button