我正试着用我的protomail帐户来对付杂种狗。
我安装了氢氧化物,在protonmail中进行了身份验证,并在其回购指令之后启动了imap和smtp,如下所示:
$ hydroxide auth LOGIN@protonmail.com
$ hydroxide imap &
$ hydroxide smtp &我还配置了.muttrc文件,添加:
set ssl_starttls=yes
set ssl_force_tls=yes
set send_charset="us-ascii:utf-8"
set imap_user = "LOGIN@protonmail.com"
set imap_pass = ${my_proton_bridge}
set spoolfile = "imap://localhost:1143/INBOX"
set folder ="imap://${my_proton_bridge}:localhost:1143/"
set postponed = "imap://localhost:1143/[Protonmail]/Drafts"
set mbox = "imap://localhost:1143/[Protonmail]/All Mail"
set smtp_pass = ${imap_pass}
set smtp_url = "smtp://LOGIN@protonmail.com@localhost:1025/"其中${my_bridge_pass}是hydroxide在认证时提供的密码,当然LOGIN是我的Protonmail登录名。
有了这种配置,我就启动了mutt,而不是从底部读取Encrypted connection unavailable的电子邮件。如果我使用mutt -d 5选项(下面的手册页)运行以获得更多反馈,则可以在.muttdebug0中获得以下内容:
Using default IMAP port 143
Using default IMAPS port 993
Reading imap://localhost:1143/INBOX...
Looking up localhost...
Connecting to localhost...
Connected to localhost:1143 on fd=4
imap_cmd_step: grew buffer to 512 bytes
4< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR CHILDREN UNSELECT MOVE APPENDLIMIT AUTH=PLAIN] IMAP4rev1 Service Ready
Handling CAPABILITY
IMAP queue drained
4> a0000 STARTTLS^M
4< a0000 NO TLS support not enabled
IMAP queue drained
Encrypted connection unavailable
mutt_num_postponed: using old IMAP postponed count.
mutt_index_menu[807]: Got op 167
mutt_buffer_pool_free: 15 of 15 returned to pool有什么想法吗?我甚至不知道问题出在哪里(丢失的小狗配置,氢氧化物,或者protonmail帐户中的一些选项.)
发布于 2022-02-07 01:08:49
您的配置有几个问题。
首先,来自氢氧化物自述文件:
IMAP目前,它只支持未加密的本地连接。
这意味着你需要设置..。
set ssl_starttls=no
set ssl_force_tls=no...which很好,因为您正在通过localhost与氢氧化物交互,所以您的未加密通信量不会穿越任何网络。
其次,imap和smtp的用户名应该仅仅是protonmail用户名,而不是电子邮件地址:
set imap_user = "LOGIN"
set smtp_url = "smtp://LOGIN@localhost:1025/"有了这些变化,我认为事情应该会好起来。
https://unix.stackexchange.com/questions/689590
复制相似问题