首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用gmail imap配置gnus

用gmail imap配置gnus
EN

Stack Overflow用户
提问于 2015-05-07 06:15:14
回答 1查看 2.7K关注 0票数 3

我正在尝试配置gnus来处理我的gmail帐户。我的.gnus文件如下所示:

代码语言:javascript
复制
(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文件如下所示:

代码语言:javascript
复制
machine imap.gmail.com login probablyReal@gmail.com password secret port 993
machine smtp.gmail.com login probablyReal@gmail.com password secret port 465

它抛出的错误是:

代码语言:javascript
复制
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

(文字墙抱歉)

最后,当我评估这一点时:

代码语言:javascript
复制
(gnutls-available-p)

它只是打印:

代码语言:javascript
复制
nil

我正在运行windows 8的emacs,我不使用cygwin,甚至在讲了几个小时之后,我也不知道问题出在哪里。

编辑:我尝试了这两种方法(以及两者的组合),并得到了相同的错误:

http://blog.binchen.org/posts/notes-on-using-gnus.html

http://www.emacswiki.org/emacs/GnusGmail

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-05-07 09:29:10

我的猜测是Windows上的Emacs没有附带所需的库,因此(gnutls-available-p)会为您返回零。您必须在某个地方安装gnutls,以便您的Emacs能够找到它,cf。GnuTLS主页。您可能必须将下载的Windows库放到Emacs正在寻找它的库的目录中。

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

https://stackoverflow.com/questions/30093253

复制
相关文章

相似问题

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