一个完备的个人邮件解决方案

[撰文/lmm]

有同学说搞wm是浪费时间,那我来发点有用的东西。一切关于linux和windows,cli和X的辩论请绕行。

本系统由以下软件组成:

  • getmail
  • crm114
  • maildrop
  • mutt
  • exim4
  • r2e
  • grepmail
  • pidgin(可选)

主要实现的目标:

  • 从多个支持pop3协议的邮箱收信
  • 订阅感兴趣的rss内容发到本地信箱
  • 备份所有进出邮件
  • 达到90%以上的垃圾邮件过滤
  • 重要邮件的短信发送

顺便说一下,crm114是一个不错的邮件过滤系统,配置上稍微麻烦点,但是过滤效果惊人,官方主页说能有99%的过滤效果。有一个学习过程。就是你可以在mutt里面标记这个信是垃圾邮件或者是正常邮件来让crm114学习。也支持黑白名单。

grepmail可以搜索邮件,把你感兴趣的内容通过飞信发到你手机。

r2e是一个可以把rss内容发到邮箱的软件。

所有这些软件的定时执行都是用crontab来实现。

exim4是debian默认的MTA,非常不错。

mutt是一个不错的MUA,相信大家都很熟悉了。

这些软件的配合和邮件的流程参考结构图:

email-solution-thumb.png 点击可放大

提供一个结构图,希望大家切磋。

ps:这是一个实际在运转的系统。

Read More:

24 Comments

  1. 1 佚之狐L Commented @ 2008-08-08 9:09Reply to this comment

    结构图用什么画的?Dia?

  2. 2 lmm Commented @ 2008-08-08 9:19Reply to this comment

    是用dia画的

  3. 3 minyoad Commented @ 2008-08-08 9:26Reply to this comment

    呵呵,很不错,不知道用飞信发到sms怎么弄的

  4. 4 lmm Commented @ 2008-08-08 9:32Reply to this comment

    我选择的方法是利用pidgin的dbus特性加飞信的pidgein插件来实现的,pidgind里面purple系列的命令可以实现。另外飞信有一个命令行的实现,用这个是最简单的。

    顺便说一句,这个系统发信可以直接发,也可以把exim4做为一个客户端连到smtp服务器发信。

  5. 5 tdsparrow Commented @ 2008-08-08 9:54Reply to this comment

    http://www.libfetion.cn/index.html 上面给的头文件和.o文件已经几乎可以让你作任何事情了,有朋友已经wrap出java,python,php的扩展了。希望不会被封。

  6. 6 liufeng Commented @ 2008-08-08 10:48Reply to this comment

    完备是完备矣。但对初级用户复杂了一些。虽然不如你的方案功能多,但Evolution或Thunderbird之类的软件应该能满足大多数需求了。尤其是在邮件数量不多的时候,mutt之类的工具优势不好体现。

    @Imm 我很期待有这些工具的中文实例配置教程。我过去就怎么都配置不好getmail接收gmail,最后不得不用fetchmail。从网上找过一些文档,但实际用起来就不是很成功。工具之间的沟通也是一个问题。

  7. 7 lmm Commented @ 2008-08-08 11:07Reply to this comment

    接收gmail的邮件要用SimplePOP3SSLRetriever retriever. server是pop.gmail.com port是995

  8. 8 lmm Commented @ 2008-08-08 11:22Reply to this comment

    一个getmail接收gmail的实例 http://paste.ubuntu.org.cn/8931

  9. 9 于仁颇黎 Commented @ 2008-08-08 11:39Reply to this comment

    不错,最好能做一个详尽的应用解决方案,类似windows下的lotus note,将日历,todo,邮件,文档管理,联系人管理等等都整合在一起.比如emacs使用之类的.

  10. 10 lmm Commented @ 2008-08-08 12:22Reply to this comment

    如果要那样整合可能会非常复杂,在CLI下面我用这些软件实现。 pal (日历加事件提醒) devtodo (结构化的todo list) abook 联系人管理(可以直接调用mutt发信)

  11. 11 恶臭的 Commented @ 2008-08-08 15:47Reply to this comment

    以前我用mutt,不过mutt的缓存很慢,就换了alpine, alpine的配置简单,现在我的mail client就装了alpine+bogofilter两个包

  12. 12 希罗 Commented @ 2008-08-08 16:18Reply to this comment

    我的conky里有一个脚本,定时检查我的gmail邮件, 邮件习惯了在线阅读了! 邮件短信提醒,用饭否可以实现!

  13. 13 风子 Commented @ 2008-08-08 21:10Reply to this comment

    有没有详细的文档配置?很期待,呵呵 如果有,可否发到我的邮箱上,非常感谢

  14. 14 xiaket Commented @ 2008-08-08 22:52Reply to this comment

    嗯,同期待~

  15. 15 Nino Commented @ 2008-08-08 23:00Reply to this comment

    觉得gmail的邮件分组很好用 如果用mutt的话,就丢掉了这个功能 所以我还是用web了

  16. 16 najja Commented @ 2008-08-09 16:46Reply to this comment

    俺想看emacs里的读rss的方案...

    俺现在用emacs-w3m看俺自己在google reader里的public page,啥都不设置,囧

  17. 17 iveney Commented @ 2008-08-09 21:10Reply to this comment

    这篇文章越看越有味道 特别是后面的dbus linux的小工具能搭建出大系统

  18. 18 R2 Commented @ 2008-08-11 11:59Reply to this comment

    同样期待更详细的文档,能否发到邮箱里?

  19. 19 lmm Commented @ 2008-08-11 17:31Reply to this comment

    根据这个流程图,再看看各种软件的文档,很容易就实现了,要多自己动手。

  20. 20 AndyWxy Commented @ 2008-08-18 10:17Reply to this comment

    很赞很赞,有机会要试一试,

  21. 21 weakish Commented @ 2008-08-20 23:20Reply to this comment

    如果要求不高的话可以用Gmail收其他pop3的信箱,用Gmail的垃圾邮件过滤功能。

    rss用抓虾、鲜果、google reader之类。

    短信通知利用Gmail的filter将重要信件转发到支持发送短信的mail2microblog。

    这样不需要24小时在线的机子。

  22. 22 crm114 Commented @ 2008-10-04 14:07Reply to this comment

    crm114可以换成spamfilter.lua+osbf-lua,这个是crm114的lua port。

  23. 23 sacs à main Commented @ 2009-09-30 15:19Reply to this comment

    很好呀 不错

  24. 24 Chaussures femmes Commented @ 2010-01-14 9:55Reply to this comment

    非常好。。。