[imp] IMP is breaking certain attachments.

lst_hoe02 at kwsoft.de lst_hoe02 at kwsoft.de
Thu Nov 18 08:51:39 UTC 2010


Zitat von Adam Tauno Williams <awilliam at opengroupware.us>:

> On Wed, 2010-11-17 at 14:22 -0700, Michael M Slusarz wrote:
>> Quoting Adam Tauno Williams <awilliam at opengroupware.us>:
>> > Horde 3.3.4 / IMAP H3 4.3.4 / PHP 5.2.12
>> > PEAR: Mail_Mime 1.8.0 Fileinfo 1.0.4
>> > I'm having an issue where certain files attached to messages in IMP get
>> > corrupted. Almost all files work. But for some files, I believe, IMP is
>> > not base64 encoding them.  On the corrupted files the message source
>> > looks like :
>> > --=_52mp429tmh8o
>> > Content-Type: text/base64;
>> >  charset=UTF-8;
>> >  name="Nov17-120851.pdf"
>> > Content-Disposition: attachment;
>> >  filename="Nov17-120851.pdf"
>> > Content-Transfer-Encoding: quoted-printable
>> > If I send the same file from the same place using Evolution the message
>> > source looks like the following and the attachment is valid -
>> > It isn't just PDF-files-do-not-attach, some PDF files do.  I've tried
>> > these files on Windows, LINUX, attaching from different folders, etc...
>> > The broken attachments do appear as different sizes than files that are
>> > correctly attached.
>>
>> Your browser is reporting the wrong MIME type.  IMP does not base64
>> encode text attachments.
>
> Huh; the same browser error on IE7/XP, FF/XP, and FF/GNOME??

I had a similar problem some time ago but it was related to always the  
same type of attachment (7z files). Setting the mime_magic.magicfile  
as described in
http://wiki.horde.org/MimeMagic solved it, eg. unrecognized file types  
where sent binary/unmodified further on.

Regards

Andreas



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6046 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/imp/attachments/20101118/8f03f12c/attachment.bin>


More information about the imp mailing list