Error logging into mail server through squirrelmail
Hi everyone,
I have a postfix mail server running on a SUSE10 Box, the mail has soo fine until today when i tried adding a new user, i created the user successfully through yast, but when i tried logging in through squirrelmail, it returns this error [HTML]Error opening ../data/default_pref Default preference file not found or not readable![/HTML] Can anyone help? Thanks Guys. |
maybe you don`t have enought rights for that file. try to change the file rights , for example chmod 775 file
|
Does data/default_pref exist? If so, what are its permissions?
locate data/default_pref It needs to be readable by your web server, so 644 is fine (no need to 775, as the file is not executable). |
Quote:
So what do i do about this missing file? Thanks guys! |
There is not very much in the file. The contents are simply defaults that are used by squirrelmail to setup new user default preferences. The issue is not "what about the missing file?" - this issue is "is the squirrelmail installation correct and complete?" You could reinstall the squirrelmail package, or compare it to backups.
My squirrelmail/data/default_pref file only contains : full_name= reply_to= show_html_default=0 and is owner/group 0:0 with permissions 644. This file belongs in the data directory that is stored in the squirrelmail web folder, not the data folder used for attachments. |
Quote:
Im alittle confused there, when you say the squirrelmail web folder, do you mean /srv/www/htdocs/mail? because when i list the contents of this directory, here is what i have Code:
mail:/srv/www/htdocs/mail # ls Thanks. |
I think it is the data directory you've shown above. I say "think" because each distribution installs various software in different locations, and I don't always know/remember the locations (especially since I've been doing my own builds/installs for a very long time). It won't hurt to try that one first.
|
Quote:
im confused coz it seems like that directory is the attachments directory, coz its got alot of attachment files in it. anyway thanks a bunch, God Bless |
You can configure the attachment directory to be outside of the web root, and this is the advised procedure.
|
All times are GMT -5. The time now is 03:59 AM. |