<div dir="ltr"><div>> Date: Friday, April 22, 2022 15:19:42 -0700<br>> From: Geoffrey Leach <<a href="mailto:geoffleach.gl@gmail.com" target="_blank">geoffleach.gl@gmail.com</a>><br>><br>> On Fri, Apr 22, 2022 at 2:11 PM Richard wrote:<br>>   <br>>>   <br>>> > Date: Friday, April 22, 2022 13:30:49 -0700<br>>> > From: Geoffrey Leach <<a href="mailto:geoffleach.gl@gmail.com" target="_blank">geoffleach.gl@gmail.com</a>><br>>> > <br>>> > On Fri, Apr 22, 2022 at 11:16 AM Richard  <br>>> >> <br>>> >>   <br>>> >> > Date: Friday, April 22, 2022 10:56:43 -0700<br>>> >> > From: Geoffrey Leach <<a href="mailto:geoffleach.gl@gmail.com" target="_blank">geoffleach.gl@gmail.com</a>><br>>> >> > <br>>> >> > Back to the grind (sigh). Two laptops, both with up-to-date<br>>> >> > Fedora 35, both with internet access via (the same) Starlink<br>>> >> > connection. Following setup of OAuth2 in Claws 4.0 send and<br>>> >> > receive worked on both. Now both fail for both send and<br>>> >> > receive. Both laptops have working gmail accounts, but with<br>>> >> > different logins.   <br>>> >> <br>>> >> Based on these log snippets, it appears that<br>>> >> <br>>> >>   on laptop A ...<br>>> >> <br>>> >>   - you are using an id/pw, not OAuth2, for pop (port 995) email<br>>> >>     retrieval.<br>>> >>   - for sending you are using OAuth2, but are are trying to<br>>> >>     connect to port 25, rather than 465. that will fail.<br>>> >> <br>>> >>   on laptop B<br>>> >>    - there was no retrieval attempt,<br>>> >>    - you tried, but failed, to get an OAuth2 token for sending<br>>> >>      (on port 465).<br>>> >>       - it seems to fall back to id/pw, which failed, when<br>>> >>       OAuth2 fails.<br>>> >>   <br>>> > <br>>> > OK. How would I manage to use an id/pw?<br>>> >   <br>>> <br>>> On the account/send and receive configuration pages there's an<br>>> "authentication method" pop-down button (in the middle and top<br>>> respectively) where you set the authentication selection for the<br>>> account. These are set independently, and for gmail should<br>>> (assuming you're trying to use OAuth2 rather than app-passwords)<br>>> be set to "oauth2".<br>>> <br>>> The actual oauth2 setup and configuration is a separate option<br>>> toward the bottom of the list of the account configuration <br>>> options.  <br>><br>> Fixed the receive method on A. Receive works. Thanks.<br>> Laptop B has exactly the same config,   does not get mail from gmail<br>> Laptop A&B remain unable to send.<br>> Additional suggestions?<br>>  <br><br>On laptop A OAuth2 seemed ok, but it was trying to send on port 25.<br>That won't work with gmail.<br><br>Laptop B was failing on OAuth2, so seemed to be falling back to id/pw.<br><br>You should look at the OAuth2 setup (keys and such) on laptop B, and<br>the port being used to send on laptop A. ... if things still don't<br>work, please provide new log output.<br></div><div><br></div><div>Sorry for the indents being off -- I'm struggling with Gmail :(</div><div><br></div><div>OK. So I've cleaned up my configuration, and the ports are correct (hopefully).  Receive is working, and gmail appears to know about me.  On the send sde, here's what I see:</div><div>* OAuth2 access token still fresh<br>* Account 'gmail': Connecting to SMTP server: smtp.gmail.com:465...<br>*** Connection closed by the remote host.<br></div><div><br></div><div>On my Configuration->Send page, SMTP Authentication is SMTP AUTH, and OAUTH2 is selected. I assume that if Receive works, than the OAUTH2 page settings are correct.</div><div><br></div><div>Any suggestions?  Thanks.</div></div>