[Users] More OAuth2 problems
Richard
lists-claws at listmail.innovate.net
Fri Apr 22 22:31:15 UTC 2022
> Date: Friday, April 22, 2022 15:19:42 -0700
> From: Geoffrey Leach <geoffleach.gl at gmail.com>
>
> On Fri, Apr 22, 2022 at 2:11 PM Richard wrote:
>
>>
>> > Date: Friday, April 22, 2022 13:30:49 -0700
>> > From: Geoffrey Leach <geoffleach.gl at gmail.com>
>> >
>> > On Fri, Apr 22, 2022 at 11:16 AM Richard
>> >>
>> >>
>> >> > Date: Friday, April 22, 2022 10:56:43 -0700
>> >> > From: Geoffrey Leach <geoffleach.gl at gmail.com>
>> >> >
>> >> > Back to the grind (sigh). Two laptops, both with up-to-date
>> >> > Fedora 35, both with internet access via (the same) Starlink
>> >> > connection. Following setup of OAuth2 in Claws 4.0 send and
>> >> > receive worked on both. Now both fail for both send and
>> >> > receive. Both laptops have working gmail accounts, but with
>> >> > different logins.
>> >>
>> >> Based on these log snippets, it appears that
>> >>
>> >> on laptop A ...
>> >>
>> >> - you are using an id/pw, not OAuth2, for pop (port 995) email
>> >> retrieval.
>> >> - for sending you are using OAuth2, but are are trying to
>> >> connect to port 25, rather than 465. that will fail.
>> >>
>> >> on laptop B
>> >> - there was no retrieval attempt,
>> >> - you tried, but failed, to get an OAuth2 token for sending
>> >> (on port 465).
>> >> - it seems to fall back to id/pw, which failed, when
>> >> OAuth2 fails.
>> >>
>> >
>> > OK. How would I manage to use an id/pw?
>> >
>>
>> On the account/send and receive configuration pages there's an
>> "authentication method" pop-down button (in the middle and top
>> respectively) where you set the authentication selection for the
>> account. These are set independently, and for gmail should
>> (assuming you're trying to use OAuth2 rather than app-passwords)
>> be set to "oauth2".
>>
>> The actual oauth2 setup and configuration is a separate option
>> toward the bottom of the list of the account configuration
>> options.
>
> Fixed the receive method on A. Receive works. Thanks.
> Laptop B has exactly the same config, does not get mail from gmail
> Laptop A&B remain unable to send.
> Additional suggestions?
>
On laptop A OAuth2 seemed ok, but it was trying to send on port 25.
That won't work with gmail.
Laptop B was failing on OAuth2, so seemed to be falling back to id/pw.
You should look at the OAuth2 setup (keys and such) on laptop B, and
the port being used to send on laptop A. ... if things still don't
work, please provide new log output.
More information about the Users
mailing list