首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GNU Emacs Gnus无法连接到gmail IMAP

GNU Emacs Gnus无法连接到gmail IMAP
EN

Unix & Linux用户
提问于 2016-03-28 17:03:30
回答 1查看 1.5K关注 0票数 3

我正在配置Gnus以通过IMAP从我的gmail帐户中检索电子邮件。我已经按照https://www.emacswiki.org/emacs/GnusGmail的建议做了,但是在启动时我一直在从Gnus那里获取错误:

代码语言:javascript
复制
Opening connection to imap.gmail.com via tls...
nnimap (gmail) open error: 'NO (ALERT) Please log in via your web browser:
https://support.google.com/mail/accounts/answer/78754 (Failure)'.  Continue? (y
or n)  y
Saving file /home/mark/.newsrc-dribble...
Wrote /home/mark/.newsrc-dribble [2 times]
Gnus auto-save file exists.  Do you want to read it? (y or n)  y
Opening nnimap server on gmail...
Server nnimap+gmail previously determined to be down; not retrying
Opening nnimap server on gmail...failed: NO (ALERT) Please log in via your web
browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Checking new news...
Reading active file from gmail via nnimap...
Opening nnimap server on gmail...
Server nnimap+gmail previously determined to be down; not retrying
Opening nnimap server on gmail...failed: NO (ALERT) Please log in via your web
browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Reading active file via nndraft...done
Checking new news...done
No news is good news
Warning: Opening nnimap server on gmail...failed: NO (ALERT) Please log in via
your web browser: https://support.google.com/mail/accounts/answer/78754
(Failure); Server nnimap+gmail previously determined to be down; not retry\
ing; Opening nnimap server on gmail...failed: NO (ALERT) Please log in via your
web browser: https://support.google.com/mail/accounts/answer/78754 (Failure);
Server nnimap+gmail previously determined to be down; not retrying
gnus-group-read-group: No group on current line

我已经安装了GnuTLS,gnutls似乎与imap.gmail.com:993一起工作,我正在“准备好Gimap以满足请求”。

这是我的~/..gnus

代码语言:javascript
复制
(setq gnus-select-method
      '(nnimap "gmail"
          (nnimap-address "imap.gmail.com")
          (nnimap-server-port 993)
          (nnimap-stream ssl)
          (nnir-search-engine imap)
          (nnimap-authinfo-file "~/.authinfo")))

(setq smtpmail-smtp-service 587
      gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")

我的……看起来是这样的:

代码语言:javascript
复制
machine imap.gmail.com login mark@mydomain.com password my_password port 993
machine smtp.gmail.com login mark@mydomain.com password my_password port 587

有什么问题吗?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2016-03-28 20:56:32

Gmail默认不允许从不符合其模糊定义的安全标准的客户端访问IMAP --我遇到了与用Python的imaplib编写的脚本相同的测试。您需要访问该网站,并启用从不太安全的应用程序连接。

谷歌信息页面(包括直接链接到设置屏幕):https://support.google.com/accounts/answer/6010255

票数 5
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/272670

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档