* How to extract attachment from enrcypted mail
@ 2019-11-08 8:30 marko.bauhardt
2019-11-08 10:11 ` Leah Neukirchen
0 siblings, 1 reply; 4+ messages in thread
From: marko.bauhardt @ 2019-11-08 8:30 UTC (permalink / raw)
To: mblaze
Hi,
before we talk about how to extract an attachment from an encypted
mail, what is your way to work with encrypted mails?
What I do is to use the filter file and add 'multipart/encrypted: gpg -d'.
With that I'm getting the decrypted content on the fly when using mless
or mshow.
What is your recommendation to read encrypted mails (imagine all mails
in your inbox are encrypted).
But, I didn't find a way to extract an attachment from an encrypted
mail. I mean 'mshow -B .' does not give the names of attachments.
'mshow -B -x .' will also not work.
Any hint?
Thanks
Marko
--
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/3LUYNJU290HAP.2GVWRD6LZL4UK%40ghost6.raspberry.lan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to extract attachment from enrcypted mail
2019-11-08 8:30 How to extract attachment from enrcypted mail marko.bauhardt
@ 2019-11-08 10:11 ` Leah Neukirchen
2019-11-09 10:03 ` marko.bauhardt
0 siblings, 1 reply; 4+ messages in thread
From: Leah Neukirchen @ 2019-11-08 10:11 UTC (permalink / raw)
To: marko.bauhardt; +Cc: mblaze
marko.bauhardt@mailbox.org writes:
> Hi,
> before we talk about how to extract an attachment from an encypted
> mail, what is your way to work with encrypted mails?
>
> What I do is to use the filter file and add 'multipart/encrypted: gpg -d'.
> With that I'm getting the decrypted content on the fly when using mless
> or mshow.
> What is your recommendation to read encrypted mails (imagine all mails
> in your inbox are encrypted).
We have a helper in contrib/ for that:
multipart/encrypted: mgpg
However, this will only help displaying the mail, not extracting...
Currently you probably need to do that manually:
mshow -O . 3 | gpg2 -d | mshow -x /dev/stdin
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/87lfsq3cf8.fsf%40vuxu.org.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to extract attachment from enrcypted mail
2019-11-08 10:11 ` Leah Neukirchen
@ 2019-11-09 10:03 ` marko.bauhardt
2019-11-09 17:23 ` Leah Neukirchen
0 siblings, 1 reply; 4+ messages in thread
From: marko.bauhardt @ 2019-11-09 10:03 UTC (permalink / raw)
To: Leah Neukirchen; +Cc: mblaze
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?
Thanks
Marko
--
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/3AUZIB90CU9U4.3K6407IPXJN4N%40ghost6.raspberry.lan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to extract attachment from enrcypted mail
2019-11-09 10:03 ` marko.bauhardt
@ 2019-11-09 17:23 ` Leah Neukirchen
0 siblings, 0 replies; 4+ messages in thread
From: Leah Neukirchen @ 2019-11-09 17:23 UTC (permalink / raw)
To: marko.bauhardt; +Cc: mblaze
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-11-13 12:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 8:30 How to extract attachment from enrcypted mail marko.bauhardt
2019-11-08 10:11 ` Leah Neukirchen
2019-11-09 10:03 ` marko.bauhardt
2019-11-09 17:23 ` Leah Neukirchen
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).