|
Re: Newsgroup Import Hack? [message #9090 is a reply to message #9078] |
Thu, 13 March 2003 14:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Yeah, make some sort of a script that will pipe the messages one by one to maillist.php.
FUDforum Core Developer
|
|
|
|
|
|
Re: Newsgroup Import Hack? [message #9173 is a reply to message #9165] |
Fri, 14 March 2003 05:53 |
|
forrie
Messages: 47 Registered: August 2002 Location: Derry, NH
Karma: 0
|
Member |
|
|
I have the mailing list gateway working finally. However, I'm running into a problem with maillist.php not apparently parsing the Usenet headers correctly.
For example, one of the old Usenet posts has this for headers:
Path: news.iii.net!iii2.iii.net!not-for-mail
From: bsmith(at)iii2(dot)iii(dot)net (Bob)
Newsgroups: local.iii
Subject: (ALERT) INTERNET DAY OF PROTEST TUESDAY DECEMBER 12, 1995
Date: 10 Dec 1995 21:07:28 -0500
Organization: iii-net
Lines: 232
Message-ID: <4ag3p0$7qf(at)iii2(dot)iii(dot)net>
NNTP-Posting-Host: iii2.iii.net
X-Newsreader: TIN [version 1.2 PL2]
If I pipe this to maillist.php, it does get posted, but the poster is "Anonymous Coward" which means maillist.php isn't picking up the From: header.
By "pipe" I mean something like this:
$ cat 3232 | /usr/local/apache/htdocs/forum/scripts/maillist.php 1
Not sure if "1" is needed for that method.
It's pretty important that I get this info into the forum for what it's being used for, though.
Thanks,
Forrest
prottoss wrote on Thu, 13 March 2003 12:46 | It should....
|
[/quote]
[Updated on: Fri, 14 March 2003 06:19] Report message to a moderator
|
|
|