---
title: "把office邮件导入到linux thunderbird"
author: "卒子99"
date: "2012-06-26T21:31:55Z"
tags: []
categories: ["操作系统"]
slug: "office-linux-thunderbird"
draft: false
lastmod: "2012-06-26T21:31:55Z"
id: 1568581
url: "https://bbobchen.iteye.com/blog/1568581"
---

这两天完成了从windows下迁移到liunx的工作。
最蛋疼的就是要导邮件

方法1：从pst导入
1.从outlook中导出所有邮件为pst文件
2.在ubuntu下运行 sudo apt-get install readps
3.拷贝pst文件到任意目录 dir
4. cd dir
5.运行 readpst -M backup2.pst 读出文件
6.但所有的文件都是没有后缀的，所以运行命令修改文件后缀
  for i in `ls -1` ;do mv $i $i.eml;done
7.在thunderbird安装插件ImportExportTools


后面的工作就简单了，选择解析出来的eml文件导入到指定的文件夹即可