After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720262 - Implement SMTP AUTH LOGIN extension
Implement SMTP AUTH LOGIN extension
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks: 723539
 
 
Reported: 2013-12-11 15:26 UTC by Debarshi Ray
Modified: 2014-02-03 14:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement SMTP AUTH LOGIN extension (8.08 KB, patch)
2013-12-11 17:30 UTC, Debarshi Ray
committed Details | Review
Rename GoaSmtpAuthPlain to GoaSmtpAuth (58.91 KB, patch)
2013-12-11 17:30 UTC, Debarshi Ray
committed Details | Review
dbus: Add SmtpAuth* to org.gnome.OnlineAccounts.Mail (2.92 KB, patch)
2014-02-03 13:49 UTC, Debarshi Ray
committed Details | Review
imap-smtp: Export the SASL mechanism used for SMTP (7.95 KB, patch)
2014-02-03 13:50 UTC, Debarshi Ray
committed Details | Review
google, live: Set smtp-auth-xoauth2 to TRUE (2.26 KB, patch)
2014-02-03 14:05 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2013-12-11 15:26:55 UTC
Currently we only implement the SMTP AUTH PLAIN extension.  It is widely supported by mail servers so it is good enough for the vast majority of users. More importantly that is supported by all the servers that I have access to.

However, there have been complaints [1] from those who are stuck with a server that only does AUTH LOGIN. Recently I have been granted a test account on such a server. So lets make those users happy by implementing it.

I have not been able to locate an RFC for this. The best I have been able to come up with is this document from Microsoft: http://download.microsoft.com/download/5/D/D/5DD33FDF-91F5-496D-9884-0A0B0EE698BB/[MS-XLOGIN].pdf

[1] https://bugzilla.redhat.com/show_bug.cgi?id=958338
Comment 1 Debarshi Ray 2013-12-11 17:30:24 UTC
Created attachment 263998 [details] [review]
Implement SMTP AUTH LOGIN extension
Comment 2 Debarshi Ray 2013-12-11 17:30:59 UTC
Created attachment 263999 [details] [review]
Rename GoaSmtpAuthPlain to GoaSmtpAuth
Comment 3 Debarshi Ray 2013-12-11 17:41:04 UTC
Now we need to teach Evolution how to handle such accounts. Currently it assumes AUTH PLAIN for GOA accounts.
Comment 4 Debarshi Ray 2013-12-11 17:41:50 UTC
See bug 708627 for the current Evolution behaviour.
Comment 5 Debarshi Ray 2013-12-20 12:01:36 UTC
Now we need to export the SASL mechanism detected by GOA over DBus so that Evolution can use it.
Comment 6 Debarshi Ray 2014-02-03 13:49:59 UTC
Created attachment 267947 [details] [review]
dbus: Add SmtpAuth* to org.gnome.OnlineAccounts.Mail
Comment 7 Debarshi Ray 2014-02-03 13:50:29 UTC
Created attachment 267948 [details] [review]
imap-smtp: Export the SASL mechanism used for SMTP
Comment 8 Debarshi Ray 2014-02-03 14:05:39 UTC
Created attachment 267952 [details] [review]
google, live: Set smtp-auth-xoauth2 to TRUE