2004/06/26

又一个基于mBox格式文件的转信工具:gExodus - a graphical Gmail import tool

redemption in a blog: gExodus - a graphical Gmail import tool

Unix mBox格式,是一种经典的archive 邮件的方式,每一封邮件在编码后按一个个mail box平面堆叠成一个文本文件。由于大多数email client都支持导出成mbox的格式,所以mbox事实上成为了平台转换的中间件了。

Gmail的出现,寻求把历史邮件转移到GMAIL保存的方法成为了迫切的需要,前几天的GML就是把mbox或maildir(这个不知是什么格式)批转到gmail的,但试用后,问题较多,不好用:


1, 部分中文邮件的header没有MIME编码,GML不会在resent时给它编码,这导致了GMAIL里显示中文标题和中文收发人名称成乱码,Gmail把这类邮件都SPAM掉。
2,部分中文邮件没有content-type,GML不会按locale加上缺省charset,导致GMAIL显示中文乱码。
3,发送fail或skip掉的邮件没有记录,fail的邮件又不会重发,不方便断点续送。
4,不知是python的bug还是windows的问题,GML使用python来处理mbox文件,它总是把next msg的首行(from行)的部分字符追加到上一邮件的末尾,而且这个问题,似乎用家都无觉察。
5,可能是python的win引擎不好,经常在发出部份信后,程序无响应,挂起。


今天,又看到一个基于python的Redirect mails工具:gExodus,没有提供源码:

When I saw (and used) Mark Lyon's Mbox & Maildir to Gmail Loader (GML) (I wrote about it), I was inspired to write a GUI version of it (I didn't copy Mark's code, just in case, though it works on the same basis). gExodus is what came out at the end of half a day's work.


0 评论数:

Post a Comment

<< 首页