[MlMt] Adding Oauth2 accounts?

Steven M. Bellovin smb at cs.columbia.edu
Thu Sep 6 09:48:02 EDT 2018


On 6 Sep 2018, at 9:08, Steven M. Bellovin wrote:

> On 6 Sep 2018, at 3:13, Benny Kjær Nielsen wrote:
>
>> On 5 Sep 2018, at 20:31, Verdon Vaillancourt wrote:
>>
>>> That’s pretty much the same scenario for several of my accounts, 
>>> but I’ve had no issue. I do use oAuth with one, and I think 
>>> application passwords with this specific one. I think what you need 
>>> to do is put imap.gmail.com in the IMAP server field, regardless of 
>>> what your domain is… that should work.
>>
>> That is correct. Currently, MailMate is hardcoded to only offer the 
>> OAuth2 option for the following hostnames:
>>
>> 	imap.gmail.com
>> 	imap.googlemail.com
>> 	imap.outlook.com
>> 	imap-mail.outlook.com
>>
>> And the corresponding `smtp` variants.
>>
>> The `username` should not affect the availability of the OAuth2 
>> setting.
>>
>> @Steven: The latest test releases try to guess IMAP/SMTP settings 
>> based on the domain of the main email address. You have to explicitly 
>> enter `imap.gmail.com` if your email address is not at `gmail.com`. 
>> The good news is that for some email accounts, the user only needs to 
>> enter 1 email address (and an account name) and it should be ready to 
>> go. Let me know if you think a bug somehow means that this makes the 
>> OAuth2 setting unavailable to you (I couldn't reproduce such a 
>> problem).
>>
> This isn't working for me. Benny, I'll send you a screen shot 
> off-list. The only
> way I can trigger the correct behavior is to put a gmail address in 
> the email
> address field.
>
Turned out to be my error, of course: I was typing imap.google.com 
instead of
imap.gmail.com.


         --Steve Bellovin, https://www.cs.columbia.edu/~smb




More information about the mailmate mailing list