It cannot be that difficult to finally solve this problem.

What I've been doing as a workaround for years is the following:
* use any tool/editor capable of manipulating the email (header), e.g., the 
HeaderToolsLite extension.
* Change in the "Content-Type" entry the "multipart/signed" to 
"multipart/mixed" and remove (or even better, rename) the "protocol" parameter, 
e.g.:
replace
  Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
        micalg=SHA1; boundary="----=_NextPart_000_0000_01D1D126.351C61F0"
by
  Content-Type: multipart/mixed; 
protocol="application/x-pkcs7-disabled-signature";
        micalg=SHA1; boundary="----=_NextPart_000_0000_01D1D126.351C61F0"
* As a result, the email is not considered signed anymore, while the signature 
is now treated as a regular attachment.
* Detach/detect any attachments as you want.

Note that this way there is still an indication that the email was
signed originally, yet without a disturbing "broken signature" symbol
being shown.

In case you later restore the signature MIME header after manipulating
the attachments (or the remaining body), the signature will of course
show broken.

If you did not change anything in the body including the attachments (or
restore it), you can easily restore the valid signature by reverting the
small header changes mentioned above.

BTW, TB apparently blocks deleting/detaching attachments as long as it
finds "application/x-pkcs7-signature" as a substring(!) of the Content-
Type entry, which is bad hack. It should rather check that there is a
parameter with (full) name "protocol" and (full) value
"application/x-pkcs7-disabled-signature"

Hope this helps as a hint how to design and implement a solution
smoothly.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/303140

Title:
  No more "Save all" / "detach all" / "delete all" for attachments

Status in Mozilla Thunderbird:
  Confirmed
Status in thunderbird package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: thunderbird

  After receiving an email with more than one attachment, I have to 
open/detach/save them one by one, cause "Save all" / "detach all" / "delete 
all" in the GUI are not available
  This happens since version 2.0.0.18

  1) Description:    Ubuntu 8.04.1     Release:        8.04
  User-Agent: Thunderbird 2.0.0.18 (X11/20081125)
  MIME-Version: 1.0

  2) Package: Linux-Mint 5

  3) "Save all" / "detach all" / "delete all" available when right-
  klicking on an attachment

  4 )"Save all" / "detach all" / "delete all" greyed out, so not
  available

  ProblemType: Bug
  Architecture: i386
  Date: Fri Nov 28 11:34:16 2008
  DistroRelease: Ubuntu 8.04
  NonfreeKernelModules: wl fglrx
  Package: mozilla-thunderbird 2.0.0.18+nobinonly-0ubuntu0.8.04.1
  PackageArchitecture: all
  ProcEnviron:
   
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: thunderbird
  Uname: Linux 2.6.24-21-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/303140/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to