Check for default folders is not case sensitive: drafts != Drafts
|Reported by:||duelli||Owned by:|
In our configuration, we have
$rcmail_config['create_default_folders'] = true; $rcmail_config['protect_default_folders'] = true; $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
We have a dovecot 1.0 IMAP server.
We found that the check for default folders is case insensitive.
For instance, if a user already has a folder called "drafts" (note the lower case initial letter) and no personal settings for default folders, RoundCube detects the "drafts" folder and treats it identical to a "Drafts" folder as far as automatic creation of folders is concerned.
When a draft would be finally saved to the "Drafts" folder, only the folder "drafts" is found but not "Drafts". RoundCube shows and logs an error message which says:
[02-Dec-2009 15:45:12 +0100]: IMAP Error: Could not save message in Drafts in /srv/roundcube/program/steps/mail/sendmail.inc on line 0 (POST /roundcube/?_task=mail&_action=send)
As noted in Comment 6 of bug #1486260, the check for default folders should be case sensitive.
Change History (5)
comment:3 Changed 3 years ago by alec
- Component changed from PHP backend to Core functionality
- Resolution fixed deleted
- Status changed from closed to reopened