On Jan 26, 2008 12:47 PM, nibs8pup <joe@xxxxxxxxxxx> wrote: > > A couple of days ago I attempted to add a new e-mail account to one of my > domains through postfixadmin. It created fine, but when I attempt to log > into the account through squirrelmail, I get the error: Error opening > ../data/default_pref > Default preference file not found or not readable! > > Any of the previous email accounts are working fine. > > I'm currently using 1.4.8 of squirrelmail on a Fedora core 5 box. I did not > make any recent changes to the server and this problem just "appeared" > > I did a search for this error on the forum and followed all the instructions > that I found..ie..setting permissions ect with no avail. > > I'm pretty new to linux so please bear with me. > > The default_pref file is located in the following directory: > /var/www/puyallup/webmail/data show a listing of this directory so we can help verify it is OK. show the $data_dir setting from your config/config.php file. show as much as you can so we can better assist you. show the log events that occur at the same time the error happens (BOTH your web server error log AND your system messages file) and make sure PHP error logging is sufficiently high, per the mailing list posting guidelines. If it's a SELinux issue, you should see errors in the system message log. > I also confirmed the proper directory structure in conf.pl as absolute. > > Also, I checked phpmyadmin to verify the new email account was created in > the Mysql database and it was there. > > I also followed this guide: > > http://squirrelmail.org/wiki/DataPermission > > I do have a question. I don't understand the comman line at the bottom > (This is from the guide): > > If you have done all of the above, and it still doesn't work, and you are > running a linux like Fedora Core 4, that has SELinux, there here is what to > do: > My data and attachment directories are outside of the html space, as > recommended for security, and hence also outside of the space that > squirrelmail, run by httpd, is allowed to access. > > Running: > > # chcon -t httpd_squirrelmail_t /usr/share/squirrelmail/attachments > > # chcon -t httpd_squirrelmail_t /usr/share/squirrelmail/data > > Any help would be greatly appreciated. > > Thanks > -- > View this message in context: http://www.nabble.com/Problem-with-squirrelmail-error%3A-Error-opening-..-data-default_pref-tp15112396p15112396.html > Sent from the squirrelmail-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ----- > squirrelmail-users mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > List archives: http://news.gmane.org/gmane.mail.squirrelmail.user > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users