Author Topic: Server Error: UID COPY: Error in IMAP command received by server.  (Read 30508 times)

Offline kaotic

  • Newbie
  • *
  • Posts: 1
Server Error: UID COPY: Error in IMAP command received by server.
« 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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #1 on: September 08, 2011, 03:03:56 AM »
What version? Enable imap_debug and provide the log.

Offline spufy

  • Newbie
  • *
  • Posts: 1
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #2 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
« Last Edit: September 11, 2011, 04:55:49 PM by spufy »

Offline coco

  • Newbie
  • *
  • Posts: 2
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #3 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

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #4 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.

Offline coco

  • Newbie
  • *
  • Posts: 2
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #5 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

Offline jov

  • Newbie
  • *
  • Posts: 1
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #6 on: September 29, 2011, 12:15:55 PM »
I've received the same error.

Offline toby86

  • Newbie
  • *
  • Posts: 3
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #7 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?!

Offline Marius0188

  • Newbie
  • *
  • Posts: 2
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #8 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

Offline tmaloney

  • Newbie
  • *
  • Posts: 1
Server Error: UID COPY: Error in IMAP command received by server.
« Reply #9 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