在emacs中使用gnus访问来自microsoft exchange的邮件(2010)

car*_*rji 8 emacs gnus

我试图通过nnimap连接gnus来从Exchange服务器读取邮件.在gnus启动中定义的是配置信息

(setq gnus-select-method '(nnimap "example"
              (nnimap-address "mail.server.com")
              (nnimap-server-port 443)
              (nnimap-authenticator login)
              (nnimap-stream ssl)
              (remove-prefix "INBOX.")
              (nnimap-authinfo-file "~/.imap-authinfo")))

(setq imap-ssl-program "openssl s_client -quiet -tls1 -connect %s:%p")
Run Code Online (Sandbox Code Playgroud)

Emacs是@ 24.0.50.1 (2010-11-16)并.imap-authinfo包含连接信息:

machine mail.server.com login my_username password my_password
Run Code Online (Sandbox Code Playgroud)

使用openssl和gnutls-cli我可以独立连接到服务器,但是当调用gnus并留下消息时,emacs会挂起Opening TLS connection with gnutls-cli --insecure -p 443 mail.server.com'...done.

nan*_*nue 5

我很确定@lorexvii给出了最好的答案.

您必须下载Davmail并按照特定操作系统的说明进行操作.

那么Davmail会问你的唯一的事情是你服务器的URL(如果你不知道这可能是这个URL 页面给你一些提示).

最后,你只需要将Gnus连接到你的本地机器,如果你没有触摸设置中的端口,因为IMAP将是"localhost"和端口1143,用户名:youruser@yourcompanyemail.com(是的,所有电子邮件地址).

希望这可以帮助