Roundcube Community Forum

 

Server Error: UID COPY: Error in IMAP command received by server.

Started by kaotic, September 07, 2011, 02:26:34 PM

Previous topic - Next topic

kaotic

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.

alec


spufy

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

coco

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

alec

Go to Special Folders setting and change settings. Also fix your config in main.inc.php file adding INBOX/ prefix to folders definitions.

coco

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


toby86

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?!

Marius0188

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

tmaloney

All I did was go into Settings | Special Folders and click Save.  The values were already there - I just clicked the Save button