nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] forw


From: norm
Subject: Re: [Nmh-workers] forw
Date: Sun, 09 Oct 2016 08:16:17 -0700

Ken Hornstein <address@hidden> 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: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 21B2D240756
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 08:28:09 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 address@hidden)
Message-Id: <address@hidden>
X-Authentication-Warning: shell1.rawbw.com: Host m206-54.dsl.tsoft.com 
[198.144.206.54] claimed to be nad.dad.org
To: address@hidden
cc: address@hidden
Reply-To: Norman Shapiro <address@hidden>
From: address@hidden
Subject: Forwarding the attachments to a message or messages
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <address@hidden>
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: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id C441E240756
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 08:46:20 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 <address@hidden>)
        id 1bkCO6-000050-GH
        for address@hidden; 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 <address@hidden>) id 1bkCNz-00004u-Oc
        for address@hidden; Wed, 14 Sep 2016 11:46:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <address@hidden>) id 1bkCNw-0006II-8L
        for address@hidden; 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 <address@hidden>) id 1bkCNw-0006IE-4i
        for address@hidden; 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 <address@hidden>; 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 <address@hidden>; 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 <address@hidden>; Wed, 14 Sep 2016 11:46:03 -0400 (EDT)
From: Ken Hornstein <address@hidden>
To: address@hidden
In-Reply-To: <address@hidden>
References: <address@hidden>
X-Face: "Evs"_GpJ]],xS)b$T2#V&{KfP_i2`TlPrY$Iv9+TQ!6+`~+l)#7I)0xr1>4hfd{#0B4
        WIn3jU;bql;{2Uq%zw5bF4?%F&&address@hidden<+6/address@hidden;_d
        gD\SW #]iN_U0 KUmOR.P<|um5yP<ea#^"SJK; C*}fMI;
        Mv(address@hidden>address@hidden
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: <address@hidden>
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: address@hidden
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:address@hidden>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: address@hidden
Sender: "Nmh-workers" <address@hidden>

>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
address@hidden
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 3

Return-Path: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 <address@hidden>)
        id 1bkHXY-000123-Hj
        for address@hidden; 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 <address@hidden>) id 1bkHXT-00011s-78
        for address@hidden; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <address@hidden>) id 1bkHXN-0006dD-48
        for address@hidden; 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 <address@hidden>) id 1bkHXN-0006aL-0B
        for address@hidden; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <address@hidden>; 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 <address@hidden>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: address@hidden
MIME-Version: 1.0
From: David Levine <address@hidden>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: <address@hidden>
        <address@hidden>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <address@hidden>
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: address@hidden
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:address@hidden>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: address@hidden
Sender: "Nmh-workers" <address@hidden>
Resent-From: norm <address@hidden>
Resent-To: address@hidden
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 4

Return-Path: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 <address@hidden>)
        id 1bkHXY-000123-Hj
        for address@hidden; 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 <address@hidden>) id 1bkHXT-00011s-78
        for address@hidden; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <address@hidden>) id 1bkHXN-0006dD-48
        for address@hidden; 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 <address@hidden>) id 1bkHXN-0006aL-0B
        for address@hidden; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <address@hidden>; 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 <address@hidden>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: address@hidden
MIME-Version: 1.0
From: David Levine <address@hidden>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: <address@hidden>
        <address@hidden>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <address@hidden>
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: address@hidden
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:address@hidden>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: address@hidden
Sender: "Nmh-workers" <address@hidden>

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
address@hidden
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- End of Forwarded Messages

------- Forwarded Messages

Return-Path: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 21B2D240756
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 08:28:09 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 address@hidden)
Message-Id: <address@hidden>
X-Authentication-Warning: shell1.rawbw.com: Host m206-54.dsl.tsoft.com 
[198.144.206.54] claimed to be nad.dad.org
To: address@hidden
cc: address@hidden
Reply-To: Norman Shapiro <address@hidden>
From: address@hidden
Subject: Forwarding the attachments to a message or messages
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <address@hidden>
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: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id C441E240756
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 08:46:20 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 <address@hidden>)
        id 1bkCO6-000050-GH
        for address@hidden; 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 <address@hidden>) id 1bkCNz-00004u-Oc
        for address@hidden; Wed, 14 Sep 2016 11:46:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <address@hidden>) id 1bkCNw-0006II-8L
        for address@hidden; 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 <address@hidden>) id 1bkCNw-0006IE-4i
        for address@hidden; 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 <address@hidden>; 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 <address@hidden>; 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 <address@hidden>; Wed, 14 Sep 2016 11:46:03 -0400 (EDT)
From: Ken Hornstein <address@hidden>
To: address@hidden
In-Reply-To: <address@hidden>
References: <address@hidden>
X-Face: "Evs"_GpJ]],xS)b$T2#V&{KfP_i2`TlPrY$Iv9+TQ!6+`~+l)#7I)0xr1>4hfd{#0B4
        WIn3jU;bql;{2Uq%zw5bF4?%F&&address@hidden<+6/address@hidden;_d
        gD\SW #]iN_U0 KUmOR.P<|um5yP<ea#^"SJK; C*}fMI;
        Mv(address@hidden>address@hidden
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: <address@hidden>
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: address@hidden
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:address@hidden>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: address@hidden
Sender: "Nmh-workers" <address@hidden>

>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
address@hidden
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 3

Return-Path: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 <address@hidden>)
        id 1bkHXY-000123-Hj
        for address@hidden; 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 <address@hidden>) id 1bkHXT-00011s-78
        for address@hidden; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <address@hidden>) id 1bkHXN-0006dD-48
        for address@hidden; 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 <address@hidden>) id 1bkHXN-0006aL-0B
        for address@hidden; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <address@hidden>; 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 <address@hidden>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: address@hidden
MIME-Version: 1.0
From: David Levine <address@hidden>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: <address@hidden>
        <address@hidden>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <address@hidden>
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: address@hidden
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:address@hidden>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: address@hidden
Sender: "Nmh-workers" <address@hidden>
Resent-From: norm <address@hidden>
Resent-To: address@hidden
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- Message 4

Return-Path: <address@hidden>
X-Original-To: address@hidden
Delivered-To: address@hidden
Received: from nad.dad.org (localhost [IPv6:::1])
        by nad.dad.org (Postfix) with ESMTP id 8D49E24061C
        for <address@hidden>; 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 <address@hidden> (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 <address@hidden>; Wed, 14 Sep 2016 14:16:27 -0700 (PDT)
        (envelope-from address@hidden)
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 <address@hidden>; 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 <address@hidden>)
        id 1bkHXY-000123-Hj
        for address@hidden; 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 <address@hidden>) id 1bkHXT-00011s-78
        for address@hidden; Wed, 14 Sep 2016 17:16:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
        (envelope-from <address@hidden>) id 1bkHXN-0006dD-48
        for address@hidden; 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 <address@hidden>) id 1bkHXN-0006aL-0B
        for address@hidden; Wed, 14 Sep 2016 17:16:09 -0400
Received: by mail-qt0-f180.google.com with SMTP id 38so14126995qte.1
        for <address@hidden>; 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 <address@hidden>
        (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Wed, 14 Sep 2016 14:15:46 -0700 (PDT)
To: address@hidden
MIME-Version: 1.0
From: David Levine <address@hidden>
In-Reply-To: my message of Wed, 14 Sep 2016 11:46:02 -0400
References: <address@hidden>
        <address@hidden>
Date: Wed, 14 Sep 2016 17:15:45 -0400
Message-ID: <address@hidden>
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: address@hidden
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:address@hidden>
List-Archive: <http://lists.nongnu.org/archive/html/nmh-workers/>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/nmh-workers>,
        <mailto:address@hidden>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: address@hidden
Sender: "Nmh-workers" <address@hidden>

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
address@hidden
https://lists.nongnu.org/mailman/listinfo/nmh-workers

------- End of Forwarded Messages



reply via email to

[Prev in Thread] Current Thread [Next in Thread]