SquirrelMail Installation Problem

squirrelmail

I have downloaded squirrelMail from SquirrelMail Official Website, then I uploaded the extracted files to a free hosting account on x10hosting.com.

when I try to connected to the Squirrel Mail, I get the following error

Error opening ../data/default_pref
Could not create initial preference file!
/data/ should be writable by user sikas
Please contact your system administrator and report this error.

I want to know how to solve this issue and what files exactly should be edited.

PS: I edited the config file but I`m not sure about the values I entered.

Best Answer

It is best that you configure SquirrelMail by running the conf.pl script in the config directory. The problem you are dealing with is the result of incorrect permissions. Both the data directory and the attachment directory need to be writable by the user that the web server runs. If you do not know what user this is (www, www-data or something else) it chmod them to 1777.

Related Topic