最近电脑重装系统,于是需要重新配置邮箱,在配置SMTP服务器是Foxmail老提示SMTP Server:Email address or password error,尝试了无数个可能的密码,还是无效。想起了命令行可以测试SMTP,于是命令行下直接执行,发现是错误次数太多535 Error: too many incorrect passwords,坑啊,竟然误导性提示

smou:~ $ telnet mail.star-net.cn 25
Trying 110.90.119.100...
Connected to mail.star-net.cn.
Escape character is '^]'.
220 star-net.cn Anti-spam GT for Coremail System (star-net[20170508])
helo XXXXXXXX
250 OK
auth login
334 dXNlcm5hbWU6
输入用户名的base64编码
334 UGFzc3dvcmQ6
输入密码的base64编码
535 Error: too many incorrect passwords

而如果是密码错误,则会提示535 Error: authentication failed

smou:~ $ telnet mail.star-net.cn 25
Trying 110.90.119.100...
Connected to mail.star-net.cn.
Escape character is '^]'.
220 star-net.cn Anti-spam GT for Coremail System (star-net[20170508])
helo XXXXXXXX
250 OK
auth login
334 dXNlcm5hbWU6
输入用户名的base64编码
334 UGFzc3dvcmQ6
输入密码的base64编码
535 Error: authentication failed

于是只能等明天再次登录试一下。

所以,Coding不可乱提示,否则得坑无数人。