【发布时间】:2015-07-17 13:33:18
【问题描述】:
我正在尝试配置 gnus 以使用我的 gmail 帐户。我的 .gnus 文件如下所示:
(setq gnus-select-method '(nntp "news.gwene.org"))
(setq user-full-name "George P. Burdell")
(setq user-mail-address "probablyReal@gmail.com")
(setq smtpmail-auth-credentials "~/.authinfo.epg")
(add-to-list 'gnus-secondary-select-methods
'(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authinfo-file "~/.authinfo.epg")
)
)
(setq smtpmail-stream-type 'ssl
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 465)
我的 .authinfo.epg 文件如下所示:
machine imap.gmail.com login probablyReal@gmail.com password secret port 993
machine smtp.gmail.com login probablyReal@gmail.com password secret port 465
它抛出的错误是:
Generating the cache active file...done
Opening nnfolder server on archive...done
Opening nnimap server on gmail...
Opening connection to imap.gmail.com via tls...
Opening TLS connection to `imap.gmail.com'...
Opening TLS connection with `gnutls-cli --insecure -p 993 imap.gmail.com'...failed
Opening TLS connection with `gnutls-cli --insecure -p 993 imap.gmail.com --protocols ssl3'...failed
Opening TLS connection with `openssl s_client -connect imap.gmail.com:993 -no_ssl2 -ign_eof'...failed
Opening TLS connection to `imap.gmail.com'...failed
Unable to open server nnimap+gmail due to: Buffer *nnimap imap.gmail.com 993 *nntpd** has no process
Opening nnimap server on gmail...failed:
No new newsgroups
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:
Reading active file via nndraft...done
Checking new news...done
Warning: Opening nnimap server on gmail...failed: ; Server nnimap+gmail previously determined to be down; not retrying; Opening nnimap server on gmail...failed: ; Unable to open server nnimap+gmail due to: Buffer *nnimap imap.gmail.com 993 *nntpd** has no process
(对不起,文字墙)
最后,当我评估这个时:
(gnutls-available-p)
它只是打印:
nil
我正在为 windows 8 运行 emacs,我不使用 cygwin,我真的无法弄清楚问题是什么,即使搜索了几个小时。
编辑:我已经尝试了这两种方法(以及两者的组合)并得到相同的错误:
【问题讨论】:
-
您是否将您的配置与 wiki gmail 设置进行了比较,以查看您是否正在执行已知可以正常工作的操作? emacswiki.org/emacs/GnusGmail也许你正在做一些不同的事情?
-
@lawlist 我查看了该配置以及此处的配置:blog.binchen.org/posts/notes-on-using-gnus.html 这两个选项(以及两者的组合)都会引发相同的问题。
-
看看这个问题,一些相关的点:[stackoverflow.com/questions/20591415/…