Roundcube Community Forum

Release Support => Pending Issues => Topic started by: bswinnerton on October 21, 2008, 12:22:16 AM

Title: Cannot delete emails
Post by: bswinnerton on October 21, 2008, 12:22:16 AM
Just upgraded to 0.2beta and now whenever I try to delete an email, the email just goes grey and it has a grey trash symbol next to it.  However I cannot move it to the trash and I cannot get rid of it.

I suspect its a permissions issue, but could be completely wrong.  Can someone please help me.
Title: Cannot delete emails
Post by: rosali on October 21, 2008, 01:17:53 AM
It is a configuaration issue ...

#1
$rcmail_config['flag_for_deletion'] = FALSE;

... will solve it.

#2
To get rid of these messages expunge the folder (link below folder list) or set $rcmail_config['skip_deleted'] = TRUE;
Title: Cannot delete emails
Post by: bswinnerton on October 21, 2008, 10:47:15 AM
Unfortunately, it is already set to false.
Title: Cannot delete emails
Post by: bswinnerton on October 21, 2008, 10:51:23 AM
I didn't realize that was what the compact button did though.  When I delete something, it will get grey and have that deleted icon next to it, however it still stays in the mailbox unless I click compact.  How can I have it go directly to the trash when I click delete?
Title: Cannot delete emails
Post by: rosali on October 21, 2008, 11:40:16 AM
Did you realize that this is also a setting on a per user level? Did you adjust your preferences?
Title: Cannot delete emails
Post by: bswinnerton on October 21, 2008, 01:20:26 PM
No, I did not.  How would I go about doing that? In preferences?
Title: Cannot delete emails
Post by: bswinnerton on October 21, 2008, 01:43:48 PM
How can I make this a server side change for all my users?
Title: Cannot delete emails
Post by: rosali on October 21, 2008, 03:01:58 PM
check setting $rcmail_config['dont_override'] ... sorry I'm in a hurry and can't be more detailed at the moment.
Title: Cannot delete emails
Post by: bswinnerton on October 21, 2008, 03:21:58 PM
Thats okay!

I found the config.  What would I enter in:

$rcmail_config['dont_override'] = array();
Title: Cannot delete emails
Post by: rosali on October 22, 2008, 12:45:16 AM

$rcmail_config['dont_override'] = array();
$rcmail_config['dont_override'][] = 'flag_for_deletion';


... now it should always apply the setting in main.inc.php and ignore the setting in user's preferences. Also the checkbox in user preferences should not be shown anymore.
Title: Cannot delete emails
Post by: bswinnerton on October 22, 2008, 09:28:54 AM
Sorry to be a pain, but am I using both those lines or just the bottom one?
Title: Cannot delete emails
Post by: rosali on October 22, 2008, 01:04:42 PM
Quote from: rosali;14799
$rcmail_config['dont_override'] = array();
$rcmail_config['dont_override'][] = 'flag_for_deletion';


both ... and maybe a third if you want to skip deleted messages ...

$rcmail_config['dont_override'][] = 'skip_deleted';