Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: micha_silver on December 31, 2013, 07:15:15 AM

Title: Deleting when over quota
Post by: micha_silver on December 31, 2013, 07:15:15 AM
We'd like to allow users to delete messages thru RC when they have reached their quota. This currently fails since deleting (IIUC) actually moves to Trash. If the user has reached the quota then moving the message to Trash fails, so she can't delete.
Is there a way to configure (like in other webmail interfaces) that "delete" perfoms the delete straightaway, without trying to save to Trash?
Thanks,
Micha
Title: Re: Deleting when over quota
Post by: SKaero on December 31, 2013, 09:00:40 AM
Make sure you don't have flag_for_deletion turned on, I'm not sure if that will fix the problem but it maybe part of it.
Title: Re: Deleting when over quota
Post by: ABerglund on December 31, 2013, 01:02:53 PM
Also check the following:

// 'Delete always'
// This setting reflects if mail should be always deleted
// when moving to Trash fails. This is necessary in some setups
// when user is over quota and Trash is included in the quota.
$rcmail_config['delete_always'] = false;


// 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'] = 'Trash';