Tomas Kuliavas wrote:
Paul Lesniewski wrote:
On 5/21/07, Israel Bravo <bravo@xxxxxxxxxxxxxxxxx> wrote:
While trying to read or save attachments in SquirrelMail 1.5.1 they
have
some additional bytes and can't be opened. It was checked with JPEG,
GIF,
DOC files. HTML is opened fine.
SM 1.5.1 is an old unsupported development release. Please try with
1.5.2 and if the problem persists, repost. Thanks.
Thank you, but the problem still persists.
Are you sure that you have tested 1.5.2svn? SquirrelMail 1.5.2cvs fixed
possible corruption with linefeeds on 2006-08-02.
Yes, I'm sure.
It is squirrelmail-20070527_0000-SVN.devel.tar.bz2
The difference of the image
saved in Pine (Pine connects by IMAP, so it can't be dovecot error ! )
and in SquirrelMail is in the first byte:
Here is the file from Pine: ff d8 ff e0 00 10 4a .....
And from SM: 0a ff d8 ff e0 00 10 4a .....
So the first byte is wrong.
create backup of your SquirrelMail installation.
check all functions/*.php files. If some file contains trailing '?>'
symbols, remove those two symbols.
then do same thing for all files in class/ and include/ directories and
subdirectories.
then remove trailing '?>' in src/download.php
Test your setup and make sure that your changes haven't broke it. Then
check if attachments are still corrupted.
The "magic" manipulations didn't give any effect.
Attached is my phpinfo file.
If they are still corrupted, please show your local PHP core settings
(http://www.squirrelmail.org/wiki/TestPHPSettings) and diff with all
changes made in SquirrelMail scripts. Please note that you can't run
unmodified SquirrelMail 1.5.1 in your PHP version.
--
_________________________________________________________
| Israel Bravo Unix system administrator
| The faculty of Industrial Engineering & Management,
| Technion, 32000 Haifa, Israel
| Phone: 972-4-829-4428 http://ie.technion.ac.il/~bravo/
|________________________________________________________
begin:vcard
fn:Israel Bravo
n:Bravo;Israel
org:Technion;IEM faculty
adr:;;;Haifa;;32000;Israel
email;internet:bravo@xxxxxxxxxxxxxxxxx
title:UNIX system administrator
tel;work:04-829-4428
tel;fax:04-829-4564
url:http://ie.technion.ac.il/~bravo/
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users