nixpkgs/pkgs/applications/networking/mailreaders
Maximilian Bosch 991d4bf68c
mutt/neomutt: work around S/MIME issues with application/pgp-encrypted
The original issue can be reproduced when sending with an unpatched
`mutt` or `neomutt` an email with an attachement which as han `.asc`
extension. This will be interpreted as `application/pgp-encrypted` which
experiences special logic, in the end the attachement will contain
"Version: 1"[1][2][3]

Right now, there are the following issues in the {,neo}mutt packages:

* `mutt.override { smimeSupport = true }` fails to build since the
  Debian patch results in a 404. Debian moved their packages to
  `salsa.debian.org`.

  However we can't use a versioned URL for this as Debian only tracks
  the Mutt versions that are available in their releases. The patch
  doesn't touch Mutt's core and is therefore simple to rebase, so
  sticking to the 1.10.2 patch for now should be sufficient.

* The original issue was never fixed in NeoMutt, currently we use the
  S/MIME database from `pkgs.mime-types` which contains the issue with
  `application/pgp-encrypted` as well.

  After some discussion[4] it seems to be the best decision to use the
  `mailcap` database distributed by Fedora[5] which fixes the issue
  rather than `mime-types` v9 from 2012.

[1] https://bugs.archlinux.org/task/43319
[2] https://bugs.gentoo.org/534658
[3] https://github.com/neomutt/neomutt/blob/neomutt-20180716/sendlib.c#L490-L496
[4] https://github.com/NixOS/nixpkgs/pull/50927#issuecomment-441383260
[5] https://pagure.io/mailcap
2018-11-26 01:51:41 +01:00
..
afew afew: add manpage 2018-09-14 20:01:59 +02:00
alpine pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
astroid astroid: 0.13 -> 0.14 2018-10-06 09:16:29 -07:00
balsa balsa: 2.5.5 -> 2.5.6 (#42054) 2018-06-19 00:17:27 +02:00
claws-mail claws-mail: 3.17.0 -> 3.17.1 2018-08-28 09:26:51 +01:00
inboxer inboxer: 1.1.5 -> 1.2.1 (#49299) 2018-10-27 20:07:16 -04:00
lumail lumail: Use lua5.1 2018-03-12 16:43:27 +01:00
mailcheck
mailnag pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
mailpile pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
mblaze mblaze: 0.3.2 -> 0.4 2018-08-24 00:32:47 -07:00
msgviewer pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
mutt mutt/neomutt: work around S/MIME issues with application/pgp-encrypted 2018-11-26 01:51:41 +01:00
neomutt mutt/neomutt: work around S/MIME issues with application/pgp-encrypted 2018-11-26 01:51:41 +01:00
notbit notbit: init at 2018-01-09 2018-01-10 19:02:53 -05:00
notmuch notmuch: cleanup 2018-11-05 13:30:43 -06:00
notmuch-addrlookup notmuch-addrlookup: 7 -> 9 2018-02-11 20:59:43 +01:00
notmuch-bower notmuch-bower: 0.8.1 -> 0.9 (#48332) 2018-10-13 22:22:32 +02:00
nylas-mail-bin reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
realpine Treewide: use https for SourceForge 2018-11-24 19:58:03 +01:00
sup sup: update homepage 2018-09-02 00:31:08 +02:00
sylpheed treewide: http -> https sources (#42676) 2018-06-28 20:43:35 +02:00
thunderbird thunderbird: 60.3.0 -> 60.3.1 2018-11-15 09:13:14 +09:00
thunderbird-bin thunderbird-bin: 60.3.0 -> 60.3.1 2018-11-15 09:12:46 +09:00
trojita trojita: build translation files 2018-11-19 10:34:43 +01:00
imapfilter.nix imapfilter: 2.6.11 -> 2.6.12 2018-10-15 20:56:02 -07:00