On 13/11/2001 at 14.03 Charlie Watts wrote:
>On Tue, 13 Nov 2001, lorenzo wrote:
>> I also noticed that:
><snip download mime problems>
>> I haven't tried it without the apache .zip module, I'll see what can be
>> done.
>> let me know if you experienced similar problems
>I use mod_gzip, and do not have these problems.
>IE6 seems to do OK with downloads, and Mozilla is OK as well.
>There is occasional confusion about filenames, but the files download
>correctly.

I understand. I re-checked everything, and those are the issues:

[mail and attachment downloading via outlook express/calypso works fine
(courier-imap is OK), and sqwebmail is the latest version]

Downloading attachment encoded as "binhex" gives this result (this is the
header of the file):

(This file must be converted with BinHex 4.0)
:'%&$4%-J,5"8D(9ZC'9bFh4bG@0V,Qe`-`"#58j"E@4[F`!!!%GJ!!!!!!#)D[r
lN!"%!!!!!!",!!!!!!!!#@!!!!!!!!%X!!!!!!!!*B!!!!$rrrrrrrrrrrrrrrr
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

and so on. As you may see, it is still encoded (sqwebmail did not decode
it).

Downloading files encoded as "uuencode" gives this result:

begin 755 ACDC - Thunderstruck.mp3
M__N01```````2P````````E@```````!+````````"6`````____________
M____________________________________________________________
M____________________________________________________________

and so on. This is clearly uuencoding, and still sqwebmail did not decode
it.

On the other hand, downloading files encoded with "base64" gives me a
correct result (the file sounds good, too :) ).

After searching a little while into sqwebmail source code, it seems to me
that (but I have not enough skills to be sure about that, nor to modify it)
the core of the problem is the int rfc2045_cdecode(struct rfc2045 *p, const
char *s, size_t l) into the rfc2045cdecode.c file. Am I wrong or it just
decodes 'base64' encoded files? I couldn't find enough documentation or
comments in it to be sure about that, sorry.

Last note: this won't be an issue for most people using Outlook Express,
since file attachments sent with it are encoded in a manner that is
understood and correctly decoded by sqwebmail, although if I click
'download' the file is streamed through a plugin. But I guess this is my
problem.


Hope not to have been too boring or too confusing in that

cheers

---

lorenzo
[EMAIL PROTECTED]

Reply via email to