handle SMTP error: 530 5.5.1 Authentication Required

Bug #264710 reported by anatoly techtonik
4
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
bzr email commit hook
Triaged
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.

Revision history for this message
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
Revision history for this message
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)
Changed in bzr:
importance: Undecided → Medium
status: New → Triaged
Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.