gpt4 book ai didi

emacs - 使用 gmail imap 配置 gnus

转载 作者:行者123 更新时间:2023-12-01 08:29:06 25 4
gpt4 key购买 nike

我正在尝试配置 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,我真的无法弄清楚问题是什么,即使在搜索了几个小时之后也是如此。

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

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

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

最佳答案

我的猜测是 Windows 上的 Emacs 没有附带所需的库,因此 (gnutls-available-p) 为您返回 nil。你必须在某个地方安装 gnutls,这样你的 Emacs 才能找到它,cf。 GnuTLS homepage .您可能必须将下载的 Windows 库放入 Emacs 正在寻找它的库的目录中。

关于emacs - 使用 gmail imap 配置 gnus,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30093253/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com