I didn't understand why I cannot login when the message says: Code: Error opening ../config/default_pref Could not create initial preference file! /var/lib/squirrelmail/data/ should be writable by user www-data Please contact your system administrator and report this error. I check on configtest.php, but I got the error page, grrrr What have I found from old thread here at howtoforge http://www.howtoforge.com/forums/showthread.php?t=32739, yes it tells chmod -R 777 /var/lib/squirrelmail/data but it doesnt works for me. Why? I has check which owner by /squirrelmail/data and its www-data. Here are the error log: Code: [Tue Jun 07 12:14:28 2011] [error] [client 81.170.155.71] PHP Warning: file_exists(): open_basedir restriction in effect. File(/etc/mailname) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/tmp:/var/www/quantum-guild.eu/web:/srv/www/quantum-guild.eu/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/squirrelmail:/etc/squirrelmail) in /etc/squirrelmail/config.php on line 30, referer: http://www.quantum-guild.eu/webmail/src/login.php [Tue Jun 07 12:14:28 2011] [error] [client 81.170.155.71] PHP Warning: file(): open_basedir restriction in effect. File(/etc/hostname) is not within the allowed path(s): (/var/www/clients/client0/web3/web:/var/www/clients/client0/web3/tmp:/var/www/quantum-guild.eu/web:/srv/www/quantum-guild.eu/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/squirrelmail:/etc/squirrelmail) in /etc/squirrelmail/config.php on line 30, referer: http://www.quantum-guild.eu/webmail/src/login.php [Tue Jun 07 12:14:28 2011] [error] [client 81.170.155.71] PHP Warning: file(/etc/hostname): failed to open stream: Operation not permitted in /etc/squirrelmail/config.php on line 30, referer: http://www.quantum-guild.eu/webmail/src/login.php [Tue Jun 07 12:14:28 2011] [error] [client 81.170.155.71] PHP Warning: implode(): Invalid arguments passed in /etc/squirrelmail/config.php on line 30, referer: http://www.quantum-guild.eu/webmail/src/login.php [Tue Jun 07 12:20:22 2011] [error] [client 66.249.66.79] File does not exist: /var/www/quantum-guild.eu/web/Themes [Tue Jun 07 12:24:22 2011] [error] [client 81.170.155.71] client denied by server configuration: /usr/share/squirrelmail/src/configtest.php Do have you better idea how to solve this dumb error? Thank!
Does squirrelmail work when you access it trogh the IP address of your webserver and not trogh a website?
Okay. I have Boonex Dolphin and it needs suEXEC to be enable because phot, video and etc could upload if suEXEC is enable. Do there is a solution of squirrelmail to get working while suEXEC enable e.g SSL or wildcard?
It is always a problem to access a centrally installed web app on a secure webserver that uses different priveliges for the websites. For that reason I use a dedicated webmail vhost on my servers by creating a nwe websiite like webmail.hostingcompany.com and install a webmail app in that site and let all customers access their email trough that vhost.