Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Call me bored, but don't call me boring. -- Larry Wall in <199705101952.MAA00756@wall.org>


computers / comp.mail.mutt / munpack problem

SubjectAuthor
o munpack problemcjsmall

1
munpack problem

<eb82165e-5812-42f3-8cab-752b8c018d73n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=105&group=comp.mail.mutt#105

  copy link   Newsgroups: comp.mail.mutt
X-Received: by 2002:a05:6214:e45:b0:4b1:9a9c:93de with SMTP id o5-20020a0562140e4500b004b19a9c93demr16261873qvc.63.1665431440994;
Mon, 10 Oct 2022 12:50:40 -0700 (PDT)
X-Received: by 2002:a05:6214:2386:b0:4ac:f069:d8d with SMTP id
fw6-20020a056214238600b004acf0690d8dmr16172258qvb.5.1665431440834; Mon, 10
Oct 2022 12:50:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.mutt
Date: Mon, 10 Oct 2022 12:50:40 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:9100:5ca0:e23f:49ff:fee8:1a31;
posting-account=HkkpOQkAAADsR9HpuB7NpuJa7KNw-XVw
NNTP-Posting-Host: 2601:600:9100:5ca0:e23f:49ff:fee8:1a31
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eb82165e-5812-42f3-8cab-752b8c018d73n@googlegroups.com>
Subject: munpack problem
From: jefferys...@gmail.com (cjsmall)
Injection-Date: Mon, 10 Oct 2022 19:50:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1904
 by: cjsmall - Mon, 10 Oct 2022 19:50 UTC

I'm using munpack -t to extract all the parts of a MIME email. It saves the
unnamed text and HTML content as part1 and part2 respectively. However,
the html is betting badly mangled since all sequences beginning with an
equal sign followed by a double quote (=") into what I think are Unicode
characters. Below I'll use the ASCII representation of these characters
that you see if you pipe them through the less pager.

Given:
<div dir="auto">
<div class="gmail_quote" dir="auto">
<img src="cid:1838ef09576531465341"

The results:
dir<FA>uto">
<div class<FF>mail_quote">
<img src<FC>id:1838ef09576531465341"

This breaks everything. I see no options to munpack to address this.
Mutt has no such problem saving the HTML attachment. Is there some
way to get munpack to behave? Otherwise, what is the best way to
extract the HTML attachment from the command line?

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor