emacs28.1
具體描述:
.authinfo.gpg:
machine smtp.office365.com login [email protected] port 587 password xxxx
machine outlook.office365.com login [email protected] port 993 password xxxx
密碼 xxxx是outlook生成的應用密碼,不是郵箱密碼,現在不允許直接用密碼登錄,網頁登錄正常
outlook已經開啓允許第三方應用登錄,以下是官方的服務器設置信息:
pop
服务器名称: outlook.office365.com
端口: 995
加密方法: TLS
imap
服务器名称: outlook.office365.com
端口: 993
加密方法: TLS
smtp
服务器名称: smtp.office365.com
端口: 587
加密方法: STARTTLS
gnus相關配置:
(setq user-full-name "username"
user-mail-address "[email protected]")
(setq gnus-select-method
'(nnimap "outlook"
(nnimap-address "outloo
k.office365.com")
(nnimap-server-port 993
)
(smtpmail-auth-credentials "~/.authinfo.gpg")
(nnimap-stream ssl)))
(setq gnus-secondary-select-methods '(
(nntp "news.gnus.org")))
(setq send-mail-function 'smtpmail-sen
d-it
smtpmail-smtp-server "smtp.offic
e365.com"
smtpmail-smtp-service 587
gnus-ignored-newsgroups "^to\\.\
\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]
")
按照這樣無法登錄,但是erc使用正常,排除.authinfo.gpg和gnutls問題
請教各位,該怎麼着手