我与一个后缀/达夫科特/ Roundcube安装工作,力争虚拟用户的邮件系统,可以通过互联网发送邮件,如记录在这里。
一切似乎都运行良好;Dovecote 显示没有问题,我可以 telnet 到我所有的端口;但是,每当我尝试通过 Roundcube 发送邮件时,都会出现错误:
SMTP Error (220): Authentication failed.
Run Code Online (Sandbox Code Playgroud)
从日志中:
[17-Jan-2015 05:27:31 +0000]: SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube.php on line 1505 (POST /roundcube/?_task=mail&_unlock=loading1421472451594&_lang=en_US&_framed=1?_task=mail&_action=send)
Run Code Online (Sandbox Code Playgroud)
我想既然 Postfix 负责 SMTP,它一定是罪魁祸首。在我的 Postfix 日志中,我看到:
Jan 16 21:14:35 steelhorse postfix/smtpd[18426]: disconnect from localhost.localdomain[127.0.0.1]
Jan 16 21:14:35 steelhorse postfix/smtpd[18426]: lost connection after STARTTLS from localhost.localdomain[127.0.0.1]
Jan 16 21:14:35 steelhorse postfix/smtpd[18426]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1293:SSL alert number
Jan 16 21:14:35 …
Run Code Online (Sandbox Code Playgroud)