Posted on March 19, 2010 | Category: Informational, MySQL, PHP, server-side
Roundcube is a PHP/MySQL server-side web client for your mail. It uses IMAP/SMTP to manage your Inbox and other folders. After a fresh installation, I was having the problem of not being able to delete emails within my Inbox. The AJAX message appeared at the top of the Roundcube interface: “Can’t save messages to folder.” The problem was that my Trash folder did not exist. There are two methods of resolving this issue. You could create a Trash folder, or modify your /inc/main.inc.php to delete all items instead of routing them to your Trash folder. I chose the later option. Many user inboxes get clogged by mails that were presumed deleted. This configuration option solves that issue.
Navigate to your /inc/main.inc.php file and delete the text between the single ticks. If you want your emails to dump into Trash, simply type in the word “Trash”
// move messages to this folder when deleting them // leave blank if they should be deleted directly $rcmail_config['trash_mbox'] = '';
sd
May 1st, 2010 at 4:18 pm
My fresh yum’d copy of roundcubemail had
// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = FALSE;
in /etc/roundmail/main.inc.php. I (for whatever reason) didn’t have a TRASH folder, but I had all the other ones. Changing the above to true solved the problem the next time I logged on.