|
|
1.1 root 1: [This is a fairly old (but hardy!) version of nntpxmit. Erik Fair has
2: promised a newer version with more features "soon". -- Phil, 15 Oct 87]
3:
4: The program "nntpxmit" is an active trnamission client
5: (see the comment in nntpxmit.c for a description of the
6: difference between active and passive clients) written by Erik Fair
7: <[email protected], ...!ucbvax!fair>.
8:
9: nntpxmit requires support from the 2.11 news source.
10: Because of this, it must be compiled in the "src" directory of
11: the 2.11 distribution. You should:
12:
13: 1. Move the *.c and *.h files to 2.11/src
14:
15: 2. Move ../common/response_codes.h into 2.11/src
16:
17: 3. Add the lines in the Makefile in this directory to the
18: 2.11/src Makefile. You can just cat the Makefile
19: here to the Makefile in the 2.11/src directory, if
20: you'd like.
21:
22: 4. Then do "make nntpxmit".
23:
24: Having compiled nntpxmit like that, you need to set your news
25: system up to use it. Nntpxmit takes as arguments an internet host
26: to connect to, and a file containing a list of articles to send to
27: it.
28:
29: So, you might edit your news sys file to have an entry like:
30:
31: #
32: # NASA Ames Research Center
33: #
34: nike:ucb,uc,mod,to.nike:F:/usr/spool/news/batch/ames-titan.arpa
35:
36: This will place names of news articles in the ucb, uc, and mod newsgroups
37: in the file "/usr/spool/news/batch/ames-titan.arpa". This is because
38: we assume the output batch file will be the machine's internet name.
39:
40: Periodically, you should have crontab run "nntpsend" to transmit
41: the news. A good choice for "periodically" is every 10 minutes.
42: nntpsend depends on the program "shlock", which you'll need to
43: compile by hand (horrors):
44:
45: cc -O -o shlock shlock.c
46:
47: Also, nntpsend will need to be customized for your system.
48: Fortunately, it's pretty straightforward.
49:
50: nntpxmit has an option "-s" which *supresses* statistic
51: logging via syslog. Additionally, the "-d" option is availible
52: for debugging.
53:
54: Please forward comments/suggestions for improvement/bugs to
55: Erik Fair, <[email protected]>.
56:
57: [My thanks extended to Erik for writing nntpxmit, shlock,
58: and the stats scripts. My thanks also to Mel Pleasant
59: <[email protected]> for the nntpsend script. --Phil]
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.