阿里云Centos7搭建邮件服务器端口使用465

1.申请一个域名指向这台服务器

 

 

 2.下面是如果安装了postifx和dovecot有配置问题错误 可以卸载重装

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

https://blog.csdn.net/LinYueShan_W/article/details/129323000 和 https://blog.csdn.net/weixin_44901564/article/details/111914395 这个是配置ssl比较详细的文章

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

以下是解析ssl  cd /root/.certs

certutil -A -n “GeoTrust SSL CA - G3” -t “Pu,Pu,Pu” -d ~/.certs/./ -i 163.crt

certutil -A -n “GeoTrust Global CA” -t “C,” -d ~/.certs -i ~/.certs/163.crt

certutil -A -n “GeoTrust SSL CA” -t “C,” -d ~/.certs -i ~/.certs/163.crt

certutil -A -n “GeoTrust SSL CA - G3” -t “Pu,Pu,Pu” -d ~/.certs/./ -i qq.crt

certutil -A -n “GeoTrust Global CA” -t “C,” -d ~/.certs -i ~/.certs/qq.crt

certutil -A -n “GeoTrust SSL CA” -t “C,” -d ~/.certs -i ~/.certs/qq.crt

 

 

 

 

 

 

 

 

 

 

 

 可以查询日志 看错误问题 然后一个个的去排除

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 以下是使用java代码实现接口发送邮件

 

 

posted @ 2024-08-13 10:15  奉利民  阅读(16)  评论(0编辑  收藏  举报