seth@ctr.columbia.edu (Seth Robertson) (06/22/89)
Well, I just wanted to make a minor flame about Cnews and nntp. Both packages were very easy to build and install. It took a few hours (because I was waiting for the compiles) However, once Cnews was up and running && nntpd was accepting news from my feed, it was not obvious how to get Cnews to post outgoing mail. Once I figure out exactly what I had to do, perhaps I might write a short document on the subject... -- -Seth Robertson seth@ctr.columbia.edu
lamy@ai.utoronto.ca (Jean-Francois Lamy) (06/22/89)
>However, once Cnews was up and running && nntpd was accepting news from >my feed, it was not obvious how to get Cnews to post outgoing mail. In the sys file you should have lines similar to: (the choice of /news/batch is arbitrary, as long as nntpsend and nntpxmit expect to look there -- you have to use the system's internet name, as I recall) utstat:world,comp.all,comp.all.all:F:/news/batch/utstat.toronto.edu mailrus:world,na,usa,can,ont,gnu,inet,ddn,comp,news,sci,rec,misc,soc,talk,alt:F:/news/batch/mailrus.cc.umich.edu rutgers:world,na,usa,can,ont,gnu,inet,ddn,comp,news,sci,rec,misc,soc,talk,alt:F:/news/batch/rutgers.edu and we run the following script periodically: #!/bin/sh - # # ship out outstanding nntp jobs. # /news/bin/nntp/nntpsend mailrus.cc.umich.edu utstat.toronto.edu rutgers.edu \ 2>&1 >>/news/log/nntpsend.log You may consider arranging so that nntpsend is run everytime relaynews exits; this depends on how long it takes for your nntpxmits to run. I *think* nntpsend will work even if you put it in the background and let another relaynews add on to the "batch" file, but I have not tried this. Finally, if you look under contrib/nntpmail/nntp_support you will find unsupported tools to support (!) posting via the nntp fake inews to a central news server. Your nntpd should probably invoke the server_inews file there instead of the regular inews. The README files in there have more to say. There is also a front-end script if you want the fake inews to understand the standard inews flag, etc. Another way to skin the same cat could have been to add a vianntp script to the batcher, but I haven't looked into what that would entail. "Hey, it works for me..." - anonymous "It better, you wrote it" - another Jean-Francois Lamy lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4
lamy@ai.utoronto.ca (Jean-Francois Lamy) (06/23/89)
In article <89Jun22.072912edt.11708@neat.ai.toronto.edu> lamy@ai.utoronto.ca (Jean-Francois Lamy) writes: >#!/bin/sh - ># ># ship out outstanding nntp jobs. ># >/news/bin/nntp/nntpsend mailrus.cc.umich.edu utstat.toronto.edu rutgers.edu \ > 2>&1 >>/news/log/nntpsend.log please make that last line >>/news/log/nntpsend.log 2>&1 (order of redirection does matter to sh). Thanks to the person who pointed out this common error (statware!usenet). Jean-Francois Lamy lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4