Welcome, Guest. Please login or register.

Author Topic: convert YAM e-mails to other format  (Read 1183 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline LPTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 358
    • Show only replies by LP
    • http://bailout.dk
convert YAM e-mails to other format
« on: January 20, 2010, 05:26:47 PM »
Hi peeps,

I'm wondering if any of you know of any converting tools that can handle YAM mails/dir structure?

Best would be if one could convert it to the "maildir" format as this seems to be widely used.

I'd might even try to write a converter myself if nothing is available out there. But I have to ask before attacking it :)
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: convert YAM e-mails to other format
« Reply #1 on: January 20, 2010, 05:37:22 PM »
Not sure about 2.4 and beyond, but I recall with 2.2 and (I believe) 2.3 the messages were each stored in individual files.  This is how many old mail servers (like Post.Office) store their email, and there are plenty of conversion utlities out there.

If you are adventurous, you could use formail and mailutil to convert mail files from any format into whatever formats your mailutil supports - mbox, mbx, etc.  The later is part of the uw-imap suite (c-client, IIRC) and not sure about the former.  I do know that most Linux installations have them, and you can compile them on others as necessary (which is what I do for my Solaris boxes.)
 

Offline LPTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 358
    • Show only replies by LP
    • http://bailout.dk
Re: convert YAM e-mails to other format
« Reply #2 on: January 20, 2010, 06:07:04 PM »
I've never heard of formail and mailutil - but will investigate them, thanks.

I guess the files themselves should be re-encoded aswell? .. but what encoding are the default? or maybe there's a tool for that out there.. preferely from Xamigaformat to UTF-8 as this is default on my linux system.
 

Offline LPTopic starter

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 358
    • Show only replies by LP
    • http://bailout.dk
Re: convert YAM e-mails to other format
« Reply #3 on: January 20, 2010, 06:47:31 PM »
Whoops!

I've just tried to open a mail-file on linux.. seems it's clear text .. actually it's mbox format it seems.. my mail client of choice (KMail) can import mbox files.. though is a clumsy one.. but it seem to work :)

I guess I found the answer to my own question.