Author Topic: Cannot delete emails  (Read 5302 times)

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« 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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Cannot delete emails
« Reply #1 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;
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« Reply #2 on: October 21, 2008, 10:47:15 AM »
Unfortunately, it is already set to false.

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« Reply #3 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?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Cannot delete emails
« Reply #4 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?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« Reply #5 on: October 21, 2008, 01:20:26 PM »
No, I did not.  How would I go about doing that? In preferences?

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« Reply #6 on: October 21, 2008, 01:43:48 PM »
How can I make this a server side change for all my users?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Cannot delete emails
« Reply #7 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.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« Reply #8 on: October 21, 2008, 03:21:58 PM »
Thats okay!

I found the config.  What would I enter in:

Code: [Select]
$rcmail_config['dont_override'] = array();

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Cannot delete emails
« Reply #9 on: October 22, 2008, 12:45:16 AM »
Code: [Select]

$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
__________________
MyRoundcube Project (commercial)

Offline bswinnerton

  • Jr. Member
  • **
  • Posts: 49
Cannot delete emails
« Reply #10 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?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Cannot delete emails
« Reply #11 on: October 22, 2008, 01:04:42 PM »
Quote from: rosali;14799
Code: [Select]

$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
__________________
MyRoundcube Project (commercial)