Chinaunix首页 | 论坛 | 博客
  • 博客访问: 426003
  • 博文数量: 53
  • 博客积分: 2746
  • 博客等级: 少校
  • 技术积分: 829
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-14 10:41
文章分类

全部博文(53)

文章存档

2016年(2)

2013年(1)

2012年(7)

2011年(10)

2010年(5)

2009年(20)

2008年(8)

我的朋友

分类: LINUX

2011-02-15 11:23:58

一、安装:
#opkg update
#opkg install msmtp
 
二、配置 /etc/msmtprc,内容如下:
 
defaults
logfile /var/log/longjindongmsmtp.log
account qq-mail
host smtp.qq.com
from
auth login
 
user
password xxxxxxxx
account default qq-mail
 
三、设置host QQ邮箱:
   进入邮箱,设置 --> 帐户 -->
POP3/IMAP/SMTP服务: 开启POP3/SMTP服务和
 
四、测试
# msmtp -t
to:123456787@qq.com
subject:test
                   ;这里要有空行,不然在对方邮箱看不到下面内容。
test msmtp
Ctrl + d;
打 就可看到内容。
End.
 
 
 
阅读(10273) | 评论(1) | 转发(3) |
给主人留下些什么吧!~~

chinaunix网友2011-03-05 16:13:07

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com