mblaze, a Maildir-focused command line mail client
 help / color / mirror / code / Atom feed
From: Leah Neukirchen <leah@vuxu.org>
To: marko.bauhardt@mailbox.org
Cc: mblaze@googlegroups.com
Subject: Re: How to extract attachment from enrcypted mail
Date: Sat, 09 Nov 2019 18:23:47 +0100	[thread overview]
Message-ID: <87d0e12cbg.fsf@vuxu.org> (raw)
In-Reply-To: <3AUZIB90CU9U4.3K6407IPXJN4N@ghost6.raspberry.lan> (marko bauhardt's message of "Sat, 09 Nov 2019 11:03:23 +0100")

marko.bauhardt@mailbox.org writes:

> Leah Neukirchen <leah@vuxu.org> wrote:
>> We have a helper in contrib/ for that:
>> multipart/encrypted: mgpg
>
> Ah, cool. This filter works better than directly 'gpg -d'.
>
>> Currently you probably need to do that manually:
>> 
>>   mshow -O . 3 | gpg2 -d | mshow -x /dev/stdin
>
> Yes. Works perfectly. Awesome, thanks.
>
> Btw: I got the point about the command 'mshow -O .', but not what '3' is.
> Can you explain what the '3' is doing?
> Does that mean the "third" part of the email?
> What should I do when I have more than one attachment, lets say 2?

Yes, you can list the attachments and their number with "mshow -t".

hth,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org

-- 
You received this message because you are subscribed to the Google Groups "mblaze" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mblaze+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mblaze/87d0e12cbg.fsf%40vuxu.org.

      reply	other threads:[~2019-11-13 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08  8:30 marko.bauhardt
2019-11-08 10:11 ` Leah Neukirchen
2019-11-09 10:03   ` marko.bauhardt
2019-11-09 17:23     ` Leah Neukirchen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0e12cbg.fsf@vuxu.org \
    --to=leah@vuxu.org \
    --cc=marko.bauhardt@mailbox.org \
    --cc=mblaze@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mblaze/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).