[Reportbug-maint] Bug#849765: reportbug: produces invalid mails when there are long lines
Adam Borowski
kilobyte at angband.pl
Fri Dec 30 18:41:17 UTC 2016
Package: reportbug
Version: 7.1.1
Severity: normal
Hi!
If the bug report contains an overlong line -- for example, mutt's bug
script includes its configure options, 1017 characters long -- reportbug
will send that unescaped.
The mail will then be rejected by certain MTAs, such as exim in Debian's
unmodified configuration.
Exim happens to do so in an extremely unhelpful way: the rejection message
says just:
Action: failed
Final-Recipient: rfc822;submit at bugs.debian.org
Status: 5.0.0
and the log:
2016-12-30 19:19:55 1cN1mV-0003BB-EP ** submit at bugs.debian.org R=smarthost T=remote_smtp_smarthost: message is too big (transport limit = 1)
Bad error handling by exim aside, reportbug must not send such invalid mails
in the first place.
Meow!
-- Package-specific info:
** Environment settings:
EDITOR="jstar"
EMAIL="kilobyte at angband.pl"
INTERFACE="text"
** /home/kilobyte/.reportbugrc:
reportbug_version "3.17"
mode advanced
ui text
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages reportbug depends on:
ii apt 1.4~beta2
ii python3-reportbug 7.1.1
pn python3:any <none>
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
ii debsums 2.1.3
pn dlocate <none>
pn emacs23-bin-common | emacs24-bin-common <none>
ii exim4 4.88-2
ii exim4-daemon-light [mail-transport-agent] 4.88-2
ii file 1:5.29-2
ii gir1.2-gtk-3.0 3.22.5-1
pn gir1.2-vte-2.91 <none>
ii gnupg 2.1.17-2
ii python3-gi 3.22.0-2
pn python3-gtkspellcheck <none>
ii python3-urwid 1.3.1-2+b1
ii xdg-utils 1.1.1-1
-- no debconf information
More information about the Reportbug-maint
mailing list