#1140210 reportbug: Please actully use port 587 for default smarthost reportbug.debian.org

#1140210#5
Date:
2026-06-17 08:20:44 UTC
From:
To:
Hello reportbug maintainers,

The default port for reportbug.debian.org is still point to port 25
which blocks users who uses the default configuration.

I recently noticed there is a law exist to block all the outborund
access to port 25 in many nations. And many ISP point out that we should
use port 587 instead.

I found we have set automatically default to port 587 for smarthost
reportbug.debian.org since 2008 from the debian/NEWS file:
"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'."

And also found test/test_utils.py has:
"'smtphost': 'reportbug.debian.org:587',"

But the code in bin/reportbug is still porting to reportbug.debian.org
without port 587:
```
    $ grep reportbug.debian.org bin/reportbug
        print('smtphost reportbug.debian.org', file=fp)
        print('#smtphost reportbug.debian.org', file=fp)
                "it has been superseded by reportbug.debian.org and this one is forced as "
            smtphost = 'reportbug.debian.org'
```

This can be reproduced by --configure with the default configuration.
The default isn't actully match to what in the documentation and tests.

Best regards,

#1140210#10
Date:
2026-06-17 08:40:34 UTC
From:
To:
Dear reportbug maintainers,

I have prepared a fix as merge requeat for review:
https://salsa.debian.org/reportbug-team/reportbug/-/merge_requests/109

Feel free to merge other changes and upload.

Best regards,

#1140210#15
Date:
2026-06-21 07:23:46 UTC
From:
To:
Dear reportbug maintainers,

Does anyone wants to review my merge request?

I'm consider to do a NMU on 27th June if still not heard any feedback.

Best regards,

#1140210#20
Date:
2026-06-25 07:11:01 UTC
From:
To:
No it is not. The port for reportbug.debian.org is hardcoded to 587 in reportbug/submit.py, hence there is no bug here and no NMU is needed. So I'm closing this, but thank you anyway for trying to improve reportbug.
#1140210#25
Date:
2026-06-25 07:38:13 UTC
From:
To:
Hi Nis,

Thank you for clarity that is hardcoded to 587 in reportbug/submit.py.

I am now reverty the settins in ~/.reportbugrc from
  reportbug.debian.org:587
to
  reportbug.debian.org

And it works.

Didn't know why it wasn't working before.

Best regards,