gpan
Oct 5 2003, 09:45 AM
After a long and (frequently extended) wait, SquirrelMail version 1.4.2 has been released. This is the latest and greatest version of the stable source tree, and we recommend that all production sites upgrade to this version.
(Per squirrelmail.org above)
Version 1.4.2 includes the following changes from the previous version, a full list which can be reviewed in the ChangeLog:
- Fix message highlighting for text containing spaces.
- Custom CSS option now works properly.
- Fix SquirrelSpell JS incompatibility with other plugins that use forms like
Link Buttons (#774454).
- Fix when forwarding messages as attachment from message list, the displayed
subject was wrong (appearing to the user that the wrong messages were attached).
- Workaround for Mozilla bug #200412 in order to show multipart/related html mail.
- Fix for disappearing '0' from decoded strings (bug #784193).
- Replace all session_start() calls with sqsession_is_active() to be compatible
with upcoming PHP 4.3.3.
- Reintroduced mailbox-tree caching in order to limit the number of IMAP calls.
- Fix for delete_move_next plugin when using server threading.
This package is Ensim 3.1 / Ensim Pro 3.5 compatible and also corrects the integration autocreation script issue present in the previous release.
Installation is via rpm -Uvh as per usual.
If there are any issues, uninstall the prior RPM before installing, or drop me a note.
Downloadables:
squirrelmail-1.4.2-1.7.ct.i386.rpm
Checksum:
cea28098609ba0fcff3429716be04ef5
mazza
Oct 5 2003, 10:09 AM
Thank you
prence
Oct 5 2003, 10:14 AM
Works good, thanks
amp3dmoshpit
Oct 5 2003, 12:14 PM
Upgrade went smooth, can read email, but when i try to delete, get this error:
ERROR : Could not complete request.
Query: COPY 1 "mail/Trash"
Reason Given: UID COPY failed: Can't append - file "/home/moshpit/mail/Trash" is not in valid mailbox format
it worked until the upgrade.
jrap
Oct 5 2003, 03:16 PM
I am able to login properly, however the following error is now showing (instead of any html) after logging in::
Fatal error: Cannot redeclare class disposition in /usr/share/squirrelmail/class/mime/Disposition.class.php on line 14
Any ideas?
*edit*
I uninstalled squirrelmail, and installed it again, and everything is working properly.
mazza
Oct 5 2003, 10:22 PM
did you restart apache also if you did
uninstall and reinstall
see if that works
good luck
QUOTE
Originally posted by jrap
I am able to login properly, however the following error is now showing (instead of any html) after logging in::
Fatal error: Cannot redeclare class disposition in /usr/share/squirrelmail/class/mime/Disposition.class.php on line 14
I uninstalled squirrelmail, and installed it again, and everything is working properly.
Did not help to me.. Now All I get is that squirrelmail cannot connect to IMAP.
Hm.. now, after another squirrelmail uninstal (rpm -e squirrelmail) I have bad feeling I had messed it up totally..
edit: uf.. took me 2 uninstalls and 2 new installs. I have no idea why it was this way but it seems to work now..
hilliked
Oct 6 2003, 08:45 AM
Thanks gpan...worked perfectly
Mike2522
Oct 6 2003, 09:06 AM
Does this support SSL as the previous version did?
hilliked
Oct 6 2003, 10:57 AM
Does for me
smoker
Oct 6 2003, 11:25 AM
Quick question gpan, is this suitable for a central install like your previous version ?
alan
Doobla
Oct 6 2003, 12:23 PM
QUOTE
Originally posted by smoker
Quick question gpan, is this suitable for a central install like your previous version ?
alan
It worked for me.

I uninstalled the previous one and installed this one smooth as silk. It even fixed a bug that I had to hack in the previous version (src/src).
Highly recommended,
Jon
jayntguru
Oct 6 2003, 10:19 PM
No issues at all here.
Proetorian
Oct 7 2003, 03:14 AM
Thanks gpan. After two uninstalls and re-installs the rpm worked fine. However, the block_sender plugin does not work anymore. I removed it, re-untarred it and plugged it back in but still no cigar. Any ideas?
This could not have been any easier!
Thanks GPAN - not a single problem!
smoker
Oct 7 2003, 11:37 AM
Last question (heh !) do any of you have the "requires full
username@domain.com to login" issue with this version, or can you get away with just the username still ?
I was quite pleased when gpans central install did away with the @domain.com crap, and don't want to go back to it really.
Ta
alan
Doobla
Oct 7 2003, 11:40 AM
QUOTE
Originally posted by smoker
Last question (heh !) do any of you have the "requires full username@domain.com to login" issue with this version, or can you get away with just the username still ?
I was quite pleased when gpans central install did away with the @domain.com crap, and don't want to go back to it really.
Ta
alan
Just the username works for me.
smoker
Oct 7 2003, 11:44 AM
k, thanks I'll give it a blast then
alan
smoker
Oct 7 2003, 12:00 PM
Worked first time, excellent.
Didn't uninstall first, just backed up the config.php and copied the plugins over to the new config.
Nice job gpan !
alan
quaz
Oct 7 2003, 07:11 PM
Installed great. Just had to service httpd restart and all works well. Thanks Gpan!
cerniw
Oct 7 2003, 08:30 PM
Back in the gpan v1.4.0 version it allowed the URL to be preserved for the domain from which the user was logging in from. In 1.4.1 and 1.4.2 it now rewrites it to the ip address of the server. Is there anyway to go back to the old behavior using 1.4.2?
EG. under v1.4.2
http://w.x.y.z/webmail/src/login.php?site_...main=domain.com
under 1.4.0 or older:
http://www.domain.com/webmail/src/login.php
I have a couple users who have multiple accounts and domains on one of my servers and now they can only login one account at a time. If the domain was preserved then they would be able to have multiple browser windows opened and logged into separate accounts.
Unfortunately my only workaround is to setup a domain specific SQMail install for these particular users
I did try changing the 0sqmail file in /etc/httpd/conf/sitex directory but it gave me some errors.
(I assume this behavior is done such that a user can make use of the shared SSL certificate but I would like the old method to be used for regular http logins)
- Paul.
Allan
Oct 8 2003, 02:07 AM
Thank you very much GPan!
TRHJR
Oct 8 2003, 12:25 PM
Is there anyone in here that would be willing to install this for me?
smoker
Oct 8 2003, 12:36 PM
QUOTE
Originally posted by cerniw
Back in the gpan v1.4.0 version it allowed the URL to be preserved for the domain from which the user was logging in from. In 1.4.1 and 1.4.2 it now rewrites it to the ip address of the server. Is there anyway to go back to the old behavior using 1.4.2?
EG. under v1.4.2
http://w.x.y.z/webmail/src/login.php?site_...main=domain.com
under 1.4.0 or older:
http://www.domain.com/webmail/src/login.php
I have a couple users who have multiple accounts and domains on one of my servers and now they can only login one account at a time. If the domain was preserved then they would be able to have multiple browser windows opened and logged into separate accounts.
Unfortunately my only workaround is to setup a domain specific SQMail install for these particular users
I did try changing the 0sqmail file in /etc/httpd/conf/sitex directory but it gave me some errors.
(I assume this behavior is done such that a user can make use of the shared SSL certificate but I would like the old method to be used for regular http logins)
- Paul.
I have a couple users who have multiple accounts and domains on one of my servers and now they can only login one account at a time. If the domain was preserved then they would be able to have multiple browser windows opened and logged into separate accounts.
Why can't they ?
Don't their browsers work with more than one page at once ?
I have many different accounts on the same server, and the same domain even, and I can open all of them in seperate windows.
They have seperate usernames and passwords for each of the accounts don't they ?
Have you tried it ?
The domain name showing is cosmetic anyway. After all thats what nameservers do all day.
alan
[edit] retraction and ritual humiliation on page 2

[/edit]
TRHJR
Oct 8 2003, 12:43 PM
why am I getting these errors after installation?
Warning: Failed opening 'ensim_config.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site14/fst/var/www/squirrelmail/config/config.php on line 16
Warning: Cannot send session cookie - headers already sent by (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/functions/global.php on line 295
Warning: Cannot send session cache limiter - headers already sent (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/functions/global.php on line 295
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/functions/i18n.php on line 1616
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/src/login.php on line 49
smoker
Oct 8 2003, 12:51 PM
Aah, foot in mouth, sorry you are correct
But you can checkmail from other accounts from within 1 account and then you do have different identities available.
Also for a simple check the multiple windows trick does work, but when the folders refresh, it goes to the last logged in user on all the windows, so they all end up the same account.
Last time I checked it seemed to work ok, but maybe I wasn't in there long enough for a refresh.
Anyway, use the fetchmail plugin, much easier than having loads of windows open.
alan
cerniw
Oct 8 2003, 12:54 PM
>>But you can checkmail from other accounts from within 1 account and then you >>do have different identities available.
>>Anyway, use the fetchmail plugin, much easier than having loads of windows >>open.
Do you have any guidance on how to do this? I did try installing the mail_fetch plugin from squirrelmail.org but got tons of permission problems and couldn't find a log that would help me debug what was happening. Is that the same plugin you use or is there a better one that links with fetchmail?
- Paul.
smoker
Oct 8 2003, 01:17 PM
Do you have the Simple POP3 Fetch Mail showing in your options page ?
I can't remember what was default now.
If so you can set it up from there
Here is the one on my servers anyway.
Just unzip and untar it in the plugins directory so you end up with a path of
/usr/share/squirrelmail/plugins/mail_fetch/
make sure the mail_fetch directory is chmod 755
then
vi /etc/squirrelmail/config.php
and add
$plugins[?] = 'mail_fetch';
at the end of the plugins list
make sure you change the ? above, into the next applicable number in the list of plugins
Save and exit the file
restart apache
log in to squirrelmail and go to the options page and it should be there.
Oh, you have to rename the file I've attached to mail_fetch.tar.gz
Damn forum still wont accept gz or tar
alan
smoker
Oct 8 2003, 01:49 PM
Ok, this is probably silly, but I have a fairly complete list of Squirrelmail plugins that I rescued before they disappeared from squirrelmail.org
heres a link, but be warned, its a 9 + meg file
http://www.headru.sh/sqm/sqm-plugins.tar.gz
the file listing is attached to this message
alan
( BTW, the usual applies, I don't take credit or responsibility for the contents or safety of any of these files, so if you're worried, don't use them. Always read the README)
alan
mizator
Oct 11 2003, 11:14 AM
Hi,
I installed the 1.4.2 and then upgraded ensim from 3.1.3 to 3.1.11
and I have the following wierd behaviour.
1) All old sites have the new 1.4.2 but they go to the servers IP address
2) All new sites added have squirellmail 1.2.11 installed ??!!
What I want is for all sites to have the v1.4.2 but i want all of that to be under their respective domains, and not under the server's IP, cos it costs bandwidth on the main site, and none for the virtual site.
Can any1 please help?
gpan?
mizator
Oct 11 2003, 11:21 AM
How do I revert back to the old squirellmail ? in my case it was 1.2.11
Detailed instructions will be appreciated
gpan
Oct 11 2003, 04:40 PM
rpm -e squirrelmail; and restart httpd.
mizator
Oct 11 2003, 11:50 PM
thanks gpan, that worked
maf
Oct 12 2003, 12:54 PM
I ran the rpm and when I go to log into Squirrelmail, I get the logon screen but with this error at the top of the page.
CODE
Warning: open(/tmp/sess_c626d0a7c762d5a92256aecaf1fe8721, O_RDWR)
failed: Permission denied (13) in /usr/share/squirrelmail/functions/global.php on line 324
If I refresh or try to logon, it is followed by a number of errors all which refer to the global.php:324. After I log on, only the errors remain on screen:
CODE
Warning: open(/tmp/sess_c626d0a7c762d5a92256aecaf1fe8721, O_RDWR)
failed: Permission denied (13) in /usr/share/squirrelmail/functions/global.php on line 324
Warning: Cannot add header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:324)
in /usr/share/squirrelmail/src/redirect.php on line 36
Warning: Cannot add header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:324)
in /usr/share/squirrelmail/functions/i18n.php on line 1616
Warning: Cannot add header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:324)
in /usr/share/squirrelmail/src/redirect.php on line 58
Warning: Cannot add header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:324)
in /usr/share/squirrelmail/src/redirect.php on line 97
Warning: open(/tmp/sess_c626d0a7c762d5a92256aecaf1fe8721, O_RDWR)
failed: Permission denied (13)
in /usr/share/squirrelmail/src/redirect.php on line 157
Warning: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct
(/tmp) in /usr/share/squirrelmail/src/redirect.php on line 157
Warning: Cannot add header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:324)
in /usr/share/squirrelmail/src/redirect.php on line 158
Uninstalling wipes out Squirrelmail altogether. I've been running the gpan central install for quite a while without problems. Just wanted to upgrade to this latest version.
Several uninstall-reinstalls with httpd restarts in between have not helped.
Suggestions? Explanations?
Mark
Proetorian
Oct 12 2003, 01:06 PM
QUOTE
Originally posted by Proetorian
Thanks gpan. After two uninstalls and re-installs the rpm worked fine. However, the block_sender plugin does not work anymore. I removed it, re-untarred it and plugged it back in but still no cigar. Any ideas?
I solved my problem by installing the 'compatibility' plugin first as $plugin[0] in config.php before any of the other plugins. This way it is loaded prior to any other plugin that requires it such as 'block_sender'.
maf
Oct 12 2003, 01:57 PM
QUOTE
Originally posted by maf
[B]I ran the rpm and when I go to log into Squirrelmail, I get the logon screen but with this error at the top of the page.....
Okay, I figured this one out. It was from another problem on the server. I had stupidly deleted my /tmp folder when trying to delete a tmp folder with some install files in it. After I recreated the /tmp folder, I set the rights to 755 and had these problems with SquirrelMail (and other problems I discovered). Through a Google search I found out that /tmp has to be world writeable, thus 777, not 755. Thus I ran "CHMOD 777 /tmp" and now SquirrelMail works fine and my other problems are resolved as well.
Mark
REBIS
Oct 12 2003, 06:11 PM
Thanks, Gpan!
TRHJR
Oct 13 2003, 09:22 AM
Why am I getting the following after trying to upgrad my squirrelmail???
Warning: Failed opening 'ensim_config.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site14/fst/var/www/squirrelmail/config/config.php on line 16
Warning: Cannot send session cookie - headers already sent by (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/functions/global.php on line 295
Warning: Cannot send session cache limiter - headers already sent (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/functions/global.php on line 295
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/functions/i18n.php on line 1616
Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site14/fst/var/www/squirrelmail/config/config.php:16) in /home/virtual/site14/fst/var/www/squirrelmail/src/login.php on line 49
gpan
Oct 13 2003, 03:52 PM
Try rpm -e squirrelmail
then reinstall it.
modiphier
Oct 13 2003, 05:24 PM
Hi Guys,
I feel like I am missing out..
I have never installed the server wide sqmail although I love everything and all the help YOU GPAN has provided us ensim users. I just can't bring myself to loose the per directory install, regardless of disk space usage.
I add the site with sqmail checked and then I just cd to the directory and rm the whole folder mv my custom tar to the directory and untar it copy the ensim_config file back a little chown and I'm good to go.
Any way one of you guys can tar up the squirrelmail directory from this new 1.4.2 version so I can make my own version for ensim with out the serverwide install.
Tell you the truth I have a pretty hacked verison of 1.4 running with a cool theme and all but I just want to get the new code running without having to do it all from scratch again.
How about a gpan made ensim upgrade for squirrelmail as is default style per directory.
O yea and by the way I'm still using 3.1.11-2 and plan on keeping it that way.
Thanks
whiplashdomain
Oct 18 2003, 08:19 AM
Very good job, gpan.

So far so good. I installed it just a few moments ago and everything went smoothly.
dcoeli
Oct 18 2003, 10:22 AM
Anybody know how to change the logo of individual domains after applying gpan's rpm? I used to be able to change it by running conf.pl, but now it won't work.
Other than this problem, gpan's rpm worked flawlessly, thanks gpan!
richie
Oct 20 2003, 02:24 AM
QUOTE
Originally posted by cerniw
Back in the gpan v1.4.0 version it allowed the URL to be preserved for the domain from which the user was logging in from. In 1.4.1 and 1.4.2 it now rewrites it to the ip address of the server. Is there anyway to go back to the old behavior using 1.4.2?
EG. under v1.4.2
http://w.x.y.z/webmail/src/login.php?site_...main=domain.com
under 1.4.0 or older:
http://www.domain.com/webmail/src/login.php
...
- Paul.
Does anyone have a good solution for this? It may just be 'cosmetic', but so is the GUI on your computer

There's a reason we hide the ugly bits of software.
whiplashdomain
Oct 20 2003, 06:57 AM
QUOTE
Originally posted by richie
Does anyone have a good solution for this? It may just be 'cosmetic', but so is the GUI on your computer
There's a reason we hide the ugly bits of software.
HTML Frames? ^^
*runs and hides*
maestrosdelweb
Oct 20 2003, 11:59 AM
Thanks for this great .rpm.. It works fine.
tierranova
Nov 7 2003, 10:24 PM
hey, i just installed squirrelmail 1.4.2 and got this error:
SquirrelMail version 1.4.2-1.7.ct
By the SquirrelMail Development Team
ERROR
Error connecting to IMAP server: localhost.
115 : Operation now in progress
How do i go about uninstalled squirrelmail, and then installing it over?
Thanks
whiplashdomain
Nov 7 2003, 11:36 PM
# rpm -e squirrelmail
...then follow the instructions again.
This doesn't look like it's a problem with Squirrelmail, though. Have you tried resetting xinetd?
# service xinetd restart
It just looks like imap is having some problems. *shrug* Give that a try before reinstalling Squirrelmail.
tierranova
Nov 8 2003, 07:23 AM
thanks whiplashdomain
i did what you said and rebooted, but now i get error:
Warning: fsockopen(): unable to connect to localhost:143 in /usr/share/squirrelmail/functions/imap_general.php on line 454
Error connecting to IMAP server: localhost.
115 : Operation now in progress
I will also PM you a u/p to check it out.
thanks!
tierranova
Nov 8 2003, 12:28 PM
hello,
i installed the rpm, and got errors so what i did was revert squirrelmail back to: SquirrelMail version 1.2.5 by using command:
rpm -e squirrelmail
so now i go to squirrelmail:
http://products.ws/squirrelmail
and i get error:
Warning: fsockopen(): unable to connect to 216.1xx.xx.xxx:143 in /home/virtual/site5/fst/var/www/squirrelmail/functions/imap_general.php on line 204
There was an error contacting the mail server.
Contact your administrator for help.
What should i do now?
Thanks
whiplashdomain
Nov 8 2003, 03:27 PM
Sorry for the delay.
It looks like the Squirrelmail I see when I hit the link you gave me is still pointing to the old copy, SquirrelMail version 1.2.11. It should have redirected me to your server's IP address, looking something like this:
http://xx.xx.xx.xx/squirrelmail/src/login....=domainname.tld
It looks like you also have some other redirects pointing to the older Ensimized version of Squirrelmail, which could be causing a problem as well. Strange...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.