🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by sbanetweb Tue, 23 Jun 1998 00:00
INN and Newsgate
#29315
Author: sbanetweb
Date: Tue, 23 Jun 1998 00:00
20 lines
1284 bytes
Has anyone successfuly installed Newsgate (from www.isc.org)?

I've battled thru most of the problems, but am stuck with the following error:

cc -g -DUSE_PARSEDATE   -c lex.c -o lex.o
lex.l: In function yylex:
lex.l:79: `yylineno' undeclared (first use this function)
lex.l:79: (Each undeclared identifier is reported only once
lex.l:79: for each function it appears in.)
lex.l: In function yyerror:
lex.l:183: `yylineno' undeclared (first use this function)
gmake: *** [lex.o] Error 1

Any ideas?

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

Re: INN and Newsgate
#29289
Author: Russ Allbery
Date: Tue, 23 Jun 1998 00:00
22 lines
1559 bytes
Igor Vinokurov <igor@zynaps.ru> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> Yes, and then gave it up down the road, first in favor of a quick hack and
>> then in favor of something more complex.  If you already have Perl
>> installed, you may want to look at my News::Gateway package instead, in
>> combination with either the listgate example program that comes with it or
>> with Jeff Garzik's mail2news.pl at:
>>   <URL:http://www.spinne.com/usenet/scripts/mail2news.pl>

> BTW, how to build two-way gateway? mail2news and news2mail?

News::Gateway has support for news2mail as well as mail2news, just by
using different modules; unfortunately, I don't have a good example of how
to do this included in the package, so one would have to figure it out
from the documentation (which admittedly is fairly extensive).

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN and Newsgate
#29293
Author: Igor Vinokurov
Date: Tue, 23 Jun 1998 00:00
17 lines
1169 bytes
Russ Allbery <rra@stanford.edu> wrote:
> > Has anyone successfuly installed Newsgate (from www.isc.org)?
> 
> Yes, and then gave it up down the road, first in favor of a quick hack and
> then in favor of something more complex.  If you already have Perl
> installed, you may want to look at my News::Gateway package instead, in
> combination with either the listgate example program that comes with it or
> with Jeff Garzik's mail2news.pl at:
>   <URL:http://www.spinne.com/usenet/scripts/mail2news.pl>

BTW, how to build two-way gateway? mail2news and news2mail?

-- 
Igor Vinokurov

Re: INN and Newsgate
#29297
Author: Dave Barr
Date: Tue, 23 Jun 1998 00:00
15 lines
1106 bytes
In article <6mp56h$dmq$1@newssvr03-int.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>With CNFS you can't just take the filename, you have to extract the
>article from a file by use of a magic token, not nearly as easy.

This is almost as easy with using "sm".  Feed it a token and it
will spit out the article.

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Re: INN and Newsgate
#29305
Author: sbanetweb
Date: Tue, 23 Jun 1998 00:00
13 lines
924 bytes
Thank you, I'll give it a try!


Appreciate the help




-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

Re: INN and Newsgate
#29307
Author: Russ Allbery
Date: Tue, 23 Jun 1998 00:00
16 lines
1151 bytes
sbanetweb <sbanetweb@my-dejanews.com> writes:

> Has anyone successfuly installed Newsgate (from www.isc.org)?

Yes, and then gave it up down the road, first in favor of a quick hack and
then in favor of something more complex.  If you already have Perl
installed, you may want to look at my News::Gateway package instead, in
combination with either the listgate example program that comes with it or
with Jeff Garzik's mail2news.pl at:
  <URL:http://www.spinne.com/usenet/scripts/mail2news.pl>

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN and Newsgate
#29319
Author: bill davidsen
Date: Tue, 23 Jun 1998 00:00
36 lines
2254 bytes
In article <6molra$2o0$1@escape.rtsnet.ru>,
Igor Vinokurov  <igor@zynaps.ru> wrote:
| Russ Allbery <rra@stanford.edu> wrote:
| > > Has anyone successfuly installed Newsgate (from www.isc.org)?
| > 
| > Yes, and then gave it up down the road, first in favor of a quick hack and
| > then in favor of something more complex.  If you already have Perl
| > installed, you may want to look at my News::Gateway package instead, in
| > combination with either the listgate example program that comes with it or
| > with Jeff Garzik's mail2news.pl at:
| >   <URL:http://www.spinne.com/usenet/scripts/mail2news.pl>
| 
| BTW, how to build two-way gateway? mail2news and news2mail?

Before CNFS this was relatively easy. You did the mail to news with a
small script (I used awk years before perl was invented), and just
defined a feed for the newsgroup filenames to a file, which was then
read by a daemon and mailed to the list.

For more control you made the newsgroups moderated and made the
moderator the posting address, imposing whatever human or automatic
filters were needed.

With CNFS you can't just take the filename, you have to extract the
article from a file by use of a magic token, not nearly as easy.
However, you can diddle it with nntpget if you want to use shell rather
than writing a program.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Anything worth doing is worth doing to excess."
	-- Fat John (R.I.P.)


Re: INN and Newsgate
#29336
Author: sbanetweb
Date: Wed, 24 Jun 1998 00:00
19 lines
1470 bytes
In article <6mp56h$dmq$1@newssvr03-int.news.prodigy.com>,
  davidsen@tmr.com (bill davidsen) wrote:
> Before CNFS this was relatively easy. You did the mail to news with a
> small script (I used awk years before perl was invented), and just
> defined a feed for the newsgroup filenames to a file, which was then
> read by a daemon and mailed to the list.
>


Thank you for your comments, I however run a small, low volume (about a dozen
newsgroups) private news server.  CNFS was overkill.

Again appreciate the help.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

Re: INN and Newsgate
#29347
Author: bill davidsen
Date: Thu, 25 Jun 1998 00:00
35 lines
2183 bytes
In article <6mqbfs$c4t$1@danube.inka.de>,
Olaf Titz <olaf@bigred.inka.de> wrote:
| bill davidsen <davidsen@tmr.com> wrote:
| > With CNFS you can't just take the filename, you have to extract the
| > article from a file by use of a magic token, not nearly as easy.
| 
| It's exactly as easy. Replacing
| open(F, $article)
| with
| open(F, "sm '$article' |")
| doesn't look too hard to me ;-)

In terms of programming, no. In terms of what resources it takes...
let's say I'm glad this needs to be done infrequently enough that it's
just a bit slow.

And while the implementation of the grephistory "-s" flag is technically
correct for storageapi, it's also useless! I will probably add another
option next month to emit the token instead of a filename, so you can
still send the files when you must.

Overall it looks pretty solid, running as slave still seems to have some
problems, but I don't know yet if they're in the code or my usage.
Documentation on using the various hooks seems rather scarce, I'll look
at the next version of the FAQ before complaining about that, but source
code is not the same thing as documentation...

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Anything worth doing is worth doing to excess."
	-- Fat John (R.I.P.)


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads