开启smtp设置,能够让邮箱注册。
在系统后台修改邮件配置文件
vi /etc/mail
set from=luoxuechengbei@qq.com #填写你的邮箱
set smtp=smtps://smtp.qq.com:465 #此处是qq的smtp服务器
set smtp-auth-user=luoxuechengbei@qq #填写你的邮箱
set smtp-auth-password=cdyrvbbjg qwer #填写你的客户端认证密码
set smtp-auth=login
set ssl-verify=ignore
set nss-config-dir=/root/.certs
yum install -y nss-tools #生成证书软件
mkdir -p /root/.certs/ #创建文件夹,生成证书
echo -n | openssl s_client -connect smtp.qq.com:465 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ~/.certs/qq.crt
certutil -A -n "GeoTrust Global CA" -t "C,," -d ~/.certs -i ~/.certs/qq.crt
certutil -L -d /root/.certs
cd /root/.certs
certutil -A -n "GeoTrust SSL CA - G3" -t "Pu,Pu,Pu" -d ./ -i qq.crt
几个好用插件
Easy WP SMTP
WP-China-Yes
文章评论