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

Home » FUDforum » FUDforum Installation Issues » Importing large mailing list?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Importing large mailing list? [message #22773] Tue, 15 February 2005 16:18 Go to next message
marmite is currently offline  marmite   Germany
Messages: 2
Registered: February 2005
Karma: 0
Junior Member
I have several thousand messages from a mailing list I want to import into FUDforum. The messages are currently stored in Maildir format on my Courier IMAP mailserver. The server does virtual hosts, so there's no linux logon associated with this list.

Is there an easy way to "feed" the messages through procmail to import them into the forum?

Thanks,

James
Re: Importing large mailing list? [message #22774 is a reply to message #22773] Tue, 15 February 2005 16:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Search the forum archives, there were more 1 sample scripts for the purposes of importing large quantity of messages from Maildir/.

The basic operation would be (pseudo-code):

$msg_list = "list all messages by date in ascending order"
foreach ($msg_list as $message)
cat $message | maillist.php [import_rule_id]


FUDforum Core Developer
Re: Importing large mailing list? [message #22841 is a reply to message #22773] Fri, 18 February 2005 08:46 Go to previous messageGo to next message
marmite is currently offline  marmite   Germany
Messages: 2
Registered: February 2005
Karma: 0
Junior Member
Thanks for the tip - the import script is working fine.

Can I ask how FUDforum's maillist.php script works out which messages should be in a thread together? I'm importing lots of messages from a Yahoo Group, and it appears that some of the threads aren't being recognised as a a thread, so in the FUDforum view, each message shows as a separate thread (although they were one thread on the mailing list).

Also, does it matter in which order I import the messages?

Thanks,

James

[Updated on: Fri, 18 February 2005 08:47]

Report message to a moderator

Re: Importing large mailing list? [message #22854 is a reply to message #22841] Fri, 18 February 2005 16:27 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It used message headers that contain a reference to the message the current message is a reply to. Inside maillist import you can also enable " Slow Reply Match" that will look @ the subjects of the message in the absense of needed headers.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Forum email
Next Topic: Enable the forum's built-in email client...
Goto Forum:
  

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

Current Time: Sun Nov 24 05:36:27 GMT 2024

Total time taken to generate the page: 0.02607 seconds