[sqwebmail] Re: extension's attachment changes
Davide Salerno writes: Hello all folks. I have a strange trouble, i use a mail server qmail-vpopmail-sqwemail on a RH 8 box. Randomly when someone try to receive attachments via sqwebmail the extension's attachment changes into a .dat file, and it cannot be used anymore. Does someone have some hints about this strange habit? Is this a sqwemail bug or may I have to find it into other components eg vpopmail, qmail...? The message's MIME headers did not specify the attachment's name, so the default of 'message.dat' becomes supplied. All browsers I know off have the capability of automatically renaming a download. If necessary, manually specify whatever extension the attachment should have. pgp0.pgp Description: PGP signature
[sqwebmail] Re: extension's attachment changes
Davide Salerno writes: Thank you very much Jab Your explanation for my issue was very good. But another strange thing is that sometimes certain attachments, such as .doc, are changed in .dat by sqwebmail indeed if I use Outlook Express as mail client to download and open them it works! How is it possible? I would suggest you read the RFCs on MIME and understand the difference between Content-Type (what it is and what can be used to open it) and Content-Disposition (filename to save it as). Then tell whoever is sending you these things to fix his broken mail client or stop renaming Word files to .dat before attaching them. -- Paul Allen Softflare Support