Bug#983847: querybts -m does not escape "\nFrom " sequences; breaks mutt
Package: reportbug
Version: 7.10.2
Severity: normal
File: /usr/bin/querybts
These commands are bugged:
bts show -m 928175
querybts -m 928175 >tmp.mbox && mutt -f tmp.mbox
This is because an email in that mailbox containes a byte sequence "\nFrom ".
This sequence is used by mbox to delimit messages, and must be escaped.
(Typically this is done by changing "\nFrom " to "\n>From ", though
IIUC this will break DKIM validation.)
This might need to be fixed on the server side (i.e. in debbugs).
If so, please reassign as appropriate.
-- Package-specific info:
** Environment settings:
EDITOR="twb-emacsclient"
PAGER="twb-pager"
VISUAL="twb-emacsclient"
EMAIL="trentbuck@gmail.com"
INTERFACE="text"
** /home/twb/.reportbugrc:
reportbug_version "3.35"
mode expert
ui text
bts debian
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages reportbug depends on:
ii apt 2.2.0
ii python3 3.9.1-1
ii python3-reportbug 7.10.2
ii sensible-utils 0.0.14
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
ii debconf-utils 1.5.74
ii debsums 3.0.2
ii dlocate 1.07+nmu1
ii emacs-bin-common 1:27.1+1-3
ii file 1:5.39-3
ii gnupg 2.2.27-1
ii msmtp-mta [mail-transport-agent] 1.8.11-2
pn python3-urwid <none>
pn reportbug-gtk <none>
ii xdg-utils 1.1.3-4
Versions of packages python3-reportbug depends on:
ii apt 2.2.0
ii file 1:5.39-3
ii python3 3.9.1-1
ii python3-apt 2.1.7
ii python3-debian 0.1.39
ii python3-debianbts 3.1.0
ii python3-requests 2.25.1+dfsg-2
ii sensible-utils 0.0.14
python3-reportbug suggests no packages.
-- debconf-show failed
Reply to: