mailx加163邮箱发邮件 参考:https://www.cnblogs.com/myvic/p/9579954.html 配置 $ yum install mailx -y $ vim /etc/mail.rc set from=m17114517139_2@163.com set smtp=smtps://smtp.163.com:465 set smtp-auth-user=m17114517139_2@163.com set smtp-auth-password=zhj6b266 se
#启动邮箱服务 systemctl start postfix.service #配置用户的邮箱发送邮件 vim /etc/mail.rc set from="xxx@xxx.com" set smtp="smtps://smtp.exmail.qq.com:465" set smtp-auth-user="xxx@xxx.com" set smtp-auth-password="xxxxxx" set smtp-auth=l