Unnamed repository; edit this file 'description' to name the repository.
 help / color / Atom feed
* gmail
@ 2020-04-05 17:59 Richmond
  2020-04-05 18:16 ` gmail Adam Sjøgren via info-gnus-english
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2020-04-05 17:59 UTC (permalink / raw)
  To: info-gnus-english

Has gnus stopped working with gmail? I think I read maybe about some
changes to gmail.

I see an error "nnimap (gmail) open error: ‘’.  Continue? (y or n)"

Then if I try to open from the server list buffer:

Unable to open server nnimap+gmail due to: Process *nnimap* not running

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 17:59 gmail Richmond
@ 2020-04-05 18:16 ` Adam Sjøgren via info-gnus-english
  2020-04-05 18:35   ` gmail Richmond
  0 siblings, 1 reply; 13+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2020-04-05 18:16 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

Richmond writes:

> Has gnus stopped working with gmail? I think I read maybe about some
> changes to gmail.

It seemsyou have to turn on "Less secure app access" in Gmail for IMAP
authentication using password to work these days:


[-- Attachment #2: lesssecure.png --]
[-- Type: image/png, Size: 75061 bytes --]

[-- Attachment #3: Type: text/plain, Size: 255 bytes --]


I guess they want people to use OAuth2, or something along those lines...


  Best regards,

    Adam

-- 
 "Did I ask too much, more than a lot?                      Adam Sjøgren
  You gave me nothing, now that's all I got"           asjo@koldfront.dk

[-- Attachment #4: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 18:16 ` gmail Adam Sjøgren via info-gnus-english
@ 2020-04-05 18:35   ` Richmond
  2020-04-05 18:43     ` gmail Adam Sjøgren via info-gnus-english
  2020-04-05 21:25     ` gmail Bob Newell
  0 siblings, 2 replies; 13+ messages in thread
From: Richmond @ 2020-04-05 18:35 UTC (permalink / raw)
  To: Adam Sjøgren via info-gnus-english

Adam Sjøgren via info-gnus-english <info-gnus-english@gnu.org> writes:

> Richmond writes:
>
>> Has gnus stopped working with gmail? I think I read maybe about some
>> changes to gmail.
>
> It seemsyou have to turn on "Less secure app access" in Gmail for IMAP
> authentication using password to work these days:
>

I went to that setting but it says this:

"This setting is not available for accounts with 2-Step Verification
enabled. Such accounts require an application-specific password for less
secure apps access. Learn more"

So I don't understand. I am able to use seamonkey and claws-mail with an
app password, and it used to work with gnus. I am using ssl on port 993.



_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 18:35   ` gmail Richmond
@ 2020-04-05 18:43     ` Adam Sjøgren via info-gnus-english
  2020-04-05 19:50       ` gmail Richmond
  2020-04-05 21:25     ` gmail Bob Newell
  1 sibling, 1 reply; 13+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2020-04-05 18:43 UTC (permalink / raw)
  To: info-gnus-english

Richmond writes:

> "This setting is not available for accounts with 2-Step Verification
> enabled. Such accounts require an application-specific password for less
> secure apps access. Learn more"

Ah, I don't have 2-step verification enabled in Gmail. I guess you need
to get an application-specific password then?

> So I don't understand. I am able to use seamonkey and claws-mail with an
> app password, and it used to work with gnus. I am using ssl on port 993.

Maybe Gmail has changed?

Does it work if you try with the app-specific password and specifying
"port imap" in .authinfo.gpg (that's what used)?


  Best regards,

    Adam

-- 
 "Language design is being taken over by hackers.           Adam Sjøgren
  The results so far are messy, but encouraging."      asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 18:43     ` gmail Adam Sjøgren via info-gnus-english
@ 2020-04-05 19:50       ` Richmond
  2020-04-05 20:02         ` gmail Adam Sjøgren via info-gnus-english
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2020-04-05 19:50 UTC (permalink / raw)
  To: Adam Sjøgren via info-gnus-english

Adam Sjøgren via info-gnus-english <info-gnus-english@gnu.org> writes:

> Richmond writes:
>
>> "This setting is not available for accounts with 2-Step Verification
>> enabled. Such accounts require an application-specific password for less
>> secure apps access. Learn more"
>
> Ah, I don't have 2-step verification enabled in Gmail. I guess you need
> to get an application-specific password then?
>
>> So I don't understand. I am able to use seamonkey and claws-mail with an
>> app password, and it used to work with gnus. I am using ssl on port 993.
>
> Maybe Gmail has changed?
>
> Does it work if you try with the app-specific password and specifying
> "port imap" in .authinfo.gpg (that's what used)?
>
>
>   Best regards,
>
>     Adam

Here is what I have in .gnus

(setq gnus-select-method '(nnimap "gmail"
 8                                  (nnimap-address "imap.gmail.com")
 9                                  (nnimap-server-port 993)
10                                  (nnimap-stream ssl)
11                                  (nnimap-logout-timeout 60.0)))

And in .authinfo

machine imap.gmail.com login "xxxxxxxxxxx@gmail.com" password xxxxxxxxxxxx port 993

I set the gnutls-log-level to 2 and see these. Maybe they have changed
tls requirements? :

gnutls.c: [2] Advertizing version 3.4
 76
 77gnutls.c: [2] Advertizing version 3.3
 78
 79gnutls.c: [2] Advertizing version 3.2
 80
 81gnutls.c: [2] Advertizing version 3.1
 82
 83gnutls.c: [2] HSK[0x2745000]: sent server name: 'imap.gmail.com'
 84
 85gnutls.c: [1] (Emacs) non-fatal error: Resource temporarily unavailable, try again. [336 times]
 86gnutls.c: [2] EXT[0x2745000]: client generated X25519 shared key
 87
 88gnutls.c: [1] (Emacs) non-fatal error: Resource temporarily unavailable, try again. [2 times]
 89gnutls.c: [2] (Emacs) Deallocating x509 credentials
 90Unable to open server nnimap+gmail due to: Process *nnimap* not running

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 19:50       ` gmail Richmond
@ 2020-04-05 20:02         ` Adam Sjøgren via info-gnus-english
  2020-04-05 20:38           ` gmail Richmond
  0 siblings, 1 reply; 13+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2020-04-05 20:02 UTC (permalink / raw)
  To: info-gnus-english

Richmond writes:

> Here is what I have in .gnus
>
> (setq gnus-select-method '(nnimap "gmail"
>  8                                  (nnimap-address "imap.gmail.com")
>  9                                  (nnimap-server-port 993)
> 10                                  (nnimap-stream ssl)
> 11                                  (nnimap-logout-timeout 60.0)))
>
> And in .authinfo
>
> machine imap.gmail.com login "xxxxxxxxxxx@gmail.com" password xxxxxxxxxxxx port 993

Maybe try with imap instead (Gnus automatically does STARTTLS)?


  Best regards,

    Adam

-- 
 "Language design is being taken over by hackers.           Adam Sjøgren
  The results so far are messy, but encouraging."      asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 20:02         ` gmail Adam Sjøgren via info-gnus-english
@ 2020-04-05 20:38           ` Richmond
  2020-04-05 20:47             ` gmail Adam Sjøgren via info-gnus-english
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2020-04-05 20:38 UTC (permalink / raw)
  To: Adam Sjøgren via info-gnus-english

Adam Sjøgren via info-gnus-english <info-gnus-english@gnu.org> writes:

> Richmond writes:
>
>> Here is what I have in .gnus
>>
>> (setq gnus-select-method '(nnimap "gmail"
>>  8                                  (nnimap-address "imap.gmail.com")
>>  9                                  (nnimap-server-port 993)
>> 10                                  (nnimap-stream ssl)
>> 11                                  (nnimap-logout-timeout 60.0)))
>>
>> And in .authinfo
>>
>> machine imap.gmail.com login "xxxxxxxxxxx@gmail.com" password xxxxxxxxxxxx port 993
>
> Maybe try with imap instead (Gnus automatically does STARTTLS)?
>
I tried both imap and imaps (instead of 993) but it made no difference.

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 20:38           ` gmail Richmond
@ 2020-04-05 20:47             ` Adam Sjøgren via info-gnus-english
  2020-04-05 20:48               ` gmail Richmond
  0 siblings, 1 reply; 13+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2020-04-05 20:47 UTC (permalink / raw)
  To: info-gnus-english

Richmond writes:

> I tried both imap and imaps (instead of 993) but it made no difference.

Just to be certain, you removed the (nnimap-stream ssl) when you tried
imap, right?

In that case, I'm out of ideas.


  Best regards,

    Adam

-- 
 "There's such a glut of celebrities that they'll           Adam Sjøgren
  soon have to begin storing the surplus in silos in   asjo@koldfront.dk
  Iowa."


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 20:47             ` gmail Adam Sjøgren via info-gnus-english
@ 2020-04-05 20:48               ` Richmond
  2020-04-05 20:55                 ` gmail Adam Sjøgren via info-gnus-english
  0 siblings, 1 reply; 13+ messages in thread
From: Richmond @ 2020-04-05 20:48 UTC (permalink / raw)
  To: Adam Sjøgren via info-gnus-english

Adam Sjøgren via info-gnus-english <info-gnus-english@gnu.org> writes:

> Richmond writes:
>
>> I tried both imap and imaps (instead of 993) but it made no difference.
>
> Just to be certain, you removed the (nnimap-stream ssl) when you tried
> imap, right?
>

No I didn't. What do you mean by trying imap instead? I thought I was
using imap. I thought you meant use "imap" instead of a port number.

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 20:48               ` gmail Richmond
@ 2020-04-05 20:55                 ` Adam Sjøgren via info-gnus-english
  2020-04-05 21:00                   ` gmail Adam Sjøgren via info-gnus-english
  0 siblings, 1 reply; 13+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2020-04-05 20:55 UTC (permalink / raw)
  To: info-gnus-english

Richmond writes:

>> Just to be certain, you removed the (nnimap-stream ssl) when you tried
>> imap, right?

> No I didn't. What do you mean by trying imap instead? I thought I was
> using imap. I thought you meant use "imap" instead of a port number.

I mean use imap, as in "IMAP (with STARTTLS)", instead of imaps, as in
"IMAP over SSL".

I don't know if it makes a difference, I just know what I could connect
using imap (but without two factor and with less secure turned on).

So what I suggest that you try this in your .gnus:

  (setq gnus-select-method '(nnimap "gmail"
                              (nnimap-address "imap.gmail.com")))

And in your .authinfo.gpg:

  machine imap.gmail.com login "xxxxxxxxxxx@gmail.com" password xxxxxxxxxxxx port imap

It's a longshot, admitted.


  Best regards,

    Adam

-- 
 "I wonder if you can refuse to inherit the world."         Adam Sjøgren
 "I think if you're born, it's too late."              asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 20:55                 ` gmail Adam Sjøgren via info-gnus-english
@ 2020-04-05 21:00                   ` Adam Sjøgren via info-gnus-english
  0 siblings, 0 replies; 13+ messages in thread
From: Adam Sjøgren via info-gnus-english @ 2020-04-05 21:00 UTC (permalink / raw)
  To: info-gnus-english

Adam Sjøgren writes:

>   (setq gnus-select-method '(nnimap "gmail"
>                               (nnimap-address "imap.gmail.com")))
>
> And in your .authinfo.gpg:
>
>   machine imap.gmail.com login "xxxxxxxxxxx@gmail.com" password xxxxxxxxxxxx port imap
            ^^
            This should just say "gmail", to match the name of the
            select method, I think, by the way.


  Best regards,

    Adam

-- 
 "I will highly appreciate someone thinking out a           Adam Sjøgren
  counterargument, that is, a good idea."              asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 18:35   ` gmail Richmond
  2020-04-05 18:43     ` gmail Adam Sjøgren via info-gnus-english
@ 2020-04-05 21:25     ` Bob Newell
  2020-04-05 21:51       ` gmail Richmond
  1 sibling, 1 reply; 13+ messages in thread
From: Bob Newell @ 2020-04-05 21:25 UTC (permalink / raw)
  To: info-gnus-english


> So I don't understand. I am able to use seamonkey and claws-mail with an
> app password, and it used to work with gnus. I am using ssl on port 993.

Maybe it's obvious, but just to be sure I understand your
setup:

1. You have 2-factor authentication turned on.
2. You are using your app password within gnus, not your gmail
login password.
3. Claws/seamonkey are using the app password, not the
login password.

(My own setup is like Adam, without 2-factor, so I use my
login password.)

But there are two other things going on. Gmail is in the
process of completely disabling "less secure" in all
forms. (I've posted about this before.) The first stage is
that the "less secure apps" setting can't be turned on any
longer if it wasn't already on.

The second stage, to come in about a year IIRC, will be to
drop the app passwords and require use of Oauth2. That one
will cause some irritating work for many of us. (As an
occasional user of mutt, it will be especially annoying.)

-- 
Bob Newell
Honolulu, Hawai`i
- Via Gnus/BBDB/Org/Emacs/Linux

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: gmail
  2020-04-05 21:25     ` gmail Bob Newell
@ 2020-04-05 21:51       ` Richmond
  0 siblings, 0 replies; 13+ messages in thread
From: Richmond @ 2020-04-05 21:51 UTC (permalink / raw)
  To: info-gnus-english

Bob Newell wrote:
>> So I don't understand. I am able to use seamonkey and claws-mail with an
>> app password, and it used to work with gnus. I am using ssl on port 993.
> Maybe it's obvious, but just to be sure I understand your
> setup:
>
> 1. You have 2-factor authentication turned on.
> 2. You are using your app password within gnus, not your gmail
> login password.
> 3. Claws/seamonkey are using the app password, not the
> login password.
>
> (My own setup is like Adam, without 2-factor, so I use my
> login password.)
>
> But there are two other things going on. Gmail is in the
> process of completely disabling "less secure" in all
> forms. (I've posted about this before.) The first stage is
> that the "less secure apps" setting can't be turned on any
> longer if it wasn't already on.
>
> The second stage, to come in about a year IIRC, will be to
> drop the app passwords and require use of Oauth2. That one
> will cause some irritating work for many of us. (As an
> occasional user of mutt, it will be especially annoying.)
>
It looks like they suspended this:

https://gsuiteupdates.googleblog.com/2020/03/less-secure-app-turn-off-suspended.html

because of some virus or other.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, back to index

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05 17:59 gmail Richmond
2020-04-05 18:16 ` gmail Adam Sjøgren via info-gnus-english
2020-04-05 18:35   ` gmail Richmond
2020-04-05 18:43     ` gmail Adam Sjøgren via info-gnus-english
2020-04-05 19:50       ` gmail Richmond
2020-04-05 20:02         ` gmail Adam Sjøgren via info-gnus-english
2020-04-05 20:38           ` gmail Richmond
2020-04-05 20:47             ` gmail Adam Sjøgren via info-gnus-english
2020-04-05 20:48               ` gmail Richmond
2020-04-05 20:55                 ` gmail Adam Sjøgren via info-gnus-english
2020-04-05 21:00                   ` gmail Adam Sjøgren via info-gnus-english
2020-04-05 21:25     ` gmail Bob Newell
2020-04-05 21:51       ` gmail Richmond

Unnamed repository; edit this file 'description' to name the repository.

Archives are clonable: git clone --mirror http://inbox.vuxu.org/info-gnus-english

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.emacs.gnus.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git