Hello Nis,
On 2024-08-10 16:03, Nis Martensen wrote:
Hi Gabriel,
On 05.08.2024 17.00, Gabriel Filion wrote:
When using the text UI, when it comes time to send via SMTP and I
need to connect to an MTA in order to send the email as an
authenticated user, if I happen to mistype the password I get an
error back from the server about the failed login.
However, in that situation it's not possible to tell reportbug to
prompt me again for a new password. The only options I have is to
resend with the same credentials without asking, save and quit or
abort entirely. So currently, the only way to fix my typo for the
password is to save the report and then relaunch again.
If the reason is a mistyped password then reportbug should automatically
ask for the password again on the next try. Reportbug tries to recognize
this based on the error raised by smtplib. The code is here:
https://sources.debian.org/src/reportbug/13.0.1/reportbug/submit.py/#L486
oh! ok good to know that authentication errors do trigger a new password
prompt then!
If reportbug does not ask for the password again, then the error raised
by smtplib is not an SMTPAuthenticationError. It seems like in your
example the problem was an SMTPHeloError. Can you please check if the
real reason in your case was something else than a wrong password?
gah indeed, the issue was with my setup / reportbug config. I ended up
figuring out what was happening and I'm now able to send emails with
reportbug.
sorry for the noise. we can close this bug report