Skip to content

SquirrelMail Error: Invalid mailbox name

A pastor of our international church in Espoo said that SquirrelMail wasn't working anymore. The frame where the folders used to be, now said

ERROR:
ERROR: Could not complete request.

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

The fix involves two easy steps, the latter being voluntary.

  1. Rename .sqmaildata folder (in your file system root) to something else, say, .sqlmaildata.old. A brand new folder with the original name will be automagically created as a user logs in.
  2. If you wish to restore SquirrelMail preferences (.pref files), address books (.abook) and signatures (.sig), just copy the respective files from .sqlmaildata.old to the newly created .sqlmaildata.

These instructions were found at alwayswebhosting.com.