|
|
1.1 ! root 1: ! 2: This is a "pseudo" inews which allows remote posting using ! 3: the NNTP server. Essentially it takes a bunch of arguments and ignores ! 4: ones starting with "-", expecting to find at least one which is ! 5: a file name. If no files are specified, it uses standard input ! 6: as the input file. ! 7: ! 8: It then opens a connection to the NNTP server on the remote ! 9: machine and blasts the article across. It then closes the connection. ! 10: If it doesn't find a From: or Path: line, it inserts them, in the ! 11: default format ! 12: ! 13: From: [email protected] (Full_name) ! 14: Path: hostname!login ! 15: ! 16: where DOMAIN is a #define in ../common/conf.h, and should be changed ! 17: to reflect your system. A good choice is .UUCP if you are not a ! 18: member of the Internet. "Full_name" understands the & hack in ! 19: password files. ! 20: ! 21: The point here is that the thing looks like inews to any program ! 22: which would care to post something (e.g., Pnews, postnews, what have ! 23: you). The difference is that the article will look like it was posted ! 24: on the remote end, not on the local end. ! 25: ! 26: Caveat: we determine the host to post to with the #define of ! 27: SERVER_HOST in ../common/conf.h. This needs to change to reflect your ! 28: system. ! 29: ! 30: Thanks to Steven Grady <[email protected]> for ! 31: writing this, and for wasting a lot of his valuable time dealing ! 32: with the can-o'-worms that is the real inews. ! 33:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.