[Reportbug-maint] Bug#894036: reportbug: some mail will not rewrite From email address based on $REPORTBUGEMAIL or .reportbugrc

js jb em2jacks at yahoo.com
Sun Mar 25 17:34:37 UTC 2018

Package: reportbug
Version: 7.1.10
Severity: normal

Dear Maintainer,
I recently changed my outgoing email (used by sendmail) from a carrier to gmail.com.
Since then, it seems gmail.com does NOT honor the From: header placed by reportbugand instead replaces it with my actual gmail address (which is the From field that appearsin the bug report), although I keep a separate email just for debian issues. It's possibleother mail services will no longer allow users to fake the From value of emails theyoriginate with them.

Note that both the environment variable REPORTBUGEMAIL and the email clause inreportbugrc are specified: they worked perfectly well with my old outgoing mail but donot work with gmail.com:

 => set | grep REPOR
REPORTBUGEMAIL=em2jacks at yahoo.com

With those exact settings and my previous outgoing email, reportbug worked fine and onlythe $REPORTBUGEMAIL appeared as the From field in bug report on bugs.debian.org.

I would recommend that reportbug include the From field desired by the bug issuer inthe body of the report, just as the Version or Severity are, and that this field be parsedon receipt and used to replace the From field in the incoming reportbug email. That way,regardless of the choice of outgoing email, the From field specified by the submitter willbe the one that appears in the bug report.
A workaround for this issue is to add 'printonly' to reportbugrc and paste the resultingoutput in the webmail of choice.


-- Package-specific info:
** Environment settings:
REPORTBUGEMAIL="em2jacks at yahoo.com"
DEBEMAIL="em2jacks at yahoo.com"

** /home/ME/.reportbugrc:
reportbug_version "7.1.10"
mode novice
ui text
realname "js"
email "em2jacks at yahoo.com"
realname "js"
email "em2jacks at yahoo.com"
replyto "em2jacks at yahoo.com"

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.7.0-1-686-pae (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages reportbug depends on:
ii  apt                1.6~alpha6
ii  python3            3.6.4-1
ii  python3-reportbug  7.1.10
ii  sensible-utils     0.0.11

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  claws-mail                           3.16.0-1
ii  debconf-utils                        1.5.66
ii  debsums                              2.2.2
ii  dlocate                              1.07+nmu1
ii  emacs24-bin-common                   24.5+1-11
ii  emacs25-bin-common                   25.2+1-6
ii  file                                 1:5.32-1
ii  gir1.2-gtk-3.0                       3.22.28-1
ii  gir1.2-vte-2.91                      0.50.2-3
ii  gnupg                                2.2.5-1
ii  python3-gi                           3.26.1-2
ii  python3-gi-cairo                     3.26.1-2
pn  python3-gtkspellcheck                <none>
pn  python3-urwid                        <none>
ii  sendmail-bin [mail-transport-agent]  8.15.2-8
ii  xdg-utils                            1.1.2-1

Versions of packages python3-reportbug depends on:
ii  apt                1.6~alpha6
ii  file               1:5.32-1
ii  python3            3.6.4-1
ii  python3-apt        1.4.0~beta3+b1
ii  python3-debian     0.1.32
ii  python3-debianbts  2.7.2
ii  python3-requests   2.18.4-1

python3-reportbug suggests no packages.

-- no debconf information

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20180325/6c70ccd2/attachment.html>

More information about the Reportbug-maint mailing list