Annotation of 43BSDTahoe/new/nntp/support/README, revision 1.1.1.1

1.1       root        1: >>>>>>>>>>>>>>>>>>>>>>>>> No software in the NNTP 1.4 package
                      2: >> NOTE NOTE NOTE NOTE >> uses the NEWGROUPS command.  As a result,
                      3: >> NOTE NOTE NOTE NOTE >> mkgrdates is no longer supported, but is
                      4: >>>>>>>>>>>>>>>>>>>>>>>>> included for completeness.
                      5: 
                      6:      Mkgrdates is run by cron periodically (say, every 6 or 12 hours --
                      7: it's up to you).  All it does is produce a cronologically ordered list
                      8: of newsgroups in the active file, along with their dates of creation.
                      9: It tries to be intelligent, and if the active file hasn't changed since
                     10: it was last run, it simply exits.
                     11: 
                     12:      So, you'll need to put "mkgrdates" in /usr/lib/crontab to
                     13: be run periodically.  Every day is probably good enough.
                     14: 
                     15:      Some things you might want to be aware of are that it creates
                     16: and updates the files STAT_FILE and NGDATE_FILE, defined in
                     17: ../common/conf.h.  It's up to you to define these constants to suit
                     18: your system.
                     19: 
                     20:      The file "access_file" is the file which tells the news server
                     21: which hosts can read, which can post, and which can transfer.
                     22: This file wants to be installed wherever ACCESS_FILE in ../common/conf.h
                     23: says it should be (you can configure this to suit you).  Remember
                     24: that this should be readable by whatever uid the news server runs
                     25: as.  Further, remember that the entry "default" must be first in
                     26: the table.
                     27: 
                     28:      >>> The access file will support subnets iff you have <<<
                     29:      >>> defined SUBNET when you made the server.         <<<
                     30: 
                     31:      Finally, edit Makefile to reflect DESTDIR -- where you want
                     32: the binary to be installed for mkgrdates.
                     33: 
                     34:      If you're having the nntp server log copious info, you will
                     35: probably want to run the stat package developed by Erik Fair.
                     36: Once a week you should have crontab do
                     37: 
                     38:        awk -f nntp_awk nntplog.old >& nntp_report
                     39: 
                     40: where "nntplog.old" is the last week's nntp log file produced
                     41: by syslog.  Any errors which it cannot resolve are placed
                     42: in the front of the report.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.