Squirrelmail “Invalid mailbox name” error with Plesk 9.2.1

A client today had a problem with Squirrelmail giving the following error, preventing the folder listing from coming up:

Query: CREATE "Sent"
Reason Given: Invalid mailbox name.


To resolve the issue, I had to change some of the Squirrelmail folder settings in /etc/squirrelmail/config.php.

$default_folder_prefix          = 'mail/';
$trash_folder                   = 'INBOX.Trash';
$sent_folder                    = 'INBOX.Sent';
$draft_folder                   = 'INBOX.Drafts';

This was on a RHEL 5.3 box, so the config.php may be located at another path if you’re using another distro.

Leave a Reply