[Reportbug-maint] Bug#626656: reportbug: saved temporary file not very useful
itz at buug.org
Sat May 14 01:14:41 UTC 2011
When I reply 'q' or 'n' to the final dialog (text UI), the temporary
file which reportbug leaves around in /tmp looks like this:
Subject: foopackage: foo
blah blah blah
So, the real RFC822 Subject header gets mixed up with Debian BTS pseudo
headers. This means the file cannot be piped directly into a MTA (local
or remote), but also cannot be used with a MUA feature like mutt -H,
unless you're willing to retype the pseudo headers manually.
The fix is simple: add an empty line between the Subject and the rest.
Also, I see no reason not to provide all the customary RFC headers
(Date, From, and To). After all, reportbug has to add them when
actually sending the report via its internal MUA.
Ian Zimmerman <itz at buug.org>
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
Ham is for reading, not for eating.
More information about the Reportbug-maint