centos安装mail命令以及mutt命令过程及问题总结

时间:2024-11-06 11:13:06

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