Deleting attachment from signed email
Hi. Although this has been an issue in 2005 already, I was not able to find any fix or workaround. Problem: I am not able to remove an attachment or the signature from a signed message. Reproduce: Use muttrc from below, which is quite minimal. Change to a mailbox (on imap) that contains a signed message (indicated by an 's'). Select that message. Press 'v'. Select attachment to be deleted. Press 'd'. Message area displays Deletion of attachments from encrypted messages is unsupported. and the attachment is not marked for deletion. How can I do this? Is it a principal problem, or a bug in mutt? I'm running a Debian GNU/Linux lenny/sid, with a standard 2.6.22-2-686 kernel. My '~/.mutt/muttrc': # Define the '+' shortcut, and the entry point for the folder browser (c?) set folder = imaps://[EMAIL PROTECTED] set imap_pass = # Automatically log in to this mailbox at startup set spoolfile = +INBOX # where to store postponed messages set postponed = +Drafts # where to store sent mail set record = +Sent # where to store read mail set mbox = +Read # where to move mail when it was read mbox-hook INBOX +Read # ask before moving read mail to mbox set move = ask-yes # do not move read flagged messages to +Read set keep_flagged = yes # how often (in seconds) mutt should look for new mail set mail_check = 600 # cache headers of emails below this directory set header_cache = /home/sk/.mutt/cache Here's the output of 'mutt -v' Mutt 1.5.17 (2007-11-01) Copyright (C) 1996-2007 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.6.22-2-686 (i686) ncurses: ncurses 5.6.20071013 (compiled with 5.6) libidn: 1.1 (compiled with 1.1) hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 24 2006 03:25:20) Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_INODESORT +USE_POP +USE_IMAP +USE_SMTP -USE_GSS -USE_SSL_OPENSSL +USE_SSL_GNUTLS +USE_SASL +HAVE_GETADDRINFO +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE -ISPELL SENDMAIL=/usr/sbin/sendmail MAILPATH=/var/mail PKGDATADIR=/usr/share/mutt SYSCONFDIR=/etc EXECSHELL=/bin/sh MIXMASTER=mixmaster To contact the developers, please mail to [EMAIL PROTECTED]. To report a bug, please visit http://bugs.mutt.org/. patch-1.5.13.cd.ifdef.2 patch-1.5.13.cd.purge_message.3.4 patch-1.5.13.nt+ab.xtitles.4 patch-1.5.4.vk.pgp_verbose_mime patch-1.5.6.dw.maildir-mtime.1 patch-1.5.8.hr.sensible_browser_position.3 Hope that helps! Kind regards, Stefan Klinger -- Stefan Klinger o/klettern http://www.stefan-klinger.de /\/ bis zum send plaintext only - max size 32kB \ Abfallen
inode sort
Does anyone know what the semantics of the inode sort configuration option is?
Re: Deleting attachment from signed email
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, November 22 at 05:20 PM, quoth Stefan Klinger: Problem: I am not able to remove an attachment or the signature from a signed message. Reproduce: Use muttrc from below, which is quite minimal. Change to a mailbox (on imap) that contains a signed message (indicated by an 's'). Select that message. Press 'v'. Select attachment to be deleted. Press 'd'. Message area displays Deletion of attachments from encrypted messages is unsupported. and the attachment is not marked for deletion. How can I do this? Is it a principal problem, or a bug in mutt? Well, for one thing, it's documented that mutt doesn't do it (in fact, as you demonstrated, mutt TELLS YOU that it's not supported), so it's not a bug. Instead, it's a principle problem. How can you delete an attachment from a signed mail without invalidating the signature? Unless you have the original private key (to re-sign the message after you modify it), it's technically impossible. 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). ~Kyle - -- Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. -- Douglas Adams -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHRh5gBkIOoMqOI14RAp/qAKCWbao5fRfGk3FB55kMrivYj5C+dQCeKKDW BzxUeHNEnCY9rCiqEz34by0= =9mTX -END PGP SIGNATURE-
Re: Deleting attachment from signed email
How can I do this? Is it a principal problem, or a bug in mutt? It's unsupported because attachments are part of the signed data. If you delete the attachment, the signature becomes invalid. I would guess that this was a design decision, not an oversight (bug). But that's largely a semantic technicality. If you want to remove an attachment, first remove the signature. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago War is God's way of teaching Americans geography. - Ambrose Bierce