摘要:
1. 创建 sendmail证书cd /etc/ssl/certs/make sendmail.pem2 .添加authinfo在/etc/mail/access 中添加AuthInfo:smtp.gmail.com “U:root” “I:User@gmail.com” “P:password” “M:PLAIN”AuthInfo:smtp.gmail.com:587 “U:root” “I:User@gmail.com” “P:password” “M:PLAIN” 生成数据库makemap -r hash /etc/mail/access.db < /etc/mail/access 阅读全文