I'm looking at Squirrelmail because I need some of the features.
I tried installing the Squirrelmail e-smith-rpm from Charlie Brady, however, on boot (or manually) the "e-smith-admin" process won't start because of a "syntax error in line 645 of /admin-conf/httpd.conf" I checked the new .conf against the backup .conf and I fail to see the problem, in fact, line 644 - 646 are blank lines.
I did the usual "post-upgrade" etc., to no avail. Everything else looked fine with the install, but there is something that e-smith didn't like about that .conf file on my setup after the rpm install.
So, I simply uninstalled the rpm, did another post-upgrade, and things were back to normal. No problem.
I still want to investigate SM, so I installed the Ver. 1.2rc1 Squirrelmail tar ball into an ibay. It works fine, . . . IF the Data and Attacments directories are in the default configuration, that is - "(ibay)/squirrelmail/html/data" .
I could not get Squirrelmail to login if the "/data" and "/attachments" were set to "/var/spool/squirrelmail/data" because it apparently couldn't create/read/write a .pref file in "/var/spool/squirrelmail/data". I had followed the directions in the SM documentation for setting permissions, but . . .
I'm concerned about the possibility of unauthorized access to those SM data files if those directories are left in the default configuration, i.e. (ibay)/squirrelmail/html directory. I want webmail to be available via the internet as well as locally.
My thought was to put the data directories at /var/spool/.....
1) Are the SM data and attachments directories OK to leave in the ibay, given the security concern?
2) If not, how do I set permissions on /var/spool/squirrelmail/data so that only Squirrelmail (apache) can access those Data and Attachments directories? What ownership/group should be "chown'ed"?
3) Is there a safe/better alternative directory?
My installation is E-smith 4.1.2, the E-smith updates (base, apache, mod_ssl, etc.), and PHP 4.0.6.
Helpful suggestions would be greatly appreciated.