On Thu, 18 May 2006, Peter Ip wrote:
I'm trying to convert unix inboxes to MBX. I've just compiled imap2004g and
I'm trying to use mailutil. But when I convert I get:
./mailutil copy test2 '#driver.mbx/ttt'
warning: Unknown flag: key1
warning: Unknown flag: $KEY2
warning: Unknown flag: KEY2
Is there a way to preserve keywords/flags?
Peter and list
I have just being going through the same process. Your question reminds me
that I am overdue in sending a summery to the list, sorry for the delay
folks.
I ended up writing a perl script which did the following.
1) Grep the mbox file for X-Keyword lines and build a list of keyword
flags
2) Create an empty mbx format INBOX file with these keyword flags defined.
By empty I mean a file with the mbx file header but no mail messages, not
a zero size file.
3) Use "mailutil append" to copy the messages from the old mbox to the new
mbx format INBOX
This seems to have worked so far without mishap.
All the best
Richard Westlake
School of Crystallography, Birkbeck College, Malet Street, London WC1E 7HX
Tel: 020-7631-6859
----------------------------------------------------------------------
Truth endures but spelling changes -- Anon.
----------------------------------------------------------------------
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw