SquirrelMail 1.4.11 released

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,629
Location
LT, EU
SquirrelMail Version 1.4.11 - 29 September 2007
----------------------------------
- Minimum PHP requirement raised from 4.0.6 to 4.1.0.
SquirrelMail has been broken for a while with 4.0.x without anyone
noticing, this move merely reflects reality.
- Fix broken set_url_var function in functions/html.php (#1729814).
- Fix config.pl not detecting auth support correctly (#1727033).
- Fix display of X-Priority in message view.
- Work around mailers sending broken Date headers with no space after the
first comma.
- Let POP3 class properly cope with lines starting with a '.'.
- Some HTML validation cleanups.
- Invalid year in sent_subfolders plugin (#1607380).
- Always treat Content-Type case-insensitively (#1732092).
- Fix typo: html/plain should be text/html.
- Fix en/decode header swith in MDN (#1694687).
- Fix compatibility with Windows path in administrator plugin (#1740469).
- Fix disabling password encryption in mail_fetch (#1738001).
- Fix busy loop and notice when two literals in IMAP fetch (#1739433).
- Backported code for site wide SMTP authentication (#1531889).
- Fixed issue with compose session not being cleaned after message is
saved or sent.
- Added ability to detect HTTP_X_FORWARDED_PROTO in get_location(),
thanks to Daniel Watts
- Fix test for signout.php in the logged in check in is_logged_in() so it
cannot be circumvented by manipulating the URL. External plugins might
rely on this function guaranteeing that the user is logged in.
- Use attachment_dir only at the point where we're actually
reading from / writing to the files, do not carry it around
in the object. This makes us safer in the event the object
is somehow exposed to the outside world.
- Better support mailboxes named 'None' (#1598890).
- Sort readdir() output in conf.pl (#1755886).
- Fix message cache in printer friendly, thanks Tomas Kuliavas.
- Made the webmail_top hook work again for plugins that want to change
the URI of the "right" frame; plugins have to change the value of the
global variable $right_frame_url
- Fix issue in darkness theme with extra closing bracket.
- No longer store all message composition sessions in the PHP session,
since it was not made use of and in rare cases, made sessions too big.
- Composition restoration functionality now correctly restores attachments.
- Added smtp_auth hook.
- Change default Selection List Style to Indented.
- Added "preselected" query argument to mailbox list.
- Added mailbox_display_buttons hook.
- Removed "Include CCs when Forwarding Messages", which had no functionality
whatsoever.
- Make the Message Details plugin actually show the correct entity when
viewing details of attached messages.
Download page: http://www.squirrelmail.org/download.php
 
Hello,
SPecial thanx for share it.
i have a question! how can we upgrade our SquirrelMail to newest version?
specila thanx
bye
 
Hello,
SPecial thanx for share it.
i have a question! how can we upgrade our SquirrelMail to newest version?
specila thanx
bye

You can use CustomBuild to do that, or you can just do this:
Code:
cd /usr/local/directadmin/scripts
perl -pi -e 's/1.4.10a/1.4.11/' squirrelmail.sh
./squirrelmail.sh
 
Update script working, but our customers report, that they cant send attachments anymore, tested itself too (not working), dont know why.

Message sends ok, but when reveired message was without attachment.

Just but back 1.4.10a and now working messages with attachments

Anyone other same problems or what cause this ?
 
FYI, attachments are workinig fine for me in 1.4.11, although I did have to do ./build squirrelmail via custombuild and then run ./squirrelmail.sh from the scripts directory
 
Attached file

Yep, I have the same problem too, no fix yet :confused:
Apache 1.3.39 mod_ssl 2.8.30 OpenSSL 0.9.8e PHP 4.4.7 mod_perl 1.29 FrontPage 5.0.2.2510


------------- update ------------------ 2007-10-02

I have done the same update on a sever with:
Apache 2.0.61 MySQL 5.0.45
Everything works without problem. PHP 447 error ??
 
Last edited:
I ran the new compatibility, and now it will work with 1 attachment, but if you add a second, only the second one gets attached...

When I went back to 1.4.10a I got an error:

cp: `/var/www/html/squirrelmail/data' and `/var/www/html/squirrelmail-1.4.10a/data' are the same file
/bin/chown: changing ownership of `/var/www/html/squirrelmail-1.4.10a/webmail': Too many levels of symbolic links
 
Bug report

Pls, see:

http://sourceforge.net/tracker/index.php?func=detail&aid=1805471&group_id=311&atid=100311

Waiting for a fix.
-------------------------------------------------------------------------------------------------
Around line 380 in src/compose.php, you should see the following code:

if (!empty($attachments)) {
$attachments = unserialize($attachments);
if (!empty($attachments) && is_array($attachments))
$composeMessage->entities = $attachments;
}

Change that code to the following:

if (!empty($attachments)) {
$attachments = unserialize($attachments);
if (!empty($attachments) && is_array($attachments)) {
$composeMessage->entities = $attachments;
$compose_messages[$session] = $composeMessage;
}
}

This seems to have resolve the issue on my PHP 4.4.x setup, and not
impacted my PHP 5.x.x setup.

This fix not solved the problem if you try to first add attachment and then add address.
It works if you first add address, the writ mail and the add attached file.
---------------------------------------------------------------------------------------------------
 
Last edited:
You can use CustomBuild to do that, or you can just do this:
Code:
cd /usr/local/directadmin/scripts
perl -pi -e 's/1.4.10a/1.4.11/' squirrelmail.sh
./squirrelmail.sh

I followed those steps and the upgrade completed, but now I get this error message when I try to send mail:

Message not sent. Server replied:

Connection refused
111 Can't open SMTP stream.


I can receive mail fine. Any suggestions?
 
Back
Top