Marc Groot Koerkamp wrote:

Chris Mason said:


I am sending a PDf file as an attachment from Outlook 2003 to a user who
reads using Squirrelmail on a redhat 9 server, through IE6 on windows. The
user saves the PDF and opens it and always get a "File corrupt" message.
If
I transfer the same file to their computer using another method, there is
no
problem opening it.

What's wrong here?





No idea. What is your SquirrelMail version and do you have set error reporting to E_ALL and do you output those errors to screen (php.ini related)?

Last question, which plugins did you install?

Marc Groot Koerkamp.





I believe this is an Internet Explorer bug with HTTP 1.1. To fix this on my servers after upgrading to Apache 2.0 I had to add the following to the http.conf file:


SetEnvIf User-Agent ".*MSIE.*" \
        nokeepalive  \
        downgrade-1.0 force-response-1.0

The reason I knew this would work is the fact that it would always work for SSL connections (where this setting is the default). The weird thing is that I didn't have any problems opening attachments with squirrelmail, but other webmail applications had the same problem you described above, and the setting above fixed those applications.

I also tried to play with the Cache-Control and other headers for several hours but I had no luck there.

Kevin






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to