我正在配置Gnus以通过IMAP从我的gmail帐户中检索电子邮件。我已经按照https://www.emacswiki.org/emacs/GnusGmail的建议做了,但是在启动时我一直在从Gnus那里获取错误:
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
(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. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")我的……看起来是这样的:
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有什么问题吗?
发布于 2016-03-28 20:56:32
Gmail默认不允许从不符合其模糊定义的安全标准的客户端访问IMAP --我遇到了与用Python的imaplib编写的脚本相同的测试。您需要访问该网站,并启用从不太安全的应用程序连接。
谷歌信息页面(包括直接链接到设置屏幕):https://support.google.com/accounts/answer/6010255
https://unix.stackexchange.com/questions/272670
复制相似问题