Getting errors deleting emails with the latest roundcube?
I discovered it's because by default there is no 'Trash' folder created.
You can manually create the folder named 'Trash' under personal settings, you can then delete messages from your other folders which moves them into Trash folder, then you goto Trash folder and delete them from there.. and theyre gone. Unfortunately this only does it for the account youre logged in as, and doesnt help others using your server unless they all manually create Trash folder.
Or you can edit the roundcube config files, which will fix the problem server wide
Edit your config/main.inc.php and look for :
// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = FALSE;
and change to this:
// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = TRUE;
that way everyone gets a Trash folder (and whatever else you specify in the 'default_imap_folders' setting) when they login next.
There are also more settings in main.inc.php to control whether roundcube will delete an email from a folder straight out without the step of sending it to Trash first.
Hope this helps!