wenjs00 2020-03-06
yum install sendmail mailx
vi /etc/mail.rc
set
set smtp=smtp.mxhichina.com
set
set smtp-auth-password=123456
set smtp-auth=login
Ubantu
apt-get install sendmail
apt-get install sendmail-cf
apt-get install mialutils
apt-get install mailutils
apt-get uninstall mailutils -y
apt-get uninstall mailutils
apt-get install heirloom-mailx
vi /etc/s-nail.rc
set
set smtp=smtp.mxhichina.com
set
set smtp-auth-password=123456
set smtp-auth=login
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common