[root@localhost jinhu]# wget http://sourceforge.net/projects/msmtp/files/msmtp/1.4.28/msmtp-1.4.28.tar.bz2 [root@localhost jinhu]# tar xvf msmtp-1.4.28.tar.bz2 [root@localhost jinhu]# cd msmtp-1.4.28 [root@localhost msmtp-1.4.28]# ./configure --prefix=/usr/local/msmtp [root@localhost msmtp-1.4.28]# make && make install [root@localhost msmtp]# cd /usr/local/msmtp [root@localhost msmtp]# mkdir etc [root@localhost msmtp]# cd etc/ [root@localhost etc]# vim msmtprc account default host smtp.163.com port 25 from tiger1121@163.com auth login tls off user tiger1121@163.com password mima123457. logfile /var/log/mmlog [root@localhost etc]# /usr/local/msmtp/bin/msmtp 1908616619@qq.com sdfsdfsdfsdfsdsdf sdfsdfsd [root@localhost etc]# yum install mutt [root@localhost etc]# more /etc/Muttrc set sendmail="/usr/local/msmtp/bin/msmtp" set use_from=yes set realname="tiger1121@163.com" set editor="vim" [root@localhost etc]# echo "testmail" |mutt -s "zhengwen" 1908616619@qq.com
msmtp+mutt
原创kingtigerhu 博主文章分类:linux 管理 ©著作权
©著作权归作者所有:来自51CTO博客作者kingtigerhu的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:linux xrdp0.6 安装
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
linux下的邮件客户端msmtp+mutt安装配置
linux下的邮件客户端msmtp+mutt安装配置
linux下的邮件客户端msmtp+mu