[Reportbug-maint] Bug#809758: reportbug: Adding an attachment with it adds an extra line at the top so the mail is rejected

Bjarni Ingi Gislason bjarniig at rhi.hi.is
Sun Jan 3 18:50:38 UTC 2016

Package: reportbug
Version: 6.6.3
Severity: normal

Dear Maintainer,

   * What led up to the situation?

  "reportbug" puts this in front of my report when it is used to
incorporate attachment:

This is a multi-part MIME message sent by reportbug.

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: docbook-xsl
Version: 1.78.1+dfsg-1
Severity: normal
Tags: patch

   * What was the outcome of this action?

  "debbugs at buxtehude.debian.org" complains with:

This is a multi-part message in MIME format...

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message didn't have a Package: line at the very first line of the
mail body (part of the pseudo-header), or didn't have a Package: line
at all. Unfortunatly, this means that your message has been ignored

   * What outcome did you expect instead?

  If I include the attachment with my mailer ("mutt") the body starts with:

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: docbook-xsl
Version: 1.78.1+dfsg-1
Severity: normal
Tags: patch

  And that is accepted.

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.7-ckt20-u1 (SMP w/2 CPU cores)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages reportbug depends on:
ii  apt     
ii  python            2.7.9-1
ii  python-reportbug  6.6.3
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
pn  debsums                                    <none>
pn  dlocate                                    <none>
pn  emacs23-bin-common | emacs24-bin-common    <none>
ii  exim4                                      4.84-8
ii  exim4-daemon-light [mail-transport-agent]  4.84-8
ii  file                                       1:5.22+15-2
ii  gnupg                                      1.4.18-7
pn  python-gtk2                                <none>
pn  python-gtkspell                            <none>
pn  python-urwid                               <none>
pn  python-vte                                 <none>
pn  xdg-utils                                  <none>

Versions of packages python-reportbug depends on:
ii  apt     
ii  python-debian     0.1.27
ii  python-debianbts  1.12
pn  python:any        <none>

python-reportbug suggests no packages.

-- no debconf information

Bjarni I. Gislason

More information about the Reportbug-maint mailing list