Re: Deleting attachment from signed email
- To: mutt-users@xxxxxxxx
- Subject: Re: Deleting attachment from signed email
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Fri, 23 Nov 2007 11:01:09 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=k8gJG329pyaugvqdz8ExfLJiQG4=; b=Mj5j7m9/qekXHk+nyLnjV8DfNBP33ma9AlVTPXZl4gRFbkBB57GPAlmVIP/Wh2TWkX8JXK4S/DkupWTAAkeXZ6kTHWn7ddbyAWD1xErni6TRasDIOjWFIK/qPSngSEEVee5RIDjrrcqItgKIqB6//q6h4yOX/Zb79PARkvk9jUw=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=PFk+T+bAXu2hfpTq1H/pZKmgoHepu27rmIxa5FGRVmAF4GthVHl4+FrL+0JKjjw6qozyR+M/9ybZ1UJ0P6kRVpsOIZSm29Z+ztotucc4OqPgRe1Sca71/jLtgbye58JRQ/gR3134HzGIwQFUQIDJ7grDGoN94sZuVgEF/WAtBwc=; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20071123105314.GA5037@xxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071122162014.GB4260@xxxxxxxxxxxxxxxxx> <20071123002712.GA24692@xxxxxxxxxxxxxxxxxxxxxx> <20071123105314.GA5037@xxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.13 (2006-08-11)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, November 23 at 11:53 AM, quoth Stefan Klinger:
>> If you REALLY REALLY want to delete the attachment and you don't
>> care about invalidating the signature, you can edit the email with
>> your text editor (press E).
>
> This is not an option for me. The signature seems to be an attachment itself,
> and I certainly don't want to hack into the MIME structure.
Fair enough.
> How can I remove the signature? As said, it's an attachment wihich I
> failed to delete due to it's own presence.
Mutt has a few helpful functions (that you can bind to keys) that may
be useful for addressing this sort of problem. Namely, there's
decrypt-save and decode-save. You can bind them to keys like this:
bind index \eC decode-save # press escape-C to trigger
In the index, if you type a question mark, mutt will show you what
keys are bound to what functions. The tricky bit is that decode-save
can remove all the headers and such, depending on your other mutt
options (I think there's a combination that can be used to preserve
the headers, but I'd have to dig through the documentation to figure
it out). decrypt-save Might be more to your liking, but it only strips
out encrypted messages (i.e. I don't think it will take signing off of
a message). However, it probably relies on $pgp_decrypt_command, which
you can fiddle with to maybe get what you want done.
Good luck! hope that helps
~Kyle
- --
How can you expect to enjoy life without heartily disliking a good
many people?
-- Cary Tennis
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHRwdVBkIOoMqOI14RAlXYAKCd85GmOf1NvDEcSiAtnKZbe/G7RQCdFfWC
GTp3kvvK4VjvI5GxDujMZtc=
=3q6q
-----END PGP SIGNATURE-----