服务端: qmail sendmail postfix(CentOS 6 自带)post
协议 :SMTP队列
端口 :25it
客户端:mail,muttqq
1. /etc/init.d/postfix status客户端
2. lsof -i:25协议
1.mailhosts
mail -s "标题" 邮件地址 < 要发送的文件word
mail -s "hello world" 623799533@qq.com </etc/hosts端口
echo "正文|mail -s "hello world" 623799533@qq.com服务端
mailq 查看发邮件的队列
2.mutt -->同mail
mutt -s ""
1.直接启动postfix服务
2.借助第三方的smtp服务
1.vi /etc/mail.rc
send mail from qq.comset from=62379@163.com smtp=smtp.163.comset smtp-auth-user=62379 smtp-auth-password=qq@123 smtp-auth=login