1、测试发送邮件:echo'test'|mail-s'test' xxx@qq.com
2、查看postfix状态:servicepostfixstatus
3、重启sendmail:/etc/init.d/sendmailrestart
4、安装mutt:yum install-ymutt
5、安装mail:yuminstall-ymail
6、停止postfix:servicepostfixstop
7、安装sendmail:yuminstall-ysendmail
8、启动sendmail:/etc/init.d/sendmailstart
9、查看sendmail状态:/etc/init.d/sendmailstatus