码迷,mamicode.com
首页 >  
搜索关键字:mailx    ( 163个结果
mailx-Nagios手动测试报警邮件
最近Naigos修改contact,需要手动发送测试邮件Centos(其他版本可参照manmail,manmailx获得更多信息)创建邮件内容文件mail.txt[root@localhost~]#touchmail.txt[root@localhost~]#vimail.txt编辑好以后内容后发送邮件mailx-s‘testasimplemail‘aaaaaa@yahoo.cn<mail.txtaaaa..
分类:移动开发   时间:2014-07-24 17:54:03    阅读次数:280
命令行发送邮件
CentOS stop or remove sendmail:yum remove sendmailyum install postfixyum install mailx 检查MTA是否为Postfix:alternatives --display mta 如果不是更改默认MTA为Postfix:/usr/sbin/alternatives --set mta /usr/sbin/se...
分类:其他好文   时间:2014-07-13 16:10:00    阅读次数:233
阿里云ContOS通过SSH登录自动发送通知邮件
阿里云限制了sendmail,我们用Linux自带的postfix先检查下有没有postfixrpm -qa | grep postfix查到后按这个博客配置配置并重启好postfix后,安装mailxyum install mailx -y最后创建/etc/ssh/sshrc文件,并写入如下内容#...
分类:其他好文   时间:2014-07-06 21:29:52    阅读次数:225
163条   上一页 1 ... 15 16 17
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!