- 开启 QQ 邮箱的 的 SMTP ,邮箱,设置,账户,POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务,开启POP3
- 关闭机器的sendmail服务,开启postfix服务
#sendmial
service sendmail stop
chkconfig sendmail off
#postfix
service postfix start
chkconfig postfix on - 创建证书文件
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 SSL CA” -t “C,,” -d ~/.certs -i ~/.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 - 在 /etc/mail.rc 文件末尾添加以下
set from=xxxxxxxxx@qq.com
set smtp=smtp.qq.com
set smtp-auth-user=xxxxxxxxxx
#授权码
set smtp-auth-password=xxxxxxxxx
CDH5-CDH预警配置 QQ邮箱
最新推荐文章于 2022-03-24 10:17:45 发布