Koozali.org: home of the SME Server

How to re-direct "/webmail" to squirrelmail

DavidG

How to re-direct "/webmail" to squirrelmail
« on: August 30, 2001, 02:47:46 AM »
I like IMP and I'm also looking at Squirrelmail for webmail. I see that Squirrelmail isn't fully ready yet but I'd like to work with it.
What file needs to be customized so that "http://www.mydomain.com/webmail" will bring up either Squirrelmail or IMP depending on which I want?

IOW: How do I change what "http://www.mydomain.com/webmail" links to?

stephen noble

Re: How to re-direct "/webmail" to squirrelmail
« Reply #1 on: August 30, 2001, 04:35:35 PM »
>IOW: How do I change what "http://www.mydomain.com/webmail" links to?

why change it
install to sqmail under primary and point to "http://www.mydomain.com/sqmail"

DavidG

Re: How to re-direct "/webmail" to squirrelmail
« Reply #2 on: August 30, 2001, 11:11:36 PM »
Ok. I'll try that.

Thanks

DavidG

Re: How to re-direct "/webmail" to squirrelmail
« Reply #3 on: September 01, 2001, 01:56:16 AM »
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.