Squirrelmail Error With Ispconfig
By Fahad Ahammed
- One minute read - 163 wordsIf you have installed ispconfig by following http://www.howtoforge.com/ then you have also installed squirrel mail. You may face attachment problem, Saying data directory is not writable. Here is the solution.
First in terminal run this command:
choose 4 (General Options) and press Enter.
Check the directories.
Type “Q” to quit.
Now Check the user:group of data folder.
Use www-data (if you are using nginx and ispconfig and you don’t wanna give permission to any other vhost to access squirrelmail then you have to use ispconfig:ispconfig instead of www-data:www-data ).
Now give read-write access.
Now create an attachment page in “/usr/share/squirrelmail/”
Set permission.
Now make sure you have created the “tmp” directory.
and permission is set to “www-data” group.
Now restart nginx
or Restart Apache
Whole procedure can be done by a simple command as i have created a shell script which can be executed to give the solution without much headache.
The code is:
That is it. Hope it will solve your problem. 🙂