Roundcube Community Forum

 

Unable to delete old mail

Started by billstif, October 06, 2011, 09:10:47 AM

Previous topic - Next topic

billstif

Since updating to .6, I have been unable to delete old mail.  Whenever I try to delete a message by clicking on the Delete Message icon, I get the following error message:

         Server Error: UID COPY: Unknown namespace.

Anyone else having the same problem or have any idea what to do to fix this?

I have discovered that I can delete messages by dragging them to the Trash folder.

JohnDoh

sounds like may be you have set your delete folder up wrong. goto your settings page and then "special folder" and set the one for your deleted folder and then try again
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

billstif

Everything appears correct on the Special Folders page under Settings.  The problem occurred after I upgraded Roundcube to .6.

kidboy

I have the same problem, for every email i try delete, i recive error UID from IMAP.

Nepherim

Same issue after upgrading to .6. This functionality worked before the upgrade. Not using imap. Using default folder settings from main.inc.php.dist.

A quick fix for a single user is:
 - login
 - goto "Settings" (top right)
 - goto "Special Folders" (left side)
 - goto "Folders" (tab on top)
 - make sure all folders have a checkmark next to them

Anyone know how to affect this change for all users?
~ ~ Dave

tech | photography | journal | MR2

billstif

#5
Per Nepherim and John Doh's suggestions, I checked to make sure all the folders were set and checked.  I even unchecked them and rechecked them.  I still cannot delete mail although I can drag mail to the Trash folder.   Any other ideas on how to fix this?

I was able to get things working by resetting all of the files in the Special Folders, removing all settings and then going back and re-setting them.

Nepherim

Further testing lead me to have to change the settings to the IMAP standard, despite the fact that I'm not using IMAP. Thus, my settings are now:

// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['drafts_mbox'] = 'INBOX.Drafts';

// store spam messages in this mailbox
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['junk_mbox'] = 'INBOX.Junk';

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

// move messages to this folder when deleting them
// leave blank if they should be deleted directly
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['trash_mbox'] = 'INBOX.Trash';

// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['default_imap_folders'] = array('INBOX', 'INBOX.Drafts', 'INBOX.Sent', 'INBOX.Junk', 'INBOX.Trash');

This appears to work correctly.

I'd still like to know how to get the check-box settings applied to all users, without having them go in manually and changing them. Anyone?
~ ~ Dave

tech | photography | journal | MR2

rosali

#7
Unfortunately there is no mass-editing feature.

You have to code your own script:

- Loop over database table _users_
- Unserialize _preferences_ field
- Modify, serialize and write the stuff back to the database

If you don't care about loosing contacts and identites (and maybe plugin settings) you could truncate _user_ table.
Regards,
Rosali