首页 > 代码库 > msmtp+mutt
msmtp+mutt
[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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。