gpan
Apr 8 2005, 07:44 PM
We have released an updated Squirrelmail package for Ensim Webppliance / Webppliance Pro
These packages can support 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
Downloadable at
http://mirror.cheetaweb.com/ensim/extras/s...sim.ct.i386.rpm
Please post of any issues. Thank you!
Doobla
Apr 9 2005, 01:26 AM
Thanks again gpan. Very nice.
Installing now.
Doobla
Apr 9 2005, 01:38 AM
Piece of cake as usual. Thanks again!
polystigma
Apr 9 2005, 05:30 AM
Thanks Geoff
worked flawlesly as usual
Bobo
Apr 9 2005, 10:20 PM
I might try this. Two questions, though:
Does this support multiple languages natively, without having to twick it?
Can sites still be able to customize their own look?
gpan
Apr 9 2005, 10:58 PM
Explain multiple languages?
Bobo
Apr 10 2005, 06:55 AM
QUOTE (gpan)
Explain multiple languages?
Well, there seems to have been issues lately with Squirrelmail no longer natively supporting multiple languages (English, French, Spanish, etc.).
It used to be that Squirrelmail had tons of languages avaialble and users could switch to their preferred language from the options menu.
But now, with the latest Ensim versions, as well as Squirrelmail itself, we no longer get all the languages by default. It seems we have to twick squirrelmail manually and install additional stuff in order to get the language we need to work.
So that's why I asked the questions:
1) Does This Global SquirrelMail suppport multiple languages (locales, such as French, Spanish, etc.). In other words, are these languages already active by default and we do not have to do anything else?
2) Does the global Squirrelmail allow site admins to still be able to customize their squirrelmail (login page, look, etc.)?
Thanks.
Bobo
swissmonk
Apr 11 2005, 02:25 AM
The Locale packages are not present in this rpm, but you can just go to:
http://www.squirrelmail.org/download.php
And download all_locales-1.4.4-20050308.tar.gz in /usr/share/squirrelmail, uncompress it and you will have all languages for all domains as it is a centralized install.
Sebastien
webwizard
Apr 15 2005, 11:28 AM
QUOTE (swissmonk)
The Locale packages are not present in this rpm, but you can just go to:
http://www.squirrelmail.org/download.php
And download all_locales-1.4.4-20050308.tar.gz in /usr/share/squirrelmail, uncompress it and you will have all languages for all domains as it is a centralized install.
Sebastien
Thank you! Worked like a charm
http://ftp.debian.org/debian/pool/main/s/s...308.orig.tar.gz
imcomguy
Apr 19 2005, 01:34 PM
GPAN, you're amazing... once again.
Quick question though, do you know if this RPM might work with Ensim 3.5(.21-10) as well? All of your previously released ones have functioned correctly, as well as a few manual installs of the SM source. Just curious.
Thanks in advance.
gpan
Apr 19 2005, 08:50 PM
You would just to have to --nodeps it as it is apache dependant.
imcomguy
Apr 19 2005, 09:02 PM
Thanks GPAN, but I actually already tried that (it installed) but I had no luck. I restarted apache, and even ran RebuildSquirrelMail, as well as uninstalled the previous CSM install before installing this one... but still all of the /mail, /webmail, /squirrelmail links are gone and not functioning. Even from the root IP, /var/www/html/webmail doesn't exist. I will take a look further since I haven't had any time to look over what might be wrong. But if you have any quick ideas, I'd appreciate it.
Thanks!
ModemGuru
Apr 20 2005, 07:45 AM
I am a newb when it comes to stuff like this and have two questions.
1 - How does one use rpm -e to remove squirrelmail?
2 - Will all the sites that I have squirrelmail checked on get squirrelmail back automatically withthis rpm? I assume any settings current users have will be lost?
DavidG
Apr 20 2005, 11:35 AM
QUOTE (ModemGuru)
I am a newb when it comes to stuff like this and have two questions.
1 - How does one use rpm -e to remove squirrelmail?
2 - Will all the sites that I have squirrelmail checked on get squirrelmail back automatically withthis rpm? I assume any settings current users have will be lost?
as far as I can tell user settings are not lost
as root: rpm -e squirrelmail, only do this if you have previously applied an older version of central sqmail install.
as for all virtual sites the files for each sqmail installation are still present and can be safely removed from each sites profile in the control panel.
If you wish do do this on mass:
> pico disablesm (or text editor of your choice)
Copy the following into this file
CODE
for i in `sitelookup -a domain`
do
echo "Disabling SquirrelMail for" $i;
/usr/local/bin/EditVirtDomain -D $i -c sqmail,off;
done;
echo "Squirrelmail Disabled for all sites.";
give file appropriate permissions
> chmod 700
> sh disablesm
only use this script once your sure your central install is working correctly.
Regards,
David
ModemGuru
Apr 20 2005, 03:32 PM
ok, so if I have a fresh copy of ensim and have squirrelmail on it, but have not upgraded it, I don't have to do the rpm -e?
and perhaps the best way to reinstall squirrelmail on all the virt sites is to remove the check, then recheck?
DavidG
Apr 21 2005, 07:59 AM
the point of the sqmail central install provided by gpan is that it should not be on each virt domain, due to the setup there is 1 sqmail copy that is configured to access and accept authentication for all virt domains.
The script I supplied above is to remove sqmail from each domain for use after you have installed the central sqmail version detailed at the start of this topic.
Any further queries I'll do my best to answer.
ModemGuru
Apr 21 2005, 08:06 AM
Ahhhh! Ok, thanks David!! One more question: With the central install, will
http://www.usersdomain.com/webmail still forward them to squirrelmail?
DavidG
Apr 22 2005, 12:57 AM
yep you got it
when the user does http://
/mail or /webmail or /squirrelmail in fact
if will redirect to the main server ip http://xxx.xxx.xxx.xxx/squirrelmail/src/login.php
gpans central install automatically picks up the correct domain if the enter via their own domain first so only username and password need to be supplied.
additionally what you can do is modify the way the redirects are generated to point to the main server hostname
https:///squirrelmail/src/ .... as this will likely have a proper SSL certificate installe dwhich has the added benefit that your webmail is now SSL secured.
to apply this modification modify the script placed in
/etc/appliance/customization
squirrelmail.sh i think its called. you should be easily able to spot the redirects which are in place.
you'll need a little script to remodify the existing domains redirects, when I'm at a pc I can access my server from I will pass on the script for you to do this.
after remodification of existing sites all you need to do is restart apache.
if you need any guidance or help with the installation post here or PM me and I'd be glad to help.
Regards,
David
DavidG
Apr 22 2005, 12:59 AM
remember before doing any of the above make sure your central sqmail installation is working correctly.
Good Luck!
JoshFink
Apr 23 2005, 05:04 PM
I've had this problem for as long as I can remember. I was hoping that 1.4.4 would fix it, but it's still the same.
Right now I can go to
www.domain.com/webmail and it will redirect to
http://w.x.y.z/webmail/src/login.ph...main=domain.com
How do I get it to keep
www.domain.com/webmail or at least
http://www.domain.com/webmail/src/login.php
Thanks
Josh
ModemGuru
Apr 23 2005, 08:24 PM
I don't think you can with a central install. You can probably do
http://serversname.com/webmail/src/login.php , but not
http://www.theirdomain.com/webmail At least this is what I gather from this thread.
JoshFink
Apr 24 2005, 09:11 AM
Right now if I do
CODE
[url="http://www.mydomain.com/webmail/src/login.php"]http://www.mydomain.com/webmail/src/login.php[/url]
It redirects to
CODE
[url="http://55.55.55.55/squirrelmail/src/login.php?site_domain=mydomain.com/"]http://55.55.55.55/squirrelmail/src/login....n=mydomain.com/[/url]
Obviously, the 55.55.55.55 is wrong, but how do I keep it at the first entry that I type in and not have it go to the domain with the ip address?
Thanks
Josh
DavidG
Apr 24 2005, 09:23 AM
remember this is a single central install so all redirects will go to 1 location
the way this is set up in gpans rpm is to go to the main server ip
this is controlled via the file /etc/customization/squirrelmail.sh
modify this file and redirect to your main servers hostname like svr01.mainhost.com instead of ip address
this will fix the automation for new sites created
to fix all the existing sites in one go run the following as a script (replacing
with the main server hostname):
CODE
for site in `sitelookup -a`
do
domain=`echo $site | cut -d , -f1`
handle=`echo $site | cut -d , -f3`
cat <<EOF >/etc/httpd/conf/$handle/0sqmail
Redirect /mail http://<main domain>/squirrelmail/src/login.php?site_domain=$domain
Redirect /webmail http://<main domain>/squirrelmail/src/login.php?site_domain=$domain
Redirect /squirrelmail http://<main domain>/squirrelmail/src/login.php?site_domain=$domain
EOF
done
then restart apache.
this should solve ur issues.
JoshFink
Apr 24 2005, 02:58 PM
Thanks.. I'll try it.
JoshFink
Apr 24 2005, 03:02 PM
Instead of the main server name in the squirrelmail.sh file, is there a way that I could use the name based ip address of each domain? Since they're all name based they should all point to the same IP, right?
How would I do this? Is it possible?
Thanks
Josh
gpan
Apr 24 2005, 03:04 PM
No. It will go to the wrong virtualhost.
JoshFink
Apr 26 2005, 02:03 PM
Ok.. So I want to test the single install (since in 4.0.3) SM is actually a recent version. How would I go about uninstalling the central install and using the site by site install?
Thanks for the help
Josh
DavidG
Apr 27 2005, 12:58 AM
before you installed the central install you had a version of sqmail in each site,
I have never done this so its an assumption:
rpm -e gpans sqmail rpm
reenable squirrelmail from the admin panel for each site this will put sqmail back.
you may have to remove the redirects which were put in place not sure if rpm -e will undo this, you'll be looking for a 0sqmail within the httpd config directories for each site.
I don't understand why you would wish to 'test' something which is in place by default and I assume you were using already.
Allan
May 3 2005, 01:34 AM
Much appreciated.
luke_s
Aug 1 2005, 05:32 PM
Hey all,
can anyone tell me where this central install is located, please? I would like to install some plugins and can't seem to locate the Squirrelmail install.
I thought it would be in /var/www/html/ , but it doesnt appear to be there?
Luke
Doobla
Aug 1 2005, 05:37 PM
I believe it is /usr/share/squirrelmail
You could always use locate squirrelmail.
luke_s
Aug 2 2005, 06:26 AM
Thats the right location. Thanks. I did a 'locate squirrelmail' but wasnt sure which location was being called. Thanks for saving me some time.
red77
Aug 5 2005, 10:47 AM
It works perfect but if I install plugin to him proon (automatic folder pruning) generates east error,
CODE
Error opening /var/lib/squirrelmail/prefs/default_pref
Could not create initial preference file!
/ should be writable by user apache
Please contact your system administrator and report this error.
and I do not have another option that to uninstall plugin it so that it works squirrelmail
Catalyst
Aug 11 2005, 12:06 AM
Just out of curiosity ... Does the Spell Checker work in this RPM?
red77
Aug 11 2005, 07:43 AM
Yes Spell Checker Work. Only proon (automatic folder pruning) generates east error
Catalyst
Aug 11 2005, 08:28 AM
QUOTE (red77)
Yes Spell Checker Work. Only proon (automatic folder pruning) generates east error
Good to know ... I'm trying to track down a bug in 1.4.5.
red77
Aug 11 2005, 08:36 AM
Solved Catalyst
Update proon plugin to version 4.0.0
http://www.squirrelmail.org/plugin_view.php?id=251
designguy
Aug 13 2005, 12:27 AM
Works great as always!
Doobla
Aug 13 2005, 12:33 AM
yup, just installed it on an ensim 4.04/centos 4.1 server today. Works great!
Alosery
Aug 21 2005, 11:20 AM
Hay,
I also hafe language problems whith squirrelmail
And i dont have the directory squirrelmail in /usr/share
Is this my problem and do i need to greate this directory and uncompress the all_locales download there.
Please advice.
Thanks,
Eelco Alosery
QUOTE (swissmonk)
The Locale packages are not present in this rpm, but you can just go to:
http://www.squirrelmail.org/download.php
And download all_locales-1.4.4-20050308.tar.gz in /usr/share/squirrelmail, uncompress it and you will have all languages for all domains as it is a centralized install.
Sebastien
norther
Aug 29 2005, 02:05 AM
Hi,
Have I done something wrong..? I got internal server error when trying to access page domain.com/webmail. Domain.com has squirrelmail disabled via Ensim. Here's the suexec_log extract:
CODE
[2005-08-29 10:58:03]: info: (real/target/actual) uid: (admin1/root/root) gid: (admin1/root/root) cmd: php-script alt_doc_root:
/home/virtual/site1/fst/var/www chroot: 1
[2005-08-29 10:58:03]: crit: cannot run as forbidden uid (0/php-script)
Edit
Fixed: squirrelmail.sh -script was not ran successfully. Replaced following line in virtDomain.sh:
/etc/appliance/customization/squirrelmail.sh $DOMAIN $SITE $IP
with
/etc/appliance/customization/squirrelmail.sh $1 $SITE $IP
troyoz
Jan 1 2006, 08:39 PM
I have been using your version of Central Squirrelmail and been working excellent. Now my issue is that I have upgraded PHP to 5.1 and only now get one error in Squirrelmail- When client try to sendmail they get
ERROR : Bad or malformed request.
Server responded: Received: BAD Command unrecognized: FROM
The mail is sent but the client is unaware of that
Any help is appreciated
QUOTE (troyoz)
I have been using your version of Central Squirrelmail and been working excellent. Now my issue is that I have upgraded PHP to 5.1 and only now get one error in Squirrelmail- When client try to sendmail they get
ERROR : Bad or malformed request.
Server responded: Received: BAD Command unrecognized: FROM
The mail is sent but the client is unaware of that
Any help is appreciated
PHP 5.1 error. It is fixed in 1.4.6 I believe.
Perhaps gpan will be as so kind as to make us a Ensim safe RPM for that?
troyoz
Jan 8 2006, 12:01 AM
gpan it would be really nice if you wuld consider an updated rpm as mentioned
ElfinStrider
Jan 9 2006, 12:52 PM
We would love you forever and raise towers to proclaim your greatness if you did.
Doobla
Jan 9 2006, 01:02 PM
QUOTE (ElfinStrider)
We would love you forever and raise towers to proclaim your greatness if you did.
I think a business referral would mean more to him

Maybe even in your sig line.....
ElfinStrider
Jan 9 2006, 02:21 PM
It can be done. . . rogue puck that I am, I don't mind putting an extra tag upon my tail as I trip along the light electric and having G's banner fluttering behind my whispers.
Though for that, we'd probably want a squirrelmail 1.4.5 and the php / mysql how-tos.
But that's just getting greedy. . . and what price can you possibly place on our love for Gpan?
NastyPasty
Jan 9 2006, 08:50 PM
If you run your site in high security mode, squirrelmail will not work, you will recieved an internal server error. Simply go back to 3.1 compatibility and it should solve that problem.
Dave.
troyoz
Jan 19 2006, 10:04 PM
Currently using your version gpan but now we have need for php5.1 but realise that the squirrelmail does not function. If I download 1.4.6 from squirremail.org is there anyway just to copy some files over the top of the squirrelmail central to make it work with php5.1 and if so could you please tell me which files to overwrite
mister_tee
Jan 28 2006, 02:43 PM
Hi everyone,
I followed these directions for a central install of squirrelmail 1.4.4 (I know 1.4.5 is out, but 1.4.4 is better than my current version). I got it to almost work, and was hoping somebody could help me get it working correctly.
When I would go to
CODE
http://mydomain.com/webmail
I would get redirected to an IP on the server,
CODE
http://10.10.10.10/squirrelmail/src/login.php?site_domain... etc. etc...
Unfortunately, the IP it would pick is wrong one - it's off by 1 number. The login screen never comes up, instead giving me some error about too many redirects.
If I manually correct the IP and hit enter, the 1.4.4 squirrelmail login page shows up. I was wondering how I can change it so that it forwards to the correct IP. The IP that it picks is indeed an IP associated with the server, it's just the wrong one.
I managed to uninstall the central squirrelmail rpm so that at least folks can still use the older version.
Any help is greatly appreciated.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.