[imp] x-uuencoded attachment gets corrupted

Arminas g.arminas at gmail.com
Wed May 23 11:35:13 UTC 2012


Hi,

thanks for attention. It is a little bit weard - I can read the same
message and download an attachment from it in our roundcube based webmail.
Only IMP can't do that ;/ However, I'll upgrade Horde_Mime and put feedback
here.


Thanks again!
Arminas


On 22 May 2012 21:57, Michael M Slusarz <slusarz at horde.org> wrote:

> Quoting Jan Schneider <jan at horde.org>:
>
>  Zitat von Arminas <g.arminas at gmail.com>:
>>
>>  Hello Everyone,
>>>
>>> some of our users are sending x-uuencoded emails. If email contains an
>>> attachment, the file downloaded via IMP gets corrupted. I've tried to set
>>> $mime_drivers['plain']['**uuencode'] = true, but that didn't help -
>>> attachments still gets corrupted (Probably because this is the plain text
>>> viewer's option). I've tried to send email with PDF attachment -
>>> everything
>>> went fine, but docx and doc files can't be opened.
>>>
>>> I've attached demo message, containing a simple doc file as an
>>> attachment,
>>> which IMP can't download "correctly".
>>>
>>>
>>> This happens both on IMP 5.0.18 and an old one IMP 4.3.6
>>>
>>
>> Did you check your log files? I get an error from the IMAP server trying
>> to read that message part.
>>
>
> Turns out that PHP's convert_uudecode() implementation is broken.  Fixed
> in Horde_Mime 1.6.1.
>
> FYI: It is possible that an IMAP server could refuse to serve that message
> since it contains an invalid MIME type (x-uuencode) - these servers appear
> to not be willing to send unknown content-encoding data in a bodystructure
> return.  Some servers are more lenient than others in what they serve,
> however, so it does work on some.  Dovecot 2.1 will display the message,
> for example.
>
> michael
>
> ______________________________**_____
> Michael Slusarz [slusarz at horde.org]
>
>
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.**org<imp-unsubscribe at lists.horde.org>
>


More information about the imp mailing list