FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Converters » Yahoo Groups -> mbox -> maillist.php -> missing posts
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Yahoo Groups -> mbox -> maillist.php -> missing posts [message #21573 is a reply to message #15681] Sat, 04 December 2004 02:04 Go to previous message
srchild is currently offline  srchild   United Kingdom
Messages: 88
Registered: December 2003
Location: UK
Karma:
Member
srchild wrote on Wed, 31 December 2003 06:28

I've thought of a couple more things I can try first:

  • feed in the suspect messages singly and see if they are accepted
  • Using this: http://batleth.sapienti-sat.org/projects/mb2md/ I have split the mbox into single messages, and so if I can work out the shell scripting I can feed genuine single messages to maillist.php



Almost 12 months later I have returned to this project, and am now succeeding Smile

So I thought I'd post the success details in case others are trying this (Migrate Yahoogroup -> FUD).

I got the archive from Yahoo using Yahoo2mbox http://www.tt-solutions.com/en/products/yahoo2mbox/

I tidied it up a bit to remove some of the adverts etc (some done by hand, some done using regex search replace in vim)

I converted it to maildir format using mb2md.pl http://batleth.sapienti-sat.org/projects/mb2md/

I then fed it to maillist.php, using a sleep so that it could keep up. This seemed to be the key point. with a sleep of 0.5 (FreeBSD supports sleep for fractions of a second) I still lost about 50% of messages, but with a sleep of one second between messages I didn't lose a single one.

for i in /path/to/maildir/cur/*
do
cat $i |/usr/local/bin/php /path/to/FUDforum/scripts/maillist.php 4
sleep 1
done



Simon Child
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Where to start?
Next Topic: Conversion phpBB 2.0.5 => FUDforum problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri May 17 02:25:13 GMT 2024

Total time taken to generate the page: 0.05852 seconds