diff -Nru reportbug-3.47ubuntu1/debian/changelog reportbug-3.48ubuntu1/debian/changelog --- reportbug-3.47ubuntu1/debian/changelog 2008-12-10 22:10:38.000000000 +0000 +++ reportbug-3.48ubuntu1/debian/changelog 2009-01-06 23:26:27.000000000 +0000 @@ -1,3 +1,26 @@ +reportbug (3.48ubuntu1) jaunty; urgency=low + + * Merge from debian unstable (LP: #314556), remaining changes: + - Make reportbug stop working for bts=ubuntu and refer to + "ubuntu-bug" instead + - reportbug: exit with an error, if bts=ubuntu (or unconfigured) + - debian/control: add prominent note to package description + + -- Iain Lane Tue, 06 Jan 2009 23:24:20 +0000 + +reportbug (3.48) unstable; urgency=low + + [ Don Armstrong ] + * Patch to use reportbug.debian.org MX instead of bugs.debian.org; in the same + change, we set port to 587 for reportbug.d.o to avoid ISP filtering 25 port; + Closes: #508659 + + [ Sandro Tosi ] + * debian/NEWS + - added an entry to explain the changes in this version + + -- Sandro Tosi Sun, 14 Dec 2008 15:39:20 +0100 + reportbug (3.47ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: diff -Nru reportbug-3.47ubuntu1/debian/NEWS reportbug-3.48ubuntu1/debian/NEWS --- reportbug-3.47ubuntu1/debian/NEWS 2008-11-12 22:48:45.000000000 +0000 +++ reportbug-3.48ubuntu1/debian/NEWS 2008-12-15 00:11:57.000000000 +0000 @@ -1,3 +1,23 @@ +reportbug (3.48) unstable; urgency=low + + * There were some infrastructure changes, in order to provide a better BTS + service, that made the previous SMTP server 'bugs.debian.org' no more + working as expected, so we now provide another host for SMTP for reportbug: + 'reportbug.debian.org'. + + If you are using any other debian.org host to act as SMTP host for reportbug, + we encourage you to update your configuration accordingly. + + At the same time, if you use 'reportbug.debian.org' we set automatically the + port to '587' (but even '25' port can be used) in order to work around the + filter some ISPes apply to outcoming connections to port '25'. + + As a side effect, using 'reportbug.debian.org' the '--debug' option stops + working, since relay is not allowed by that host, but since it's mainly an + interal-use-only option, we're sure it won't impact you a lot. + + -- Sandro Tosi Sun, 14 Dec 2008 15:15:23 +0100 + reportbug (3.18) unstable; urgency=high * The proper SMTP setting for reporting bugs to Debian without a working diff -Nru reportbug-3.47ubuntu1/po4a/po/fr.po reportbug-3.48ubuntu1/po4a/po/fr.po diff -Nru reportbug-3.47ubuntu1/po4a/po/reportbug.pot reportbug-3.48ubuntu1/po4a/po/reportbug.pot diff -Nru reportbug-3.47ubuntu1/reportbug reportbug-3.48ubuntu1/reportbug --- reportbug-3.47ubuntu1/reportbug 2008-12-10 22:14:13.000000000 +0000 +++ reportbug-3.48ubuntu1/reportbug 2008-12-15 00:11:56.000000000 +0000 @@ -570,13 +570,13 @@ print >> fp, '# Disable fallback mode by commenting out the following:' print >> fp, 'no-cc' print >> fp, 'header "X-Debbugs-CC: %s"' % email_addy - print >> fp, 'smtphost bugs.debian.org' + print >> fp, 'smtphost reportbug.debian.org' else: print >> fp, '# If nothing else works, remove the # at the beginning' print >> fp, '# of the following three lines:' print >> fp, '#no-cc' print >> fp, '#header "X-Debbugs-CC: %s"' % email_addy - print >> fp, '#smtphost bugs.debian.org' + print >> fp, '#smtphost reportbug.debian.org' print >> fp, '# You can add other settings after this line. See' print >> fp, '# /etc/reportbug.conf for a full listing of options.' @@ -951,8 +951,10 @@ if smtphost and smtphost.lower() == 'master.debian.org': ui.long_message('*** Warning: master.debian.org is no longer an appropriate smtphost setting for reportbug; please update your .reportbugrc file.\n') - smtphost = 'bugs.debian.org' - + smtphost = 'reportbug.debian.org' + if smtphost and smtphost.lower() == 'bugs.debian.org': + ui.long_message('*** Warning: bugs.debian.org is no longer an appropriate smtphost setting for reportbug; please update your .reportbugrc file.\n') + smtphost = 'reportbug.debian.org' if attachments and mua: ewrite('Attachments are incompatible with using an MUA. They will be ignored.\n') attachments = [] diff -Nru reportbug-3.47ubuntu1/reportbuglib/reportbug_submit.py reportbug-3.48ubuntu1/reportbuglib/reportbug_submit.py --- reportbug-3.47ubuntu1/reportbuglib/reportbug_submit.py 2008-12-10 18:23:54.000000000 +0000 +++ reportbug-3.48ubuntu1/reportbuglib/reportbug_submit.py 2008-12-15 00:11:56.000000000 +0000 @@ -243,7 +243,7 @@ # No, I'm not going to do a full MX lookup on every address... get a # real MTA! - if kudos and smtphost == 'bugs.debian.org': + if kudos and smtphost == 'reportbug.debian.org': smtphost = 'packages.debian.org' body_charset = charset @@ -364,7 +364,13 @@ tryagain = False ewrite("Connecting to %s via SMTP...\n", smtphost) try: - conn = smtplib.SMTP(smtphost) + conn = None + # if we're using reportbug.debian.org, send mail to + # submit + if smtphost.lower() == 'reportbug.debian.org': + conn = smtplib.SMTP(smtphost,587) + else: + conn = smtplib.SMTP(smtphost) response = conn.ehlo() if not (200 <= response[0] <= 299): conn.helo()