系统相关
首页 > 系统相关> > Linux sendmail

Linux sendmail

作者:互联网

CentOS

yum install sendmail mailx

vi /etc/mail.rc

set from=test@office.com
set smtp=smtp.mxhichina.com
set smtp-auth-user=test@office.com
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 from=test@office.com
set smtp=smtp.mxhichina.com
set smtp-auth-user=test@office.com
set smtp-auth-password=123456
set smtp-auth=login

标签:office,get,sendmail,smtp,auth,install,Linux,comset
来源: https://blog.51cto.com/14142757/2475916