HOWTO import kmail content into Evolution? (request for help)

Lars E. Pettersson sm6rpz at home.se
Wed Dec 3 19:15:23 UTC 2003


On Monday 01 December 2003 20:48, Edward Hanna wrote:
...
> This should import 90-95% of the emails. For some reason some of mine
> were currupted on the import processes. In which case, I just needed to
> import them as separate files and the were ok.

Just exported mails from Kmail to evolution on a RedHat 7.3 machine, using 
exactly the same technique as you. One problem I noticed was that lines in 
the messages starting with the word From caused corrupted mails. The 
messages were split into two at the point of the line starting with From.

I hade some folders in mbox-format, and with those I had no problems 
importing them into evolution.

So perhaps one should make a 'grep "^From " mbox | grep -v 200' to find the 
body lines beginning with From and change them into something. Looking at 
the mbox-file that succeded one should change all lines beginning with 
>From into a line beginning with ">From" (Note that there is a valid line 
starting with From in each message. It looks something like this "From 
aa at bb.cc.se Fri Sep  5 17:53:57 2003", do not change that row, only rows 
starting with From in the text body.)

Not sure what the mbox standard says, but this seem to work. Looking at how 
Kmail in Fedora Core 1 acts, I'd say that it works the same there. By the 
way, this is not a bug, just how things are. One would need a real export 
function or something in Kmal.

/Lars





More information about the fedora-list mailing list