在 SSLv3 上成功使用了 stunnel 多年。简单配置适用于较旧的 stunnel 和 SSLv3:
[noteworthypop]
accept = 110
connect = secure.emailsrvr.com:995
[noteworthysmtp]
accept = 25
connect = secure.emailsrvr.com:465
但是,由于 rackspace 关闭了 SSL v3,因此此配置对我不起作用。
我们更新到当前的 stunnel (5.07),它支持 TLS。我们在 Windows 2008 服务器上运行 stunnel。
上面的conf不起作用。添加协议行没有区别。例如
[noteworthypop]
client = yes
accept = 110
connect = secure.emailsrvr.com:995
protocol = pop3
[noteworthysmtp]
client = yes
accept = 25
connect = secure.emailsrvr.com:465
protocol = smtp
尝试弹出时,日志显示:
2014.11.06 14:25:01 LOG7[2800]: Service [noteworthypop] accepted (FD=356) from 192.168.110.203:62058
2014.11.06 14:25:01 LOG7[2800]: Creating a new thread
2014.11.06 14:25:01 LOG7[2800]: New thread created
2014.11.06 14:25:01 LOG7[3232]: Service [noteworthypop] started
2014.11.06 14:25:01 LOG5[3232]: Service [noteworthypop] accepted connection from 192.168.110.203:62058
2014.11.06 14:25:01 LOG6[3232]: s_connect: connecting 98.129.185.2:465
2014.11.06 14:25:01 LOG7[3232]: s_connect: s_poll_wait 98.129.185.2:465: waiting 10 seconds
2014.11.06 14:25:01 LOG5[3232]: s_connect: connected 98.129.185.2:465
2014.11.06 14:25:01 LOG5[3232]: Service [noteworthypop] connected remote server from 192.168.97.23:62960
2014.11.06 14:25:01 LOG7[3232]: Remote socket (FD=360) initialized
2014.11.06 14:25:01 LOG7[3232]: RFC 2595 detected
但它坐。pop 客户端没有任何动作,没有任何反应。
欢迎提出建议!
谢谢!
答案:尝试很多事情,直到有效果为止。
“协议”条目实际上破坏了一些东西。
这有效: