标签:
RHEL、CentOS:
[root@lhz ~]#yum install mailx
[root@lhz ~]#vi /etc/mail.rc
set from=名@163.com smtp=smtp.163.com
set smtp-auth-user=名@163.com smtp-auth-password=密
set smtp-auth=login
Ubuntu:
[root@lhz ~]#sudo apt-get install heirloom-mailx
[root@lhz ~]#vi /etc/nail.rc
set from=名@163.com smtp=smtp.163.com
set smtp-auth-user=名@163.com smtp-auth-password=密
set smtp-auth=login
标签:
原文地址:http://www.cnblogs.com/gdlhz888/p/5932652.html