* Stefan Wimmer <swim...@xs4all.nl>, 2013-03-01 13:31:26 Fri:
> * Will Fiveash <will.five...@oracle.com> [2013-03-01 00:14]:
> >On Thu, Feb 28, 2013 at 05:03:23PM -0600, Will Fiveash wrote:
> >>On Thu, Feb 28, 2013 at 03:35:44PM -0500, David Haguenauer wrote:
> >>>I patched my copy of mutt so that it will let me delete attachments
> >>Thanks for the idea.  I've attached a patch
> Thank you very much David (for the initial idea) & Will (for
> creating that patch)!
> It works perfectly B-)

Wow, I sure am happy, and surprised, to find out that I'm not the only
one to find it useful to knowingly break e-mail signatures.

By the way, my simplistic version of the patch (attached) was slightly
different. I didn't try the new patch, and it's not as if anyone is
trying to get it merged into the official code base, but there is a
chance it will allow the user to try deleting attachments from
encrypted (rather than just signed) messages, which is likely to fail.


Regarding the discussion that diverged from this thread, a topical
xkcd strip, posted yesterday:

    "PGP"
    http://xkcd.com/1181/

-- 
David Haguenauer
--- orig.recvattach.c	Tue Nov 28 16:27:34 2006
+++ recvattach.c	Tue Nov 28 16:56:00 2006
@@ -1087,7 +1087,7 @@
 	}
 #endif
 
-        if (WithCrypto && hdr->security & ~PGP_TRADITIONAL_CHECKED)
+        if (WithCrypto && (hdr->security & ENCRYPT))
         {
 	  mutt_message _(
 	    "Deletion of attachments from encrypted messages is unsupported.");

Attachment: pgpmkLsqIGZ8O.pgp
Description: Digital signature

Reply via email to