reportbug: smtp connection direct to master.debian.org is fails

Bug #25723 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
reportbug (Debian)
Fix Released
Unknown
reportbug (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #338900 http://bugs.debian.org/338900

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Date: Sun, 13 Nov 2005 16:42:44 +0000
From: Richard Antony Burton <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: reportbug: smtp connection direct to master.debian.org is fails

Package: reportbug
Version: 3.17
Severity: important

When you specify you want to connect direct to the debian smtp server (e.g.
because you haven't bothered to set your MTA up properly yet) reportbug creates
the entry "smtphost master.debian.org" in your .reportbugrc

Until recently this worked fine, but now I'm getting:
Connecting to master.debian.org via SMTP...
SMTP send failure: {'<email address hidden>': (550, 'relay not permitted')}
Wrote bug report to /tmp/reportbug-bash-20051113-12303-Rhw0J1

Changing the smtphost to bugs.debian.org fixes the problem. This should be
changed when creating a new default config (/usr/bin/reportbug:532,538).

Maybe some validation on reading configs to change master to bugs automatically
for people with existing configs? Nothing fancy, just something like this adding
around 805:
    if options.smtphost == 'master.debian.org':
        options.smtphost = 'bugs.debian.org'

Richard.

-- Package-specific info:
** Environment settings:
EDITOR="vi"

** /root/.reportbugrc:
reportbug_version "3.17"
mode standard
ui text
realname "Richard Antony Burton"
email "<email address hidden>"
no-check-uid
no-cc
header "X-Debbugs-CC: <email address hidden>"
smtphost bugs.debian.org

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages reportbug depends on:
ii python2.3 2.3.5-8 An interactive high-level object-o

Versions of packages reportbug recommends:
pn python2.3-cjkcodecs | python2 <none> (no description available)

-- no debconf information

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 14 Nov 2005 13:29:31 +0100
From: Simon Richter <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Bump severity, as lots of installations are affected

--------------enig0EED4539631D2492797A2789
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

severity 338900 grave
thanks

Hi,

This one is going to affect a lot of users, so it should probably be
fixed in stable as well.

    Simon

--------------enig0EED4539631D2492797A2789
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQCVAwUBQ3iDLVYr4CN7gCINAQLccAP/ek8eJatxoIDyCvIWajpy3/g//w/J2Bzj
X6ZgU40IodbvoeXXQzXm/H+z+BlkYQmc5zeLvqNa53rXmAF2ihmFsGAdFc2zl5wg
rx3LmCHyvm6ftT0pmxcujTDjdF9Cu5DmnTYYtDL5qRqHQ3prhs6ph+6xpjUTAPwC
PLoZGliLyLs=
=i2yh
-----END PGP SIGNATURE-----

--------------enig0EED4539631D2492797A2789--

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Not an issue for us

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 22 Nov 2005 10:30:12 +0100
From: Thijs Kinkhorst <email address hidden>
To: <email address hidden>
Cc: <email address hidden>, Simon Richter <email address hidden>,
 Richard Antony Burton <email address hidden>
Subject: Re: reportbug: smtp connection direct to master.debian.org is fails

--=-MkJA329ERVvQm1BHSaMV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Richard Antony Burton <email address hidden> wrote:
> Until recently this worked fine, but now I'm getting:
> Connecting to master.debian.org via SMTP...
> SMTP send failure: {'<email address hidden>': (550, 'relay not permitted'=
)}

Don't you think this bug could be better solved by having master relay
mail for bugs.debian.org? That would resolve the problem for new and
existing installs alike and would not require updating the package in
stable as Simon suggested. It would seem like the best fix for me.

Or is there a concern in having master accept mail for bugs.debian.org?

regards,
Thijs

--=-MkJA329ERVvQm1BHSaMV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDguUkJdKMxZV9WM8RAkpkAKC8dUSwcuxYy7HMj0hIk7UdckV4uwCfbLoy
aRMo53pV+oij17wHjreyANI=
=ASiB
-----END PGP SIGNATURE-----

--=-MkJA329ERVvQm1BHSaMV--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 22 Nov 2005 02:31:12 -0800
From: Steve Langasek <email address hidden>
To: Thijs Kinkhorst <email address hidden>, <email address hidden>
Cc: <email address hidden>, Simon Richter <email address hidden>,
 Richard Antony Burton <email address hidden>
Subject: Re: Bug#338900: reportbug: smtp connection direct to master.debian.org is fails

--32u276st3Jlj2kUU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 22, 2005 at 10:30:12AM +0100, Thijs Kinkhorst wrote:
> Richard Antony Burton <email address hidden> wrote:
> > Until recently this worked fine, but now I'm getting:
> > Connecting to master.debian.org via SMTP...
> > SMTP send failure: {'<email address hidden>': (550, 'relay not permitte=
d')}

> Don't you think this bug could be better solved by having master relay
> mail for bugs.debian.org? That would resolve the problem for new and
> existing installs alike and would not require updating the package in
> stable as Simon suggested. It would seem like the best fix for me.

> Or is there a concern in having master accept mail for bugs.debian.org?

Spam.

It was never correct to hard-code master as an SMTP relay for reportbug;
even when it *was* an MX for bugs, the correct behavior would have been to
do an MX lookup for bugs.debian.org. Now, it's a problem because master.d.o
is no longer an MX for bugs.d.o (and should not be).

--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

--32u276st3Jlj2kUU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDgvNwKN6ufymYLloRAtv/AJwJRkkmEkv0IinD/6HH9kfAQQoV1QCaAgGb
10pdpE6cSrhSgUf+fJlgdT4=
=qbfp
-----END PGP SIGNATURE-----

--32u276st3Jlj2kUU--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 29 Nov 2005 20:47:07 -0800
From: Chris Lawrence <email address hidden>
To: <email address hidden>
Subject: Bug#338900: fixed in reportbug 6763.18

Source: reportbug
Source-Version: 3.18

We believe that the bug you reported is fixed in the latest version of
reportbug, which is due to be installed in the Debian FTP archive:

reportbug_3.18.dsc
  to pool/main/r/reportbug/reportbug_3.18.dsc
reportbug_3.18.tar.gz
  to pool/main/r/reportbug/reportbug_3.18.tar.gz
reportbug_3.18_all.deb
  to pool/main/r/reportbug/reportbug_3.18_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lawrence <email address hidden> (supplier of updated reportbug package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 29 Nov 2005 23:29:24 -0500
Source: reportbug
Binary: reportbug
Architecture: source all
Version: 3.18
Distribution: unstable
Urgency: high
Maintainer: Chris Lawrence <email address hidden>
Changed-By: Chris Lawrence <email address hidden>
Description:
 reportbug - reports bugs in the Debian distribution
Closes: 336871 338900 341325
Changes:
 reportbug (3.18) unstable; urgency=high
 .
   * The "take this job and shove it" release.
   * Update smtphost setting for bug reporting. reportbug now generates
     .reportbugrc files with 'bugs.debian.org' as the smtphost, and noisily
     overrides any 'master.debian.org' settings it sees. (Closes: #338900)
   * s/kernel-image/linux-image/ (Closes: #336871)
   * Generate a Message-ID for every message sent by reportbug.
     (Closes: #341325)
Files:
 f30b0bda1f86640fc7dd30652c81d0dd 522 utils standard reportbug_3.18.dsc
 bbfb809f66034017015f999d3e2428c8 136100 utils standard reportbug_3.18.tar.gz
 58588256cff916c2896191db06bcd057 127610 utils standard reportbug_3.18_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDjSsr2wQKE6PXubwRAqNTAJ4qoJu2lVMQhAfuItiXzpRoTsVIWgCeIROz
Jk5j1BhSMTCm5qIMgMwGaEY=
=I5RB
-----END PGP SIGNATURE-----

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.