[BlueOnyx:00180] Re: Webmail issues

Michael Stauber mstauber at blueonyx.it
Wed Jan 14 07:01:06 -05 2009


Hi Steve,

> > Going into Security->PHP Settings and emptying 'Open Basedir' appears
> > to fix it.

That should not be necessary. Squirrelmail automatically extends the existing 
Open Basedir directives as needed. That's handled (for the public Apache) 
through /etc/httpd/conf.d/squirrelmail.conf

> > httpd did crash at this point, and I had to kill -9 it.. 
> > When httpd restarted it worked.
> >
> > Not sure why httpd is crashing :S

Hmmm. Not sure.

> [root at tess squirrelmail]# ls -l
> total 36
> -rw-r----- 1 root apache  499 Nov 18  2007 config_local.php
> -rw-r----- 1 root apache 6502 Nov 18  2007 config.php
> -rw-r----- 1 root apache   65 Nov 18  2007 default_pref
> -rw-r----- 1 root apache 1054 Nov 18  2007 sqspell_config.php
>
>
> Eek, thats not going to help things either..

No, your /etc/squirrelmail/ and the stuff within is perfectly fine.

>   opening /var/lib/squirrelmail/prefs/default_pref
> Could not create initial preference file!
> /var/lib/squirrelmail/prefs/ should be writable by user apache
> Please contact your system administrator and report this error.

Aha, THERE we got the problem! :o)

[root at main /]# ls -la /var/lib/squirrelmail/
total 12
drwxr-xr-x  3 root   root   4096 Jan 12 12:41 .
drwxr-xr-x 21 root   root   4096 Jan  1 15:30 ..
drwx------  2 apache apache 4096 Jan 14 06:49 prefs

Check that your /var/lib/squirrelmail/prefs directory is owned by 
user "apache" and group "apache". If it is not, do a ...

chown apache:apache /var/lib/squirrelmail/prefs

... and try again. That should fix it. 

Am a bit puzzled why the ownerships of that directory could be wrong. On the 
six BlueOnyx boxes I have up at the moment it it's set correctly on each and 
every one.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list