Help - Search - Members - Calendar
Full Version: Easy Global SquirrelMail 1.4.6 (w/SSL) for Ensim 4.1
The Planet Forums > Control Panels > Ensim > Ensim HOWTOs
gpan
Globalized squirrelmail 1.4.6 packages compatible with Ensim 4.0/4.1 on PHP 4/PHP 5

These packages support shared Squirrelmail with SSL support; please review the squirrelmail.sh file in /etc/appliance/customization/ for more info.

Installation is via rpm -Uvh as per usual. You may need to remove older installations beforehand via rpm -e

squirrelmail-1.4.6-1.1.ensim.ct.i386.rpm

MD5 checksum: 55db964e8ecd9496d249686fb268029c
ecdiscounts
QUOTE (gpan)
Globalized squirrelmail 1.4.6 packages compatible with Ensim 4.0/4.1 on PHP 4/PHP 5

These packages support shared Squirrelmail with SSL support; please review the squirrelmail.sh file in /etc/appliance/customization/ for more info.


The installation went fine, but instead of the URL being:

http://domain.com/webmail/src/login.php

the user now see's:

http://IP Address/squirrelmail/src/login.php?site_domain=domain.com/

Is there a way to correct this to display the URL like it did before the Upgrade?
ecdiscounts
Also before the upgrade in the username field would be the domain name ie: @domain.com and now you have to type in everything.
arniemar
Thanks, gpan!

Worked like a charm.
boing
thx gpan!

icon_biggrin.gif

if you'd like https access:

edit:
/etc/appliance/customization/squirrelmail.sh

and below:
CODE
Redirect /mail http://$3/squirrelmail/src/login.php?site_domain=$1

Redirect /webmail http://$3/squirrelmail/src/login.php?site_domain=$1

Redirect /squirrelmail http://$3/squirrelmail/src/login.php?site_domain=$1


add:
CODE
Redirect /securemail https://$3/squirrelmail/src/login.php?site_domain=$1

Redirect /securewebmail https://$3/squirrelmail/src/login.php?site_domain=$1

Redirect /securesquirrelmail https://$3/squirrelmail/src/login.php?site_domain=$1


then execute:
RebuildSquirrelMail
/etc/rc.d/init.d/httpd restart

now if users access:
domain.com/securemail
domain.com/securewebmail
domain.com/securesquirrelmail

then they'll be redirected to https instead of http.
TRHJR
Thanks gpan as usual! This worked great. One question though. I have 2 domains that were already on the server, how do I go about updating their files so they reflect the new squirrelmail. I restarted httpd and now all that comes up when you go to squirrelmail is a download prompt to download the login.php file. Help please!
mazza
You Go Gpan!!
madmac
*****
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.