|
|
1.1 ! root 1: ! 2: The program "nntpxmit" is an active trnamission client ! 3: (see the comment in nntpxmit.c for a description of the ! 4: difference between active and passive clients) written by Erik Fair ! 5: <[email protected], ...!ucbvax!fair>. ! 6: ! 7: nntpxmit requires support from the 2.10.3 news source. ! 8: Because of this, it must be compiled in the "src" directory of ! 9: the 2.10.3 distribution. You should: ! 10: ! 11: 1. Move the *.c and *.h files to 2.10.3/src ! 12: ! 13: 2. Move ../common/response_codes.h into 2.10.3/src ! 14: ! 15: 3. Add the lines in the Makefile in this directory to the ! 16: 2.10.3/src Makefile. ! 17: ! 18: 4. Then do "make nntpxmit". ! 19: ! 20: Having compiled nntpxmit like that, you need to set your news ! 21: system up to use it. Nntpxmit takes as arguments an internet host ! 22: to connect to, and a file containing a list of articles to send to ! 23: it. ! 24: ! 25: So, you might edit your news sys file to have an entry like: ! 26: ! 27: # ! 28: # NASA Ames Research Center ! 29: # ! 30: nike:ucb,uc,mod,to.nike:F:/usr/spool/news/batch/nike ! 31: ! 32: This will place names of news articles in the ucb, uc, and mod newsgroups ! 33: in the file "/usr/spool/news/batch/nike". ! 34: ! 35: Periodically, you should have crontab run nntpxmit like so: ! 36: ! 37: nntpxmit ames.arpa:/usr/spool/news/batch/nike ! 38: ! 39: which sends each article via NNTP with the IHAVE command ! 40: to the host "ames.arpa". Once finished, it removes the file ! 41: /usr/spool/news/batch/nike. ! 42: ! 43: nntpxmit has an option "-s" which *supresses* statistic ! 44: logging via syslog. Additionally, the "-d" option is availible ! 45: for debugging. ! 46: ! 47: Please forward comments/suggestions for improvement/bugs to ! 48: Erik Fair, <[email protected]>. [My thanks extended to Erik ! 49: for writing nntpxmit. --Phil]
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.