Roundcube Community Forum

 

Cannot delete emails

Started by bswinnerton, October 21, 2008, 12:22:16 AM

Previous topic - Next topic

bswinnerton

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.

rosali

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;
Regards,
Rosali

bswinnerton

Unfortunately, it is already set to false.

bswinnerton

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?

rosali

Did you realize that this is also a setting on a per user level? Did you adjust your preferences?
Regards,
Rosali

bswinnerton

No, I did not.  How would I go about doing that? In preferences?

bswinnerton

How can I make this a server side change for all my users?

rosali

check setting $rcmail_config['dont_override'] ... sorry I'm in a hurry and can't be more detailed at the moment.
Regards,
Rosali

bswinnerton

Thats okay!

I found the config.  What would I enter in:

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

rosali


$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.
Regards,
Rosali

bswinnerton

Sorry to be a pain, but am I using both those lines or just the bottom one?

rosali

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';
Regards,
Rosali