handle SMTP error: 530 5.5.1 Authentication Required

Bug #264710 reported by anatoly techtonik on 2008-09-04
4
Affects Status Importance Assigned to Milestone
Bazaar
Medium
Unassigned
bzr email commit hook
Medium
Unassigned

Bug Description

When smtp_server (GMail, for example) requires authorization and there is no smtp_username set, then bzr fails with

bzr: ERROR: SMTP error: 530 5.5.1 Authentication Required. Learn more at
5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 12sm15500077qbw.2

It would be better if bzr asked for username and gave hint to set it in bzr config.

John A Meinel (jameinel) wrote :

There are some small difficulties. Such as, I believe you can configure the smtp server and username on a per-branch basis, or globally. So when prompting the user, we would also need to prompt for where we want it stored, etc.

Changed in bzr-email:
importance: Undecided → Medium
status: New → Triaged
anatoly techtonik (techtonik) wrote :

It would be sufficient if bzr just ask user for username every time until it sets it manually. User just need a hint how to do this. I.e.:

SMTP server requires authentication. Enter username or set smtp_username in <path_to_bazaar.conf> to avoid typing it in the future.
Username:

Vincent Ladeuil (vila) on 2008-09-12
Changed in bzr:
importance: Undecided → Medium
status: New → Triaged
Martin Pool (mbp) on 2010-03-18
Changed in bzr:
status: Triaged → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers