Roundcube Community Forum
Release Support => Pending Issues => Topic started by: daaron on May 04, 2010, 08:03:45 PM
-
I've been using Roundcube for some time; just upgraded to 0.4beta. This problem is not new with the latest release.
For each user, there is both a 'Trash' and a 'Deleted Messages' folder. I can set user preferences to have all deleted messages sent to the Trash folder, but the 'Deleted Messages' folder remains.
In earlier Roundcube versions, I could open the 'Folders' tab under Settings, but there was no provision for deleting 'Deleted Messages.' In 0.4beta, the 'Folders' tab won't open (the browser just waits an eternity loading the page).
Any suggestions?
-
Is there any thing in your error log?
-
Is there any thing in your error log?
Yes, the following error is repeated over and over:
PHP Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/www/roundcube/program/include/main.inc on line 1104
Here's my timezone setting in main.inc.php:
$rcmail_config['timezone'] = 'America/Los_Angeles';
And here's my timezone setting in php.ini:
date.timezone = America/Los_Angeles
One more thing - when I try to open the Folders tab on the Settings page, the error log gets immense - 8MB in about 20 seconds. Looks like an infinite loop to me.
-
Try adding:
php_value date.timezone = 'America/Los_Angeles';
To your .htaccess in RoundCube root directory.
-
Try adding... To your .htaccess in RoundCube root directory.
Thanks, that solved the timezone errors!
I also checked the imap log, and found that roundcube was looking through all the folders in my home directory (not just within the ~/mail folder). I tried moving the bulk of the data out, and now the Folders tab works again. Whew.
But the original problem I wrote about still remains: there's both a Trash folder and a Deleted Messages folder on the main Roundcube page. Trash shows up under the Folders tab, but Deleted Messages does not.
The errors log is now empty. But the imap log includes one mention of Deleted Messages:
[05-May-2010 11:20:05 -0700]: S: * LSUB () "/" "Deleted Messages"
[05-May-2010 11:20:05 -0700]: S: * LSUB () "/" Trash
[05-May-2010 11:20:05 -0700]: S: * LSUB () "/" Sent
[05-May-2010 11:20:05 -0700]: S: * LSUB () "/" Drafts
Note the quotation marks around "Deleted Messages" only. What's happening here?
-
Any suggestions on getting rid of the errant 'Deleted Messages' folder?
-
The quotes around "Deleted Messages" just means there is a space in the folder name. My guess is that some other IMAP client or the IMAP server itself has created the errant folder. I'm assuming that you have the following params set correctly (matching the IMAP server's schema) in main.inc.php:
// move messages to this folder when deleting them
// leave blank if they should be deleted directly
$rcmail_config['trash_mbox'] = 'Trash';
// 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', 'Spam', 'Trash');
-
The quotes around "Deleted Messages" just means there is a space in the folder name.
Ahh, of course.
I'm assuming that you have the following params set correctly (matching the IMAP server's schema) in main.inc.php:
Yup - just as shown.
My guess is that some other IMAP client or the IMAP server itself has created the eearnt folder.
Where do I look for this sort of thing? There's no actual file or directory by that name anywhere on the drive.
Also, is roundcube (or perhaps the IMAP server) supposed to be using each users home directory, as opposed to the ~/mail directory to store Trash, Sent, etc.?
-
Where do I look for this sort of thing? There's no actual file or directory by that name anywhere on the drive.
Also, is roundcube (or perhaps the IMAP server) supposed to be using each users home directory, as opposed to the ~/mail directory to store Trash, Sent, etc.?
This depends on the IMAP server, not part of Roundcube's set up. If you connect to the IMAP server using a different mail client, what do you see?
-
Not sure - anyone know where to look for IMAP settings on FreeBSD?:o
-
For anyone else having the same problem, I have solved it on my server. There were two culprits:
1. The imap_root variable in main.inc.php is set to null by default. I changed it to:
$rcmail_config['imap_root'] = 'mail/';
2. Next, there's a .mailboxlist file in each user's root directory; I just edited it to remove the unwanted entry.
That's it!