[imp] problem forwarding attachments

Tad Hunt tad@entrisphere.com
Thu, 20 Jun 2002 13:25:31 -0700


It looks like IMP rewrites mime attachments in forwarded
messages to base64, but it doesn't correctly update the mime
headers so that mail readers (such as MH) can correctly
extract the information.  In addition, it sets "filename"
and "name" to "unnamed", when it should really just leave those
terms off so that the receiving mailer can autogenerate names.

For a recent message that was just forwarded to me from an
IMP installation I set up, I had to change "message/rfc822"
to "application/octet-stream" to make MH decode the message.
In addition, I had to remove all of the ``name="unnamed"'' and
``filename="unnamed"'' statements, so that it would autogenerate
names for all of the parts of the message (instead of naming all
of the parts ``unnamed'' when it extracted them, thus leaving me with
nothing but the last part it decoded)

I don't know if this is a common question or not.  I only found one
other mention of this problem on the imp mailing list archives, and
it did not have any responses.  This message describes exactly the
same problem I am encountering:

>From: chris@telerama.com
>Subject: [imp] MIME problem with forwarding a message containing attachments ?
>Date: Fri, 29 Mar 2002 21:27:41 +0000 (UTC)
>Message-ID: <a82m8d$2fbo$1@FreeBSD.csie.NCTU.edu.tw>

Sorry if this is a newbie question, but I couldn't find anything in the
FAQ to help me track the problem down.

Is there anything I can do to fix this?