convert unix->outlook email format

Peter L. Peres plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Mon Jul 5 06:01:46 UTC 2004


On Sat, 3 Jul 2004, Fraser Campbell wrote:

> On July 2, 2004 03:38 am, Peter L. Peres wrote:
>
> > I seek $SUBJ scripts or equivalent. I know it's in the wrong direction ;-)
>
> The simplest method that comes to mind is to setup an imap server for reading
> your mailboxes, setup outlook to read from the imap server, drag the mail
> into your Outlook folders.

Hm, I haven't thought of that. Unfortunately I can't do that. I need to
'thaw' mail archives for someone who is not computer literate and lost her
mail due to Allesschluck [*]. She is not localized where I am.

> If you're trying to convert multiple mailboxes for multiple users this
> obviously would get too time consuming ...
>
> > Also, is it possible to run squirrelmail on a unix mailbox file (very
> > large) and present the result as html ?
>
> I'm not sure that squirrelmail supports mbox files directly but again you
> could setup an imap server and configure squirrelmail to use that imap
> server.

At least one of the webmail programs allows a unix mbox file to be fed
into it and will turn it into webmail. But I do not remember which one.

> > What would the best tool be for this (convert a large file of unix mail to
> > html or similar).
>
> Yuck, how do you convert mail to html, wrap <pre> tags around the body?

How does squirrelmail do it ? Incidentally I have 'played' with groff to
do this and the results are not bad at all as long as there are no tables
in it and quoted parts are treated specially (by a script that you get to
write).

> You could use formail to split up the large mailbox into individual emails
> then feed that to a shell script to do the formatting.

I just did that the other day. Can Outlook import unix mbox format ?

Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list