nmh-workers
[Top] [All Lists]

Re: [nmh-workers] Can't forward MIME-encoded message

2019-05-09 16:12:34
When you say, "Forward", what _EXACTLY_ do you mean?

I just 3 different things with the latest nmh, and they all behaved
"as designed".

- When I forwarded a message with forw -mime, it generates a new message
 with an message/rfc822 MIME type; the original message contained
 in the message/rfc822 has the correct Content-Type header

I didn't know forw had a -mime switch.  Since this is something I'd find
very helpful, I just tried it, but it completely failed to work for me.

The message I tried to forward is described as follows:

   # mhlist +wing 3943
    msg part  type/subtype              size description
   3943       multipart/mixed            16M
        1     text/plain                 326
        2     application/pdf          3836K a_night_at_the_ballet_2nd.pdf
        3     application/pdf          1098K light_vibrations_2nd.pdf
        4     application/pdf          2092K sinatra_in_concert_2nd.pdf
        5     application/pdf          3629K a_night_at_the_ballet_3rd.pdf
        6     application/pdf          1100K light_vibrations_3rd.pdf
        7     application/pdf           389K sinatra_in_concert_3rd.pdf

My test was invoked as follows:

   # forw -mime +wing 3943

The resulting message is

   8<-----------------------------   cut here   ---------------------------->8
   From smw@smwonline.ca  Thu May  9 13:06:39 2019
   Return-Path: <smw@smwonline.ca>
   Received: from mort (localhost.localdomain [127.0.0.1])
           by 206-248-137-116.dsl.teksavvy.com (8.15.2/8.15.2/Debian-10) with 
ESMTP id x49H6dIA003943
           for <smw>; Thu, 9 May 2019 13:06:39 -0400
   To: smw
   Subject: testing /local/paths/forw -mime
   From: Steven Winikoff <smw@smwonline.ca>
   Reply-to: Steven Winikoff <smw@smwonline.ca>
   MIME-Version: 1.0
   Content-Type: text/plain; charset="us-ascii"
   Content-ID: <3941.1557421599.1@mort>
   Date: Thu, 09 May 2019 13:06:39 -0400
   Message-ID: <3942.1557421599@mort>
   
   #forw [forwarded message] +/home/smw/Mail/wing 3943
   8<-----------------------------   cut here   ---------------------------->8

I wondered if this might be caused by a profile entry.

   # grep forw ~/.mh_profile
   forw:           -filter .forwardfilter -form .forwardform
   
...but when I tried deleting this entry, the same thing happened:

   8<-----------------------------   cut here   ---------------------------->8
   From smw@206-248-137-116.dsl.teksavvy.com  Thu May  9 13:08:15 2019
   Return-Path: <smw@206-248-137-116.dsl.teksavvy.com>
   Received: from mort (localhost.localdomain [127.0.0.1])
           by 206-248-137-116.dsl.teksavvy.com (8.15.2/8.15.2/Debian-10) with 
ESMTP id x49H8F46004123
           for <smw>; Thu, 9 May 2019 13:08:15 -0400
   From: Steven Winikoff <smw@206-248-137-116.dsl.teksavvy.com>
   To: smw
   Subject: Re: FW: A Night at the Ballet - 2 (fwd)
   MIME-Version: 1.0
   Content-Type: text/plain; charset="us-ascii"
   Content-ID: <4121.1557421695.1@mort>
   Date: Thu, 09 May 2019 13:08:15 -0400
   Message-ID: <4122.1557421695@mort>
   
   #forw [forwarded message] +/home/smw/Mail/wing 3943
   8<-----------------------------   cut here   ---------------------------->8

Here the only difference is the Subject: header; in my first test the
default was empty, and in the second test I left the default value
unchanged.

Please let me know if there's any additional information I can supply
about this.

     - Steven
-- 
___________________________________________________________________________
Steven Winikoff                | "I knew 'Enterprise Computing Systems' were
Montreal, QC, Canada           |  evil before I touched an actual computer
smw@smwonline.ca               |  for the first time, because I used to
http://smwonline.ca            |  watch Kirk and Spock fighting for control
                               |  of it."                  - Anthony de Boer

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>