转载请注明出处,博客地址:http://blog.csdn.net/wodatoucai谢谢!!
1.安装sendmail:yum install -y sendmaill
2.安装mail:yum install -y mail
3.安装mutt:yuminstall -y mutt
4.启动sendmail:/etc/init.d/sendmail start
5.查看sendmail状态:/etc/init.d/sendmail status
如果出现,证明启动失败,原因为postfix与sendmail冲突。
6.查看postfix状态:service postfix status
7.停止postfix:service postfix stop
8.重启sendmail:/etc/init.d/sendmail restart
9.测试发送邮件:echo 'test' | mail -s 'test' xxx@qq.com
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。