使用了neomutt提供的mutt_oauth2.py脚本,
registrations = {
'google': {
+ 'access_type': 'offline',
+ 'prompt': 'consent',
'scope': 'https://mail.google.com/',
},
在mutt中使用测试,预备迁移到eamcs mu4e中,但目前为止, mutt imap同步服务正常使用,但smtp 服务无法使用,只有一句‘connecttion to smtp.gmail.com closed, smtp session failed: read error’,465, 587, 25三个ports都是一样的结果
[2025-12-11 15:37:25] Looking up smtp.gmail.com...
[2025-12-11 15:37:25] Connecting to smtp.gmail.com...
[2025-12-11 15:37:25] Connected to smtp.gmail.com:465 on fd=6
[2025-12-11 15:37:27] Connection to smtp.gmail.com closed
[2025-12-11 15:37:29] mutt_socket_close: Attempt to close closed connection.
[2025-12-11 15:37:29] SMTP session failed: read error
- 实在没找到google 的smtp 服务的使用指南
- 目测问题与网络相关,但这里的fd=6是个什么鬼东西实在不晓得
有请各路大佬出山指点!!!