linux sendmail mutt 发送邮件

yum install sendmail* 

yum install mutt

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

service sendmail start

修改/etc/hosts文件, 添加  127.0.0.1   hdytest01


echo "abc"|mutt -s "test" [email protected]

你可能感兴趣的:(linux sendmail mutt 发送邮件)