nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] forw

2016-10-09 10:16:52
Ken Hornstein <kenh(_at_)pobox(_dot_)com> writes:
This message is not a complaint, a request, or even a suggestion. It just
represents my wanting to understand the design of forw better. It seems to
me that there ought to be an option, indeed the default, for the new message
to contain all the attachments in the forward messages. When I forw
messages, is it not my intent that the receiver of the new message should
receive all the information in the forwarded messages? How am I wrong?

Are you saying it doesn't?  Because when I use forw it sure includes the
complete message, including attachments.

(It may be that you want to use forw -mime).

--Ken

In September there were four Emails (forwarded below), from you and David
Levine, that seem to say that what I want to do is not built into nmh. The
-mime argument to repl, together with "mime" at the whatnow prompt, does
something apparently quite different.

Remember, I am not complaining; just trying to understand.

    Norman Shapiro

------- Forwarded Messages

Return-Path: <norm(_at_)dad(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 21B2D240756
        for <norm@localhost>; Wed, 14 Sep 2016 08:30:11 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,SPF_HELO_PASS
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 08:30:11 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8EFS4Av026660
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 08:28:09 -0700 (PDT)
        (envelope-from norm(_at_)dad(_dot_)org)
Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EFCPOd105479
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 08:12:25 -0700
Received: from nad.dad.org (m206-54.dsl.tsoft.com [198.144.206.54])
        by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id u8EFS3mp010249;
        Wed, 14 Sep 2016 08:28:04 -0700 (PDT)
        (envelope-from norm(_at_)dad(_dot_)org)
Message-Id: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
X-Authentication-Warning: shell1.rawbw.com: Host m206-54.dsl.tsoft.com 
[198.144.206.54] claimed to be nad.dad.org
To: nmh-workers(_at_)nongnu(_dot_)org
cc: norm(_at_)dad(_dot_)org
Reply-To: Norman Shapiro <norm(_at_)dad(_dot_)org>
From: norm(_at_)dad(_dot_)org
Subject: Forwarding the attachments to a message or messages
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6827(_dot_)1473866882(_dot_)1(_at_)nad(_dot_)dad(_dot_)org>
Date: Wed, 14 Sep 2016 08:28:02 -0700

Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If not, does anybody have such a script that I could please have?

    Norman Shapiro

------- Message 2

Return-Path: <nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id C441E240756
        for <norm@localhost>; Wed, 14 Sep 2016 08:47:21 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_HELO_PASS,SPF_SOFTFAIL
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 08:47:21 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8EFkF4C035583
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 08:46:20 -0700 (PDT)
        (envelope-from 
nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org)
Received: from lists.gnu.org (lists.gnu.org [208.118.235.17])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EFUa97105671
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 08:30:37 -0700
Received: from localhost ([::1]:56929 helo=lists.gnu.org)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>)
        id 1bkCO6-000050-GH
        for norm(_at_)dad(_dot_)org; Wed, 14 Sep 2016 11:46:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56625)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from <kenh(_at_)pobox(_dot_)com>) id 1bkCNz-00004u-Oc
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 11:46:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <kenh(_at_)pobox(_dot_)com>) id 1bkCNw-0006II-8L
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 11:46:07 -0400
Received: from pb-smtp2.pobox.com ([64.147.108.71]:59941
        helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71)
        (envelope-from <kenh(_at_)pobox(_dot_)com>) id 1bkCNw-0006IE-4i
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 11:46:04 -0400
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
        by pb-smtp2.pobox.com (Postfix) with ESMTP id C35CA3C800
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 11:46:03 
-0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to
        :subject:in-reply-to:references:mime-version:content-type:date
        :message-id; s=sasl; bh=vjPF036JuHE79CVmwvVSYpTcflQ=; b=rkEq1KoH
        /9Ia06qRcH9tF3jtb2ehwnKl01d2a0MTwWr+3Uqse/66xd/qto5Ro0u8nRs4MAYc
        Hsa0JTMalA8DtAMzqFTIchkEXPWCrnrEgtMP0qYwemrxwUjA0ODWhQ6GtRtQealf
        /+/+bQPQt13RwtupHtKTAYIgevzfdMcNE3U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject
        :in-reply-to:references:mime-version:content-type:date
        :message-id; q=dns; s=sasl; b=JdiqDhsvnQSGeRQLN3lXUHAHYMF63ipAO1
        iXDbdvTWV6wFkMVKo1CK/ExHqfJuDv3lRIJpnfJoDtKl6kDU2RMdN8mpS1srL5yU
        e7Waffx+EuKctkIskQVaO0QIFZLYMT+HNKi5Amhlzg7FyiFN1dDKjaTPpj/wOXpt
        Bmn4MB3D4=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1])
        by pb-smtp2.pobox.com (Postfix) with ESMTP id BC30D3C7FF
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 11:46:03 
-0400 (EDT)
Received: from zoolander.cmf.nrl.navy.mil (unknown [134.207.12.40])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (No client certificate requested)
        by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 519773C7FD
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 11:46:03 
-0400 (EDT)
From: Ken Hornstein <kenh(_at_)pobox(_dot_)com>
To: nmh-workers(_at_)nongnu(_dot_)org
In-Reply-To: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
References: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
X-Face: "Evs"_GpJ]],xS)b$T2#V&{KfP_i2`TlPrY$Iv9+TQ!6+`~+l)#7I)0xr1>4hfd{#0B4
        WIn3jU;bql;{2Uq%zw5bF4?%F&&j8@KaT?#vBGk}u07<+6/`.F-3_GA@6Bq5gN9\+s;_d
        gD\SW #]iN_U0 KUmOR.P<|um5yP<ea#^"SJK; C*}fMI;
        Mv(aiO2z~9n.w?@\>kEpSD@*e`
MIME-Version: 1.0
Date: Wed, 14 Sep 2016 11:46:02 -0400
X-Pobox-Relay-ID: 
578982FC-7A92-11E6-8DAE-51057B1B28F4-90216062!pb-smtp2.pobox.com
Message-Id: 
<20160914154603(_dot_)BC30D3C7FF(_at_)pb-smtp2(_dot_)pobox(_dot_)com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
        [fuzzy]
X-Received-From: 64.147.108.71
Subject: Re: [Nmh-workers] Forwarding the attachments to a message or
 messages
X-BeenThere: nmh-workers(_at_)nongnu(_dot_)org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <nmh-workers.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:nmh-workers(_at_)nongnu(_dot_)org>
List-Help: <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org
Sender: "Nmh-workers" 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>

Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If you want to forward a message, including all of the MIME attachments,
you can use forw -mime (although run mhbuild on that message) or dist
(which some people find confusing).

If you want to create a new message which just happens to contain all of
the attachments from another message, I think you're going to have to
write that.

- --Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 3

Return-Path: <nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <norm@localhost>; Wed, 14 Sep 2016 14:19:57 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 14:19:57 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8ELGMRA086606
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from 
nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org)
Received: from lists.gnu.org (lists.gnu.org [208.118.235.17])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EL0g9d108614
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 14:00:43 -0700
Received: from localhost ([::1]:58805 helo=lists.gnu.org)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>)
        id 1bkHXY-000123-Hj
        for norm(_at_)dad(_dot_)org; Wed, 14 Sep 2016 17:16:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47873)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXT-00011s-78
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006dD-48
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:14 -0400
Received: from mail-qt0-f180.google.com ([209.85.216.180]:34774)
        by eggs.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006aL-0B
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 14:15:47 
-0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:mime-version:content-transfer-encoding:from
        :subject:in-reply-to:references:date:message-id;
        bh=dLL9I/OJtHK9Bop9IsCvraL6x4FGlLdjNr8Ic6L/hGc=;
        b=Ly0fU7WkR3ebgYhuiCM857uIW7UyqUzUhyUHCS5PHMkFwvduzMqI9C/ZzBFYYgOEDK
        FZKfMQEmldVN5XQOdWf+PHKeYCirkprfVZht3myKgMUwDMoGKWh7bDJUySeaFTSMeKHq
        6nNCD6iW3WDRcizORvIPWmRlF1HtMQdUKpm1xE2Fgkxk+l0FGSpsmT56vWjqXaZo0fr5
        keuLB90ZsB5pmsz0Op6Qes3FqgeGvOXxdN63dZqDRa63fPPnzmt2AVDcIYfKEZZksFuN
        Akwdf34T4OH5oMs224ic+tsmmEcmgLiJnoXbfRe/XCxcviQTkXR4yw9VxOFgeBR/+fYL
        jtIQ==
X-Gm-Message-State: 
AE9vXwMzutiMeOgKm41j8BRm+p3tmJMXxiAVk/CjDxR0bqfVZFq/GkbvIV6gr9d9OjviCol5
X-Received: by 10.200.47.89 with SMTP id k25mr5845594qta.75.1473887747067;
        Wed, 14 Sep 2016 14:15:47 -0700 (PDT)
Received: from stl.localdomain (209-255-241-2.ip.mcleodusa.net.
        [209.255.241.2])
        by smtp.gmail.com with ESMTPSA id s40sm109569qtc.3.2016.09.14.14.15.45
        for <nmh-workers(_at_)nongnu(_dot_)org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: nmh-workers(_at_)nongnu(_dot_)org
MIME-Version: 1.0
From: David Levine <levinedl(_at_)acm(_dot_)org>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
        <20160914154603(_dot_)BC30D3C7FF(_at_)pb-smtp2(_dot_)pobox(_dot_)com>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <2821-1473887745(_dot_)286303(_at_)yXEP(_dot_)JRRQ.TTd8>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
        [fuzzy]
X-Received-From: 209.85.216.180
Subject: Re: [Nmh-workers] Forwarding the attachments to a message or
 messages
X-BeenThere: nmh-workers(_at_)nongnu(_dot_)org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <nmh-workers.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:nmh-workers(_at_)nongnu(_dot_)org>
List-Help: <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org
Sender: "Nmh-workers" 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
Resent-From: norm <norm(_at_)nad(_dot_)dad(_dot_)org>
Resent-To: norm(_at_)dad(_dot_)org
Resent-Date: Sat, 24 Sep 2016 11:25:51 -0700

Ken wrote:

[Norm:]
Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If you want to create a new message which just happens to contain all of
the attachments from another message, I think you're going to have to
write that.

Yeah, though it should be really simple (as in not worth writing?).  Just
create a tmp directory, cd to it, mhstore (probably with -type application)
the attachments, and then add them with "at *" at the whatnow prompt.

A custom whatnowproc could do the attach, though again maybe not worth
the effort.

I think that Norm might have been asking about attachments from multiple
messages, in which case dist wouldn't work.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 4

Return-Path: <nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <norm@localhost>; Wed, 14 Sep 2016 14:19:57 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 14:19:57 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8ELGMRA086606
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from 
nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org)
Received: from lists.gnu.org (lists.gnu.org [208.118.235.17])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EL0g9d108614
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 14:00:43 -0700
Received: from localhost ([::1]:58805 helo=lists.gnu.org)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>)
        id 1bkHXY-000123-Hj
        for norm(_at_)dad(_dot_)org; Wed, 14 Sep 2016 17:16:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47873)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXT-00011s-78
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006dD-48
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:14 -0400
Received: from mail-qt0-f180.google.com ([209.85.216.180]:34774)
        by eggs.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006aL-0B
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 14:15:47 
-0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:mime-version:content-transfer-encoding:from
        :subject:in-reply-to:references:date:message-id;
        bh=dLL9I/OJtHK9Bop9IsCvraL6x4FGlLdjNr8Ic6L/hGc=;
        b=Ly0fU7WkR3ebgYhuiCM857uIW7UyqUzUhyUHCS5PHMkFwvduzMqI9C/ZzBFYYgOEDK
        FZKfMQEmldVN5XQOdWf+PHKeYCirkprfVZht3myKgMUwDMoGKWh7bDJUySeaFTSMeKHq
        6nNCD6iW3WDRcizORvIPWmRlF1HtMQdUKpm1xE2Fgkxk+l0FGSpsmT56vWjqXaZo0fr5
        keuLB90ZsB5pmsz0Op6Qes3FqgeGvOXxdN63dZqDRa63fPPnzmt2AVDcIYfKEZZksFuN
        Akwdf34T4OH5oMs224ic+tsmmEcmgLiJnoXbfRe/XCxcviQTkXR4yw9VxOFgeBR/+fYL
        jtIQ==
X-Gm-Message-State: 
AE9vXwMzutiMeOgKm41j8BRm+p3tmJMXxiAVk/CjDxR0bqfVZFq/GkbvIV6gr9d9OjviCol5
X-Received: by 10.200.47.89 with SMTP id k25mr5845594qta.75.1473887747067;
        Wed, 14 Sep 2016 14:15:47 -0700 (PDT)
Received: from stl.localdomain (209-255-241-2.ip.mcleodusa.net.
        [209.255.241.2])
        by smtp.gmail.com with ESMTPSA id s40sm109569qtc.3.2016.09.14.14.15.45
        for <nmh-workers(_at_)nongnu(_dot_)org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: nmh-workers(_at_)nongnu(_dot_)org
MIME-Version: 1.0
From: David Levine <levinedl(_at_)acm(_dot_)org>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
        <20160914154603(_dot_)BC30D3C7FF(_at_)pb-smtp2(_dot_)pobox(_dot_)com>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <2821-1473887745(_dot_)286303(_at_)yXEP(_dot_)JRRQ.TTd8>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
        [fuzzy]
X-Received-From: 209.85.216.180
Subject: Re: [Nmh-workers] Forwarding the attachments to a message or
 messages
X-BeenThere: nmh-workers(_at_)nongnu(_dot_)org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <nmh-workers.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:nmh-workers(_at_)nongnu(_dot_)org>
List-Help: <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org
Sender: "Nmh-workers" 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>

Ken wrote:

[Norm:]
Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If you want to create a new message which just happens to contain all of
the attachments from another message, I think you're going to have to
write that.

Yeah, though it should be really simple (as in not worth writing?).  Just
create a tmp directory, cd to it, mhstore (probably with -type application)
the attachments, and then add them with "at *" at the whatnow prompt.

A custom whatnowproc could do the attach, though again maybe not worth
the effort.

I think that Norm might have been asking about attachments from multiple
messages, in which case dist wouldn't work.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- End of Forwarded Messages

------- Forwarded Messages

Return-Path: <norm(_at_)dad(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 21B2D240756
        for <norm@localhost>; Wed, 14 Sep 2016 08:30:11 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,SPF_HELO_PASS
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 08:30:11 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8EFS4Av026660
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 08:28:09 -0700 (PDT)
        (envelope-from norm(_at_)dad(_dot_)org)
Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EFCPOd105479
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 08:12:25 -0700
Received: from nad.dad.org (m206-54.dsl.tsoft.com [198.144.206.54])
        by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id u8EFS3mp010249;
        Wed, 14 Sep 2016 08:28:04 -0700 (PDT)
        (envelope-from norm(_at_)dad(_dot_)org)
Message-Id: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
X-Authentication-Warning: shell1.rawbw.com: Host m206-54.dsl.tsoft.com 
[198.144.206.54] claimed to be nad.dad.org
To: nmh-workers(_at_)nongnu(_dot_)org
cc: norm(_at_)dad(_dot_)org
Reply-To: Norman Shapiro <norm(_at_)dad(_dot_)org>
From: norm(_at_)dad(_dot_)org
Subject: Forwarding the attachments to a message or messages
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6827(_dot_)1473866882(_dot_)1(_at_)nad(_dot_)dad(_dot_)org>
Date: Wed, 14 Sep 2016 08:28:02 -0700

Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If not, does anybody have such a script that I could please have?

    Norman Shapiro

------- Message 2

Return-Path: <nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id C441E240756
        for <norm@localhost>; Wed, 14 Sep 2016 08:47:21 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_HELO_PASS,SPF_SOFTFAIL
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 08:47:21 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8EFkF4C035583
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 08:46:20 -0700 (PDT)
        (envelope-from 
nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org)
Received: from lists.gnu.org (lists.gnu.org [208.118.235.17])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EFUa97105671
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 08:30:37 -0700
Received: from localhost ([::1]:56929 helo=lists.gnu.org)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>)
        id 1bkCO6-000050-GH
        for norm(_at_)dad(_dot_)org; Wed, 14 Sep 2016 11:46:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56625)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from <kenh(_at_)pobox(_dot_)com>) id 1bkCNz-00004u-Oc
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 11:46:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <kenh(_at_)pobox(_dot_)com>) id 1bkCNw-0006II-8L
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 11:46:07 -0400
Received: from pb-smtp2.pobox.com ([64.147.108.71]:59941
        helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71)
        (envelope-from <kenh(_at_)pobox(_dot_)com>) id 1bkCNw-0006IE-4i
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 11:46:04 -0400
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1])
        by pb-smtp2.pobox.com (Postfix) with ESMTP id C35CA3C800
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 11:46:03 
-0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to
        :subject:in-reply-to:references:mime-version:content-type:date
        :message-id; s=sasl; bh=vjPF036JuHE79CVmwvVSYpTcflQ=; b=rkEq1KoH
        /9Ia06qRcH9tF3jtb2ehwnKl01d2a0MTwWr+3Uqse/66xd/qto5Ro0u8nRs4MAYc
        Hsa0JTMalA8DtAMzqFTIchkEXPWCrnrEgtMP0qYwemrxwUjA0ODWhQ6GtRtQealf
        /+/+bQPQt13RwtupHtKTAYIgevzfdMcNE3U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject
        :in-reply-to:references:mime-version:content-type:date
        :message-id; q=dns; s=sasl; b=JdiqDhsvnQSGeRQLN3lXUHAHYMF63ipAO1
        iXDbdvTWV6wFkMVKo1CK/ExHqfJuDv3lRIJpnfJoDtKl6kDU2RMdN8mpS1srL5yU
        e7Waffx+EuKctkIskQVaO0QIFZLYMT+HNKi5Amhlzg7FyiFN1dDKjaTPpj/wOXpt
        Bmn4MB3D4=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1])
        by pb-smtp2.pobox.com (Postfix) with ESMTP id BC30D3C7FF
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 11:46:03 
-0400 (EDT)
Received: from zoolander.cmf.nrl.navy.mil (unknown [134.207.12.40])
        (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
        (No client certificate requested)
        by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 519773C7FD
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 11:46:03 
-0400 (EDT)
From: Ken Hornstein <kenh(_at_)pobox(_dot_)com>
To: nmh-workers(_at_)nongnu(_dot_)org
In-Reply-To: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
References: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
X-Face: "Evs"_GpJ]],xS)b$T2#V&{KfP_i2`TlPrY$Iv9+TQ!6+`~+l)#7I)0xr1>4hfd{#0B4
        WIn3jU;bql;{2Uq%zw5bF4?%F&&j8@KaT?#vBGk}u07<+6/`.F-3_GA@6Bq5gN9\+s;_d
        gD\SW #]iN_U0 KUmOR.P<|um5yP<ea#^"SJK; C*}fMI;
        Mv(aiO2z~9n.w?@\>kEpSD@*e`
MIME-Version: 1.0
Date: Wed, 14 Sep 2016 11:46:02 -0400
X-Pobox-Relay-ID: 
578982FC-7A92-11E6-8DAE-51057B1B28F4-90216062!pb-smtp2.pobox.com
Message-Id: 
<20160914154603(_dot_)BC30D3C7FF(_at_)pb-smtp2(_dot_)pobox(_dot_)com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
        [fuzzy]
X-Received-From: 64.147.108.71
Subject: Re: [Nmh-workers] Forwarding the attachments to a message or
 messages
X-BeenThere: nmh-workers(_at_)nongnu(_dot_)org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <nmh-workers.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:nmh-workers(_at_)nongnu(_dot_)org>
List-Help: <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org
Sender: "Nmh-workers" 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>

Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If you want to forward a message, including all of the MIME attachments,
you can use forw -mime (although run mhbuild on that message) or dist
(which some people find confusing).

If you want to create a new message which just happens to contain all of
the attachments from another message, I think you're going to have to
write that.

- --Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 3

Return-Path: <nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <norm@localhost>; Wed, 14 Sep 2016 14:19:57 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 14:19:57 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8ELGMRA086606
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from 
nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org)
Received: from lists.gnu.org (lists.gnu.org [208.118.235.17])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EL0g9d108614
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 14:00:43 -0700
Received: from localhost ([::1]:58805 helo=lists.gnu.org)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>)
        id 1bkHXY-000123-Hj
        for norm(_at_)dad(_dot_)org; Wed, 14 Sep 2016 17:16:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47873)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXT-00011s-78
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006dD-48
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:14 -0400
Received: from mail-qt0-f180.google.com ([209.85.216.180]:34774)
        by eggs.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006aL-0B
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 14:15:47 
-0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:mime-version:content-transfer-encoding:from
        :subject:in-reply-to:references:date:message-id;
        bh=dLL9I/OJtHK9Bop9IsCvraL6x4FGlLdjNr8Ic6L/hGc=;
        b=Ly0fU7WkR3ebgYhuiCM857uIW7UyqUzUhyUHCS5PHMkFwvduzMqI9C/ZzBFYYgOEDK
        FZKfMQEmldVN5XQOdWf+PHKeYCirkprfVZht3myKgMUwDMoGKWh7bDJUySeaFTSMeKHq
        6nNCD6iW3WDRcizORvIPWmRlF1HtMQdUKpm1xE2Fgkxk+l0FGSpsmT56vWjqXaZo0fr5
        keuLB90ZsB5pmsz0Op6Qes3FqgeGvOXxdN63dZqDRa63fPPnzmt2AVDcIYfKEZZksFuN
        Akwdf34T4OH5oMs224ic+tsmmEcmgLiJnoXbfRe/XCxcviQTkXR4yw9VxOFgeBR/+fYL
        jtIQ==
X-Gm-Message-State: 
AE9vXwMzutiMeOgKm41j8BRm+p3tmJMXxiAVk/CjDxR0bqfVZFq/GkbvIV6gr9d9OjviCol5
X-Received: by 10.200.47.89 with SMTP id k25mr5845594qta.75.1473887747067;
        Wed, 14 Sep 2016 14:15:47 -0700 (PDT)
Received: from stl.localdomain (209-255-241-2.ip.mcleodusa.net.
        [209.255.241.2])
        by smtp.gmail.com with ESMTPSA id s40sm109569qtc.3.2016.09.14.14.15.45
        for <nmh-workers(_at_)nongnu(_dot_)org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: nmh-workers(_at_)nongnu(_dot_)org
MIME-Version: 1.0
From: David Levine <levinedl(_at_)acm(_dot_)org>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
        <20160914154603(_dot_)BC30D3C7FF(_at_)pb-smtp2(_dot_)pobox(_dot_)com>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <2821-1473887745(_dot_)286303(_at_)yXEP(_dot_)JRRQ.TTd8>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
        [fuzzy]
X-Received-From: 209.85.216.180
Subject: Re: [Nmh-workers] Forwarding the attachments to a message or
 messages
X-BeenThere: nmh-workers(_at_)nongnu(_dot_)org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <nmh-workers.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:nmh-workers(_at_)nongnu(_dot_)org>
List-Help: <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org
Sender: "Nmh-workers" 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
Resent-From: norm <norm(_at_)nad(_dot_)dad(_dot_)org>
Resent-To: norm(_at_)dad(_dot_)org
Resent-Date: Sat, 24 Sep 2016 11:25:51 -0700

Ken wrote:

[Norm:]
Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If you want to create a new message which just happens to contain all of
the attachments from another message, I think you're going to have to
write that.

Yeah, though it should be really simple (as in not worth writing?).  Just
create a tmp directory, cd to it, mhstore (probably with -type application)
the attachments, and then add them with "at *" at the whatnow prompt.

A custom whatnowproc could do the attach, though again maybe not worth
the effort.

I think that Norm might have been asking about attachments from multiple
messages, in which case dist wouldn't work.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 4

Return-Path: <nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>
X-Original-To: norm@localhost
Delivered-To: norm(_at_)localhost(_dot_)dad(_dot_)org
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <norm@localhost>; Wed, 14 Sep 2016 14:19:57 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.rawbw.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL
        autolearn=disabled version=3.3.1
Received: from imap.rawbw.com [198.144.192.43]
        by nad.dad.org with IMAP (fetchmail-6.3.17)
        for <norm@localhost> (single-drop); Wed, 14 Sep 2016 14:19:57 -0700 
(PDT)
Received: from ns2.adzone.com (ns2.adzone.com [96.247.50.174])
        by mail1.rawbw.com (8.14.2/8.14.2) with ESMTP id u8ELGMRA086606
        for <soft(_at_)rawbw(_dot_)com>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from 
nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org)
Received: from lists.gnu.org (lists.gnu.org [208.118.235.17])
        by ns2.adzone.com (8.14.4/8.14.5) with ESMTP id u8EL0g9d108614
        for <norm(_at_)dad(_dot_)org>; Wed, 14 Sep 2016 14:00:43 -0700
Received: from localhost ([::1]:58805 helo=lists.gnu.org)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>)
        id 1bkHXY-000123-Hj
        for norm(_at_)dad(_dot_)org; Wed, 14 Sep 2016 17:16:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47873)
        by lists.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXT-00011s-78
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006dD-48
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:14 -0400
Received: from mail-qt0-f180.google.com ([209.85.216.180]:34774)
        by eggs.gnu.org with esmtp (Exim 4.71)
        (envelope-from <levined(_at_)ieee(_dot_)org>) id 1bkHXN-0006aL-0B
        for nmh-workers(_at_)nongnu(_dot_)org; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <nmh-workers(_at_)nongnu(_dot_)org>; Wed, 14 Sep 2016 14:15:47 
-0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:mime-version:content-transfer-encoding:from
        :subject:in-reply-to:references:date:message-id;
        bh=dLL9I/OJtHK9Bop9IsCvraL6x4FGlLdjNr8Ic6L/hGc=;
        b=Ly0fU7WkR3ebgYhuiCM857uIW7UyqUzUhyUHCS5PHMkFwvduzMqI9C/ZzBFYYgOEDK
        FZKfMQEmldVN5XQOdWf+PHKeYCirkprfVZht3myKgMUwDMoGKWh7bDJUySeaFTSMeKHq
        6nNCD6iW3WDRcizORvIPWmRlF1HtMQdUKpm1xE2Fgkxk+l0FGSpsmT56vWjqXaZo0fr5
        keuLB90ZsB5pmsz0Op6Qes3FqgeGvOXxdN63dZqDRa63fPPnzmt2AVDcIYfKEZZksFuN
        Akwdf34T4OH5oMs224ic+tsmmEcmgLiJnoXbfRe/XCxcviQTkXR4yw9VxOFgeBR/+fYL
        jtIQ==
X-Gm-Message-State: 
AE9vXwMzutiMeOgKm41j8BRm+p3tmJMXxiAVk/CjDxR0bqfVZFq/GkbvIV6gr9d9OjviCol5
X-Received: by 10.200.47.89 with SMTP id k25mr5845594qta.75.1473887747067;
        Wed, 14 Sep 2016 14:15:47 -0700 (PDT)
Received: from stl.localdomain (209-255-241-2.ip.mcleodusa.net.
        [209.255.241.2])
        by smtp.gmail.com with ESMTPSA id s40sm109569qtc.3.2016.09.14.14.15.45
        for <nmh-workers(_at_)nongnu(_dot_)org>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: nmh-workers(_at_)nongnu(_dot_)org
MIME-Version: 1.0
From: David Levine <levinedl(_at_)acm(_dot_)org>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: 
<201609141528(_dot_)u8EFS3mp010249(_at_)shell1(_dot_)rawbw(_dot_)com>
        <20160914154603(_dot_)BC30D3C7FF(_at_)pb-smtp2(_dot_)pobox(_dot_)com>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <2821-1473887745(_dot_)286303(_at_)yXEP(_dot_)JRRQ.TTd8>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
        [fuzzy]
X-Received-From: 209.85.216.180
Subject: Re: [Nmh-workers] Forwarding the attachments to a message or
 messages
X-BeenThere: nmh-workers(_at_)nongnu(_dot_)org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <nmh-workers.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:nmh-workers(_at_)nongnu(_dot_)org>
List-Help: <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:nmh-workers-request(_at_)nongnu(_dot_)org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org
Sender: "Nmh-workers" 
<nmh-workers-bounces+norm=dad(_dot_)org(_at_)nongnu(_dot_)org>

Ken wrote:

[Norm:]
Is there a way to forward messages so that all the attachments of
the forwarded messages are attachments to the new message, other than
a script using mhlist?

If you want to create a new message which just happens to contain all of
the attachments from another message, I think you're going to have to
write that.

Yeah, though it should be really simple (as in not worth writing?).  Just
create a tmp directory, cd to it, mhstore (probably with -type application)
the attachments, and then add them with "at *" at the whatnow prompt.

A custom whatnowproc could do the attach, though again maybe not worth
the effort.

I think that Norm might have been asking about attachments from multiple
messages, in which case dist wouldn't work.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- End of Forwarded Messages

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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