1. yum -y mail* sendmail* postfix* service sendmail start 2. cp /etc/mail.rc /etc/mail.rc.bak cat > /etc/nail.rc<<EOF set from=youname@rekfan.com set smtp=smtp.rekfan.com set smtp-auth-user=youname set smtp-auth-password=youpassword set smtp-auth…
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…