[imp] IMP is breaking certain attachments.

Adam Tauno Williams awilliam at opengroupware.us
Thu Nov 18 14:26:35 UTC 2010


On Thu, 2010-11-18 at 09:51 +0100, lst_hoe02 at kwsoft.de wrote: 
> 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.

Thanks, I'll take a look.  But now it seems to be working... Argh!
-- 
Adam Tauno Williams <awilliam at opengroupware.us>



More information about the imp mailing list