GNOME Bugzilla – Bug 720262
Implement SMTP AUTH LOGIN extension
Last modified: 2014-02-03 14:20:58 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
Created attachment 263998 [details] [review] Implement SMTP AUTH LOGIN extension
Created attachment 263999 [details] [review] Rename GoaSmtpAuthPlain to GoaSmtpAuth
Now we need to teach Evolution how to handle such accounts. Currently it assumes AUTH PLAIN for GOA accounts.
See bug 708627 for the current Evolution behaviour.
Now we need to export the SASL mechanism detected by GOA over DBus so that Evolution can use it.
Created attachment 267947 [details] [review] dbus: Add SmtpAuth* to org.gnome.OnlineAccounts.Mail
Created attachment 267948 [details] [review] imap-smtp: Export the SASL mechanism used for SMTP
Created attachment 267952 [details] [review] google, live: Set smtp-auth-xoauth2 to TRUE