Subject: bug#475: reportbug --bts debian doesn't work because of relaying denied

From: Jens Korte <[email-masked]>
Date: Sat, 23 May 2020 15:00:28 +0200

Package: reportbug
Version: 7.5.3+devuan3
Severity: normal

Dear Maintainer,

   * What led up to the situation?
I wanted to report the bug #474 upstream to debian and tried to use
reportbug --bts debian avfs.
When trying to submit the message I got:
Spawning sensible-editor...
Report will be sent to Debian Bug Tracking System
<[email-masked]>
Submit this report on avfs (e to edit) [Y|n|a|c|e|i|l|m|p|q|d|t|s|?]?
Saving a backup of the report at
/tmp/reportbug-avfs-backup-20200523-1881-6tafpop8
Connecting to mx.devuan.org via SMTP...
SMTP send failure: [email-masked]': (454, b'4.7.1 <[email-masked]>: Relay access denied')}. Do you want to retry (or else save the report and exit)?  [Y|n|q|?]? 

   * What outcome did you expect instead?
reportbug --bts debian should report the bug to debian or the bts debian
should be remove from the list --bts help

-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/j/.reportbugrc:
reportbug_version "7.5.3+devuan3"
mode standard
ui text
realname "Jens Korte"
email "[email-masked]"
no-cc
list-cc-me
smtphost mx.devuan.org

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt                1.8.2.1
ii  python3            3.7.3-1
ii  python3-reportbug  7.5.3+devuan3
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  claws-mail                                 3.17.3-2
pn  debconf-utils                              <none>
pn  debsums                                    <none>
ii  dlocate                                    1.07+nmu1
pn  emacs-bin-common                           <none>
ii  exim4                                      4.92-8+deb10u4
ii  exim4-daemon-light [mail-transport-agent]  4.92-8+deb10u4
ii  file                                       1:5.35-4+deb10u1
ii  gnupg                                      2.2.12-1+deb10u1
pn  python3-urwid                              <none>
pn  reportbug-gtk                              <none>
ii  xdg-utils                                  1.1.3-1+deb10u1

Versions of packages python3-reportbug depends on:
ii  apt                1.8.2.1
ii  file               1:5.35-4+deb10u1
ii  python3            3.7.3-1
ii  python3-apt        1.8.4.1
ii  python3-debian     0.1.35
ii  python3-debianbts  2.8.2
ii  python3-requests   2.21.0-1
ii  sensible-utils     0.0.12

python3-reportbug suggests no packages.

-- no debconf information

---

From: Mark Hindley <[email-masked]>
Date: Sat, 23 May 2020 18:36:04 +0100

Jens,

Thanks for this.

The issue is that you have mx.devuan.org as the reportbug smtphost (the default
setting).

As you might expect, it only accepts mail for bugs.devuan.org. I think you
needed to specify --smtphost=reportbug.debian.org as well, or configure a proper
smtp smarthost.

Mark

---

From: Jens Korte <[email-masked]>
Date: Sat, 23 May 2020 20:24:15 +0200

Am Sat, 23 May 2020 18:36:04 +0100
schrieb Mark Hindley <[email-masked]>:

> --smtphost=reportbug.debian.org

Thanks, I guess the issue can be closed.

Could the page https://bugs.devuan.org/Reporting.html please be
extended by:

If you want to report a bug upstream to Debian and don't have a
working smtp then you can use:

reportbug --bts debian --smtphost=reportbug.debian.org <packagename>

---

From: Mark Hindley <[email-masked]>
Date: Sun, 24 May 2020 12:22:27 +0100

Jens,

> Could the page https://bugs.devuan.org/Reporting.html please be

Certainly. And probably the manpage could be clearer and more helpful on the
matter as well.

Thanks.

Mark

---

From: Jens Korte <[email-masked]>
Date: Sun, 24 May 2020 14:30:47 +0200

On Sun, 24 May 2020 12:22:27 +0100 Mark Hindley <[email-masked]>
wrote:

> Certainly. And probably the manpage could be clearer and more helpful
> on the matter as well.

Been there, done that:
https://salsa.debian.org/reportbug-team/reportbug/-/merge_requests/61

---

From: "Devuan bug Tracking System" <[email-masked]>
Date: Mon, 25 May 2020 16:03:04 +0000

This is an automatic notification regarding your bug report
which was filed against the reportbug package:

#475: reportbug --bts debian doesn't work because of relaying denied

It has been closed by [email-masked].

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact [email-masked] by
replying to this email.

-- 
475: https://bugs.devuan.org/cgi/bugreport.cgi?bug=475
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: #475: fixed in src:reportbug version 7.6.0+devuan1
From: [email-masked]
To: [email-masked]
Date: Mon, 25 May 2020 15:48:52 +0000

Version: 7.6.0+devuan1

Source package reportbug (7.6.0+devuan1) added to Devuan suite unstable.

This closes bug report 475.

Thanks

DAK managing the Devuan archive

Format: 1.8
Date: Mon, 25 May 2020 10:56:30 +0100
Source: reportbug
Binary: reportbug python3-reportbug reportbug-gtk
Architecture: source
Version: 7.6.0+devuan1
Distribution: unstable
Urgency: medium
Maintainer: Mark Hindley <[email-masked]>
Changed-By: Mark Hindley <[email-masked]>
Description:
 python3-reportbug - Python modules for interacting with bug tracking systems
 reportbug  - reports bugs in the Devuan or Debian distribution
 reportbug-gtk - reports bugs in the Devuan or Debian distribution (GTK+ UI)
Closes: 475
Changes:
 reportbug (7.6.0+devuan1) unstable; urgency=medium
 .
   * Adopt package.
   * Merge version 7.6.0.
   * Add possible need to specify smtphost as well as bts to manpage
     (Closes: #475).
   * Add query bts defaults to manpage.
   * Add Devuan to package description.
Checksums-Sha1:
 1b2fae7ca11db694257d661e9dac1026f47b7e16 1490 reportbug_7.6.0+devuan1.dsc
 9c5f539e0f1901ec736eba765c5caa91228f9b64 195148 reportbug_7.6.0+devuan1.tar.xz
 bd00932418ad0e07aa2e103175c7bdd3dc370386 5435 reportbug_7.6.0+devuan1_source.buildinfo
Checksums-Sha256:
 e6284eb59d179cbe5fd8106dc862453adbd57e404e596eaddfad9d71ac07c7ea 1490 reportbug_7.6.0+devuan1.dsc
 217e30a6286c2ef1999d40ba6b61375eac55c39dfe9483655e8f367df00c5804 195148 reportbug_7.6.0+devuan1.tar.xz
 3fd98a45cdabb084b85d8429cc0ff784a65ad3ee5d76e9d59f1a72815d6897a1 5435 reportbug_7.6.0+devuan1_source.buildinfo
Files:
 973a5c5bb2de0f0a9efa8119d3576243 1490 utils standard reportbug_7.6.0+devuan1.dsc
 a4320f0abeffda9b0307347b363bcbdf 195148 utils standard reportbug_7.6.0+devuan1.tar.xz
 e59f385a610cef75ff8022bb74d7f500 5435 utils standard reportbug_7.6.0+devuan1_source.buildinfo

Subject: reportbug --bts debian doesn't work because of relaying denied
From: Jens Korte <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
Date: Sat, 23 May 2020 15:00:28 +0200

Package: reportbug
Version: 7.5.3+devuan3
Severity: normal

Dear Maintainer,

** /home/j/.reportbugrc:

-- System Information:
Distributor ID:	Debian