                                                                                       $                     DNEWS Management                             9                                                           9                                                           9                                                                                        9 DNEWS: A fast, efficient, low management NNTP news server                             for                                                          -             Windows NT, VMS and UNIX systems.                              9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           9                                                           
 NetWin World,  P.O Box 27574, Mt Roskill, 	 Auckland,  New Zealand, Email   netwin@world.std.com                             $                     DNEWS Management                             9 DNEWS                                                   5 9   DNEWS Features                                        5 9     Dynamic sucking feed.                               5 9     Flexible expire settings                            5 9     Flexible access restrictions                        5 9     Binaries available for common platforms             5 9     Email confirmation of posts                         5 9     Items stored in a database                          5 9     Compiling and porting relatively easy               5 3     Installation easy, totally configurable without 9     recompiling                                         5 9     Documented                                          6 9     Supported                                           6 9     Speed                                               6 9     XOVER implemented in software                       6 9     Streaming support                                   6 9     Machine impact automatically limited                6 9 DNEWS Installation                                      7 9   Main installation steps for Windows NT                7 9   Main Installation Steps for VAX                       8 9   Main installation steps for UNIX                      8 9 TELLNEWS commands                                       9 9 Frequently Asked Questions (FAQ's)                     10 9   How do I setup a `normal' NNTP - IHAVE feed          10 9   How do I setup XMIT to send to other sites           10 9     Adding XMIT to Windows NT Services (startup)       11 9     Adding XMIT to UNIX startup                        11 9     Adding XMIT to VMS startup                         11 9   How do I move the spool area to a bigger disk        11 9   How to I make the updates run only at night          11 9   How do I test the server using TELNET                12 9   What files can I copy from an INN or CNEWS system    12 9   How do I rename a volume on UNIX                     12 9 Common problems-errors                                 13 9   Can't BIND                                           13 9   TELLNEWS fails or locks ups                          13 9   TELLNEWS says remote node is unknown                 13 9   TELLNEWS says "Cannot access tellnews.pass"          13 9   NNTP, Sorry I can't talk to you                      13 9   Transfer permission denied                           14 9 DNEWS Mailing List                                     14 9 Configuration files                                    15 9   dnews.conf                                           15 9   access.conf                                          16 9     Notes:                                             16 9   expire.conf                                          16 9     Example:                                           16 9   newsfeeds.conf                                       17 9   moderators.conf                                      17 9   control.conf                                         17 9     Example:                                           18 9 How news gets in and out of your system                19 9   FEEDING news INTO your system                        19 9     Feeding using an NNTP IHAVE feed.                  19 9     Feeding using a SUCKING feed (default)             19 9   FEEDING news OUT OF your system                      19 9     Sending news up line using a POSTING feed (default)19 9     Sending news up line using an NNTP-IHAVE sender    20 9 Appendix A, What is USENET                             20 9   What is USENET News?                                 20 9     News groups                                        20 9     How your article will get to the rest of the world 20 9     What to read first                                 20 9     What is an FAQ?                                    20 9     Be careful posting                                 20 9     How big is it?                                     20 9 Appendix B, Time Zone Names                            21 9 Appendix C, NNTP Summary                               22 9     authinfo [user Name]|[pass Password]               22 9     article [MessageID|Number]                         22 9     body [MessageID|Number]                            22 9     date                                               22 9     group newsgroup                                    22 9     head [MessageID|Number]                            22 9     help                                               22 9     ihave <message-id>                                 22 9     last                                               22 9     list [active]                                      22 9     list active.times                                  22 9     list newsgroups                                    22 9     listgroup [newsgroup] (extension)                  22 9     mode reader (extension)                            23 9     mode stream (extension)                            23 9     newgroups yymmdd hhmmss [GMT] [<distributions>]    23 *     newnews newsgroups yymmdd hhmmss [GMT]9     [<distributions>]                                  23 9     next                                               23 9     post                                               23 9     slave                                              23 9     stat [MessageID|Number]                            23 9     check [MessageID] (extension)                      23 9     takethis [MessageID] (extension)                   23 9     xgtitle [group_pattern] (extension)                23 9     xhdr header [range|MessageID] (extension)          23 9     xover [range] (extension)                          23 0     xpat header range|MessageID pat [morepat...]9     (extension)                                        23 9     xpath MessageID (extension)                        24 	     DNEWS 2   DNEWS is designed to be a fast, easy to use, low   overhead and low maintenance.    6   NetWin World,  P.O. Box 27574, MT Roskill, Auckland.      Email: netwin@world.std.com       DNEWS Features Dynamic sucking feed. 1    A sucking feed may use as little as 10% of the 3    normal disk space and network bandwidth. By only 3    getting news items that people usually read very 4    large savings are possible particularly for small.    sites & workgroups.  A hundred users can be6    supported on 100-200 MB depending on their  reading
    habits!     6    I run a single user server on my NT as a background%    service, it's using less than 5MB.       Flexible expire settings1   By allowing expiration by 'number of items' low 1   volume groups become much more useful.  Also by 4   allowing settings which change with disk space the1   system is much more stable to large influxes of    news.     Flexible access restrictions4   Reading and Posting access can be given separately3   to different users and selections of news groups.    ' Binaries available for common platforms 0   On many platforms you do not need to build the4   binary yourself, e.g. VMS, (VAX & ALPHA), Solaris,   Linux, Windows NT     Email confirmation of posts 5   DNEWS can be configured to send email confirmations 3   as it sends items up to a main news server.  This 6   gives users a clear record of a posted item and it's%   successful transfer into the 'net'.     Items stored in a database1   Items are stored in a database which puts items 2   together in blocks of 100.  This saves directory5   entries, inodes, and the empty space usually wasted 4   due to blocking factors. Also file open and closes3   are minimized, this is essential on systems where )   this is a 'costly' operation, e.g. VMS.    % Compiling and porting relatively easy 3   DNEWS was designed to be portable from the ground 0   up, it does not rely on obscure UNIX features.   / Installation easy, totally configurable without  recompiling 5   DNEWS can be configured without recompiling and all 6   the configuration scripts have been simplified where   possible.    
 Documented   A user manual is available.    	 Supported *   EMAIL support is available for help with   installation and management.    Speed 4   On comparable systems DNEWS typically out performs3   other news software, (even the likes of CNEWS and 6   INN in some instances), other VMS news servers don't   even come close.   3   This is partly because DNEWS uses a more advanced 6   database to store the news items.  The difference is3   also very notable on smaller systems (e.g. Linux)     XOVER implemented in software 1    No xover database is created, the normal DNEWS 5    database is fast enough to create this information     'on the fly'       Streaming support )   Streaming NNTP extensions are built in.    $ Machine impact automatically limited0   DNEWS runs on a single process, this speeds up1   connect   time as a process does not need to be /   created, and it self-limits the impact on the 	   system.           DNEWS Installation6    Always refer to install.txt for the most up to date,    installation notes and helpful hints etc.       & Main installation steps for Windows NT          FTP the files                FTP ftp.std.com '       ftp> cd /ftp/vendors/netwin/dnews        ftp> binary        ftp> get dnews_nt.zip        ftp> quit <          Extract the files to a temporary directory and then        install them                 mkdir \tmp
       cd \tmp        pkunzip ..\dnews_nt.zip        install.cmd        del \tmp\*.*;          EDIT dnews.conf and carefully define the following         symbols         -          NOTEPAD  winnt35\system32\dnews.conf          # Symbol  Example         Description * manager joeblogs@here.  Your Email address         this.place9 nntp_fe news.feeder.si  The news site where you are going 6 eder    te              to SUCK a feed from.  You need8                         NNTP READER access to this site.0 myname  news.this.plac  Your full internet name.	         e : diskspa 100             Total disk space in megabytes that% ce                      DNEWS can use 2 confirm *.this.place    Send email confirmation to6                         postings from these addresses.5                         (set this to match your local (                         email addresses)      7      You may want to also redefine SPOOL in  DNEWS.CONF >      if you want the news spooling area to be on another disk.       5      If your news feed stamps items with a name other 2      than exactly what you put in DNEWS.CONF under<      NNTP_FEEDER, then you must add an exclude field to your:      newsfeeds.conf file to stop DNEWS from trying to echo;      every item it gets.  See the section Adding an Exclude *      Field for more details on doing this.       7      Edit newsfeeds.conf and add an SMTP queue so DNEWS %      can send email when it wants to:        #       NOTEPAD \dnews\newsfeeds.conf $           SITE mail.gateway.here.com           SMTP7      Edit access.conf to grant IP access to any machine :      which will read news from your system, you can give a=      wildcard ip name or number, names will only work if your !      DNS is configured correctly.                NOTEPAD \dnews\access.conf       *.here.com:Read,Post:::*       161.23.1.*:Read,Post:::*9      Start the system.  In Control Panel, double click on 9      SERVICES and then click on DNEWS and click on START.        $      Try out the management command:              TELLNEWS STATUS       Try a news reader       4      If it doesn't work check the log files and then9      check the section in this manual on Common Problems:               TYPE \dnews\dnews.error        TYPE \dnews\dnews.info   Main Installation Steps for VAX 7      1.   FTP ftp.std.com  /ftp/vendors/netwin/dnews... :      2.   @extract                   Extracts the required        files=      3.   $ edit register_user.com             Change uic and !        disk to match your machine 0 4.   $ @register_user              Register user dnews$server on your machine. 2 5.   $ edit dnews_start.com             Define the  disk(s) where DNEWS is installed>      6.   $ edit sys$manager:systartup_v5.com  Add the startup        line (see startup.tmp) 7 7.   $ edit sys$sylogin:           Add the symbol  (see 
 login.tmp)9      8.   $ edit dnews_top:news.conf      Modify the file "        DNEWS.CONF to describe your/        system by defining the following symbols         MANAGER, NNTP_FEEDER.... "        TIMEZONE, DISKSPACE, MYNAME>      9.   If your news feed stamps the path header with a name<        other than it's ip name as in `nntp_feeder' then edit@        newsfeeds.conf and add an exclude command to prevent your;        news system from `echoing' all messages back to your         feeder.;      10.  $ edit access.conf              Grant an ip range !        access to the system, e.g. %        *.here.comp.edu:read,post,:::*          161.23.4.*:read,post,:::*:      11.  $ @dnews_top:dnews_start        Start the system<      12.  $ type dnews.info          Type the log file, give7        it one or two minutes                     before         panicking. =      13.  $ tellnews status               Get a status report 8 14.  Go to your favorite PC news reader software and try	 it out!!!     Main installation steps for UNIX          FTP ftp.std.com 2        /ftp/vendors/netwin/dnews/dnews_linux.tar.Z         4          Extract the files to a temporary directory         $       # uncompress dnews_linux.tar.Z        # tar -xvf dnews_linux.tar       # cd dnews<          EDIT dnews.conf and carefully define the following        symbols                   # Symbol  Example         Description 9 manager system@here.th  Email address of the news manager          is.place9 nntp_fe news.feeder.si  The news site where you are going 6 eder    te              to SUCK a feed from.  You need8                         NNTP READER access to this site.8 myname  news.this.plac  Your full internet name, if left:         e               out this may be picked up from the                         system. 5 diskspa 100             Total disk space in megabytes  ce2 confirm *.this.place    Send email confirmation to6                         postings from these addresses.5                         (set this to match your local (                         email addresses): df      df -k           Path and parameters for df command,                         (Display Filesystem)8 sendmai /usr/lib/sendm  Path and parameters for sendmail l       ail -t %s       ;       EDIT your startup script and add the following line, =      startup scripts are different for every version of UNIX:                # emacs /etc/rc.d/rc.local       Add a line: %       /usr/local/dnews/dnews_start.sh        ;       If your news feed stamps the path header with a name :      other than it's ip name as in `nntp_feeder' then edit>      newsfeeds.conf and add an exclude command to prevent your9      news system from `echoing' all messages back to your       feeder.       9       EDIT access.conf and grant ip access to ip numbers :      or names in your domain, names will only work if your1      reverse name translation is setup correctly.        #       *.this.site.edu:read,post:::*        161.24.3.*:read,post:::*       :       If you have changed any of the default directories,8      then you must edit all the shell scripts, (*.sh) to      reflect the change.       #       Run the installation script:               # ./install.sh              Start the news server              # ./dnews_start.sh       2       The system will now try and fetch a list of7      newsgroups from your feeder site, this may take 10 >      minutes the first time and the system will not respond to=      the tellnews command while this is happening.  Use `ps - =      alx | grep news' to check it is running, and look at the       log files:        )       # more /usr/local/dnews/dnews.error '       # more /usr/local/dnews/nohup.out        # ps -ef | grep news       9       When the system has had a chance to get going, try &      it out using the tellnews command      .       # tellnews status        +       Go find a PC and try out the system!c          TELLNEWS commands 6   The tellnews command is used to communicate with the2   server, you can find out what it's doing, modify2   some internal settings, reload the configuration(   files or shut down the server cleanly.   6   To use the command you need read access to the DNEWS   configuration directory.   2   Try this command to find out what your server is   doing:          tellnews statuss*   Or this command to shut down your server          tellnews exitn       5   Here is a table of all the other TELLNEWS commands:a           Command           Descriptionl: cached wild days  Force a group or groups to be cached for;                   the next so many days, if you give a wild 9                   card on UNIX you must put quotes around 8                   it to stop the shell from interpreting                   it. ; uncached wild     Set a group or groups to uncached.  Items 9                   in the group will then expire normally, 3                   this does not prevent a user from +                   fetching the group again.t9 expire            Schedule an expire run, use this if the 3                   system is getting short on space.t/ status            Show what the server is doingn4 reque             Requeue built-in feeds. (email and8                   posting feeds). These are normally run-                   whenever an item is posted. . exit              Close down the demon cleanly7 getnames          Get the active.names from our feeder,P;                   This will happen automatically with a newo5                   server the first time it starts up. : killitem grpname  Delete a specific item, use with caution num # reload            Reloads news.confI) update            Schedule a suck update. : getold wildgrp    Get older news from the feeder, use this9 days              after deleting the entire system except 9                   the active.dat file, to reload some old '                   news from the server.C' rmgroup           Mark group as deletedo wild.group.name ' killgroup         Actually delete groups wild.group.name : newgroup name     Add a new group by hand. y=Normal group,9 y|m creator       m=Moderated the description is added to & description       the newsgroups file.    " Frequently Asked Questions (FAQ's)  + How do I setup a `normal' NNTP - IHAVE feed 4   In access.conf, give your feed site access to send   you ihave messages:n   '            my.feeder.site.com:ihave:::*        ,   In dnews.conf, comment out the nntp_feeder
   definition.o      In newsfeeds.conf, replace:    !                 site $NNTP_FEEDER                       groups *                       builtin                      posting   With:    #                 site my.feeder.site                       groups *                       builtin       4       (Also see the section on copying files from an       existing INN       or CNEWS system)         * How do I setup XMIT to send to other sites3    If you have more than one large feed coming into 5    your site, then you should use XMIT to send to all 2    sites and NOT use the builtin feeding system at5    all,  (see the keyword builtin above, remove it!!) 1    The builtin feeder will not run fast enough to 6    `pass through' large feeds so you must use the XMIT3    feeder in all directions.  (Leaf sites can still 2    use a sucking feed quite safely as this is also    very efficient)     4    The XMIT feeder is a high speed, auto configuring4    streaming feeder with built in scheduling, so you6    don't need to use CRON or anything else tricky like    that.     6    First add entries to your NEWSFEEDS.CONF file, this-    creates the .feed file that XMIT will use:             NOTEPAD newsfeeds.conf#            site other.site.here.com                  groups *4    Now modify your startup procedure to run the xmit(    job for each feed you have defined in    newsfeeds.confg     , Adding XMIT to Windows NT Services (startup)5    On windows NT you need to setup each xmit job as aB1    service, to do this use the program ADDSVC.EXEp2    which came with the dnews distribution to add a0    service for each outgoing feed, e.g. (notepad4    setupsvc.cmd and then run it to create the feeds)     9       addsvc -add dxmit1 xmit.exe "dxmit1 site.name.edu -        at *5 *"8       addsvc -add dxmit2 xmit.exe "dxmit2 site2.name.edu       -at *5 *"r          3    Then from CONTROL PANEL, SERVICES, and start theu    feed(s).       Adding XMIT to UNIX startup 3    Add lines to your dnews_start.sh procedure, e.g.h    m       cd /usr/local/dnews +       ./xmit send.to.site.name -at "*2" "*" .       ./xmit send.other.site.name -at "*7" "*" Adding XMIT to VMS startup(         Modify RUNXMIT.COM and add it to    dnews_start.com       - How do I move the spool area to a bigger disk     First shutdown DNEWS:    u       tellnews exiti6    Then move the entire SPOOL tree structure from it's5    current place to it's new place, for example on NTn%    you might use file manager to movee    p5       c:\dnews\spool...        to   e:\dnews\spool...n       /    Change the definition of SPOOL in DNEWS.CONF      *       NOTEPAD \winnt35\system32\dnews.conf       spool     e:\dnews\spool           Restart DNEWS:      )       (NT) Control Panel, Services, Start '       (UNIX)    su root; dnews_start.sh   + How to I make the updates run only at night 3    Updates for a sucking feed normal run once everyt5    ten minutes, this is controlled in DNEWS.CONF withI    the command            update_at *5 *5    This "*5" tells dnews to do an update whenever the 6    minutes end in a digit `5' and the second "*" tells$    it to do updates during any hour.     6    To do one update a night at 5 past 2 in the morning    you would use:t    n       update_at 5 2 5    To do updates every 10 minutes from 6p.m. to 8a.m.     you would use:             update_at *5 18-8d  % How do I test the server using TELNET 4    NNTP is a text based protocol, this means you can4    test it, and even read news without any software,1    just by using telnet and typing in commands byu1    hand, this is not a seriously good way to reads3    news, but it is a very good way to test your ownd!    server or your feeding server:     p7       NT   Accessories, Telnet, Connect, Remote Servicea7            Enter the feeder.site and under PORT type ins
       NNTP2            Under Terminal Preferences turn ECHO on8            Press Control J to end lines instead of ENTER)       VMS  $ telnet feeder.site /port=119l#       UNIX > telnet feeder.site 119        2       Type in this sequence of commands to read an       article by hand:/            group comp.os.vms   (select a group) .            head           (display the header),            body           (display the body),            next           (next item please)/            help           (show valid commands)d/            quit           (exit the connection)   1 What files can I copy from an INN or CNEWS system 3   This is not necessary, but if you are replacing as4   system then there are some files that you may want1   to preserve so that news.rc files are not `too'a   confused by the new system.o   "   You can safely copy these files:   '            active         -> active.datl)            active.times   -> active.timesc2            newsgroups     -> active.names  (may be       changed in future)      3   If you copy the active file, you must reset DNEWSo$   with this special manager command:               tellnews resetall    How do I rename a volume on UNIX)   You may wish to rename a current volumei5   /var/spool/news to be /var/spool/dnews, to do this:c               cd /var/spool/newso            mkdir OLD            mv * OLDW!            umount /var/spool/newst,            emacs /etc/vfstab (or /etc/fstab)*                 (change /news into /dnews)!            mount /var/spool/dnewsn      5   When you are happy with the new system, or you needh   the space:   %            rm -r /var/spool/dnews/OLDs   Common problems-errors  
 Can't BIND6    Can't BIND, and tellnews says "I can't talk to you"    when you telnet to the port.n    m3    On LINUX the slackware distribution comes with a 4    dummy nntp daemon installed, you must remove this#    so dnews can bind to the socket.     n            edit /etc/inetd.conft&            (comment out the NNTP line)+            kill -HUP <pid of inetd process>a   TELLNEWS fails or locks upsT1         The DNEWS process may take 1-2 minutes tos.    initialize, so wait a bit before panicking.     '         Check if the process is runningr    N+            ps -axl | grep dnews     (linux)i&            ps -ef | grep dnews (SunOS)         Check the log filesn    P4            more /usr/local/dnews/dnews.error (.info)    y    t4    If it gets started up with the wrong PID you will1    get all sorts of protection problems,  all the     files in:    e-              /var/spool/dnews/...  (including     var/spool/dnews)n    A3    must be owned by the same user, normally 'news'.     Also all the files in:p    i              /var/local/dnews/*o    p  $ TELLNEWS says remote node is unknown4    On VMS, if the symbol tellnews is not defined, it/    will try and run telnet instead, this can be 6    confusing.  You may have to log in again to get the6    symbol, or if you forgot to put it in your sylogin:,    script then you will have to do so, e.g.:    \*         $ tellnews :== $dnews_top:tellnews    l  + TELLNEWS says "Cannot access tellnews.pass".,    For some reason tellnews cannot find it's5    configuration files, on NT this could be caused by22    a file protection problem or more likely if the3    disk name was not specified in the configuration     file DNEWS.CONF.n     3    On VMS and UNIX you must be running the tellnewsd,    command from the usercode ROOT or NEWS or    NEWS$SERVER.         NNTP, Sorry I can't talk to yous4    Your news-host does not want to talk to you, this4    is because there is a security file which gives a2    list of hosts which are allowed to connect, the6    name of your machine must be in this list, and your3    machine's name must be in the Domain Name Servers3    tables as well as the Reverse Translation Domain     Name server tables.     0    The access file may be called something like:    e3      CNEWS          /usr/local/lib/news/nntp_accessw*      INND      /usr/local/news/nnrp.access0      DNEWS          /usr/local/dnews/access.conf   Transfer permission denied3    This can come from one of two directions,  DNEWSn3    can give this error when a site tries to feed its
    new items.t    E2    If you are using a sucking feed then you should3    stop the site that is trying to send to you from 4    sending as DNEWS will ask for any items it wants.    d3    If you do want to allow incoming IHAVE messages,n6    then add an IHAVE record for this ip address in the2    ACCESS.CONF file, and also remove the 'POSTING'5    flag from the NEWSFEEDS.CONF file for the ME site.     n4    The last possibility is that this error is coming4    from your feeding site, in which case you need to6    contact the system manager of that site and ask him    to give you `ihave' access.    o   DNEWS Mailing List5    There is a mailing list for discussing DNEWS. Thist/    is also used for announcing new versions and     patches.     h/    To subscribe to this list send a message to:     y         maiser@emagic.co.nz          Containing the line:     T        subscribe dnews   4   This is a moderated list, it's only function is to-   provide timely information on new features,r.   releases, bugs, installation gotcha's etc to4   interested people.  You will not get 20 messages a2   day from this list, it will probably average 1-2   messages per month.    3   We invite your comments directly and we will only 5   forward an item to the list if it seems relevant or 2   necessary to ask the question of a wider pool of
   experience.i   *   Send messages to:   netwin@world.std.com          Configuration filesi0   The following files define your news system in   approx. order of importance:    File Name      Description& news.conf      Main configuration file2 access.conf    Controls nntp access to your server4 expire.conf    Specifies how long to keep news items4 newsfeeds.con  Defines feeds out of your news system* f              up the line of news servers/ moderators.co  Defines where to send email to aP# nf             moderated news groupA6 control.conf   Defines how to process control messages5                for auto creation and deletion of newsn                groupst  
 dnews.conf$ Symbol    Example        Description3 confirm   *.this.place   Send email confirmation to 7                          postings from these addresses.a6                          (set this to match your local)                          email addresses)e: config    dnews_top:     Directory for configuration files!                          (*.conf) 8 diskspace 100            Total disk space in megabytes a8                          dynamic feed needs 20-200MBs, a7                          full feed needs approx. 1000MBl4 expire_at 5  23,3        Run an expire job at 5 past3                          eleven and 5 past 3 in thet!                          morning. 9 history   \dnews\spool   Directory for history file, thise6                          could grow to 40MB for a full-                          feed (80,000 blocks) 9 history_m 5              Pause if less than `n' megabytess in                       free 9 life      30             Number of days to keep caching a :                          news group after someone reads an$                          item in it.5 logdir    \dnews         Directory to write log files                              loglvl    info           One of:4                          error,warn,info,debug,flush7                          There are four levels of error 4                          reporting, "error" includes8                          serious errors, "warn" includes2                          possible problems, "info"5                          includes general information 6                          messages and "debug" which is8                          used for tracing bugs.  "flush"9                          is the same as debug but the log :                          file is flushed with every single8                          line written, this is useful if7                          the system is crashing but noto0                          providing a stack dump.: manager   system@here.   Email address of the news manager           this.place: mail      smtp           This is only used on VMS systems.6                          The name of the foreign email8                          system on VMS, typically in% or4                          smtp% (don't include the %)9 myname    news.this.pl   Your full internet name, if leftn7           ace            out this may be picked up fromm9                          the system.  It's best to put it 5                          in by hand to make sure it's                           right.o: nntp_feed news.feeder.   The news site where you are going7 er        site           to SUCK a feed from.  You need:9                          NNTP READER access to this site. : report    no             Stops the daily email report from8                          being sent to the manager after*                          every expire run.8 timezone  NZST           Timezone hh:mm or timezone name#                          Appendix B 7 too_old   50             Refuse items that were createdi8                          more than this many days in the6                          past, this prevents old items9                          from being re-distributed when ao:                          machine dumps old news items onto%                          the network.a8 spool     \dnews\spool   Disk name (or logical) for news!                          articless9 spool_min 5              Pause if less than `n' megabytes                           freed7 update_at *0,*5  *       Check for new items every timee9                          the minutes end in a 5 or a zero 6                          and at any hour, e.g. every 5"                          minutes..1 workarea  \dnews\spool   Directory for work files 2                          (active.dat, *.feed, etc)7 workarea_ 5              If less than `n' megabytes aree9 min                      free on this disk then pause thec9                          news system, (stop accepting news"                          articles)   access.conf 3   This file controls access to your system, you can 1   control access by IP name, IP number or even by ,   individual user using password protection.   $ <host>:<perm>:<user>:<pass>:<groups># Paramet Example         Description  er7 <host>  *.my.domain     A wildcard name or number, thiss0         161.29.4.*      rule is only used if the7                         connection matches this address 8 <perm>  Read, Post,     Allow any combination of reading:         Ihave           posting or ihave feeding from this                         site.n9 <user>  chrisp          Some news readers can send a userh3                         name, if so then it will bee:                         matched here, and the password can#                         be checked. 2 <pass>  rumplestiltski  The password in plain text	         nw7 <groups *,!*.erotic.*   Allow access to groups matchingl& >                       this wild card Notes:3   Unlike other news implementations, you can permith2   reading and posting to different combinations of0   news groups, for example you may wish to allow4   students to read all groups but only post to local   news groups.      expire.confe4   The expiration file is very different from INN and5   CNEWS implementations,  Rather than a simple set ofh5   rules, the DNEWS expire rules match both news groupp3   names and current disk usage, so as use increasesg#   the rules can become more strict.    2   In addition rules can specify minimum or maximum6   numbers of items, this allows a single rule to apply3   to groups which get 20 items a day, or 20 items av   month.   /   Each line of the file must have the following 	   format:    9      UPTO x GROUPS wild KEEP n DEFAULT n PURGE n MAXITEMS       n MINITEMS n # Symbol  Example         Description : upto    20%             This rule applies if less than 20%2                         of the disk space is full.6 groups  alt.*,comp.bin  This rule applies if the group)         aries.*         matches this listt: keep    2               Keep items for this many days even5                         if they have already expired.m4                         (From the expire date in the'                         article header) 5 default 10              Keep items this long and then 9                         delete unless the expiration date /                         says to keep it longer. 8 purge   35              Delete after this many days even9                         if the expire header says to keepo6                         it longer.  This should be set8                         long enough to keep FAQ's and no0                         longer to prevent abuse.9 maxitem 1000            Delete old items if the group hasa8 s                       more than this many items in it.8                         Good for controlling high volume                         groups. : minitem 10              Don't apply any other rules if the5 s                       group has less than this manye6                         items in it,  this is good for2                         making `low volume' groups                          useable. Example:       # Default rule4       upto 10000% groups * keep 0 default 1 purge 10       maxitems 0 minitems 0r       # Start to panic a littleC1       upto 90% groups * keep 0 default 2 purge 33        maxitems 100 minitems  07       # Normal operation, put your meaningfull settings        here.r1       upto 60% groups * keep 2 default 5 purge 33         maxitems 1000 minitems  107       upto 60% groups comp.* keep 2 default 10 purge 33o        maxitems 2000 minitems  105       # Lots of space, just stop things getting silly        (e.g. 10000 items in...)2       upto 30% groups * keep 2 default 17 purge 33!       maxitems 3000 minitems  100c%       upto 20% groups * maxitems 2000p   newsfeeds.conf0   This file controls feeds out of DNEWS to other3   sites, it also controls the feed `into' DNEWS via*   the same mechanism.    # Symbol  Example         Description 5 site    me              The name of the site to feed, 8         $NNTP_FEEDER    usually it's full internet name.7         my.leaf.site    The `me' feed must be the firstc(                         one in the file.5 builtin (flag, no       Specifies the builtin feeding :         value)          mechanism should be used.  This is7                         only intended for sending locald:                         postings up stream, it is not fast8                         enough to send a full feed on to%                         another site.r6 posting (flag, no       Specifies that the nntp `post'6         value)          command should be used to send8                         items upstream.  This gives your7                         feeder site the job of decidingD:                         how to email postings to moderated                         groups. 7 exclude feeder.real.na  Use this if your feeder site isl7         me              `name stamping' articles with as5                         name other than it's ip name.U8                         This MUST be right or DNEWS will:                         attempt to echo everything it gets7                         back to the feeder site. (checkt(                         the path header)6 smtp    (flag, no       Specifies this is not really a9         value)          feed, but on a vax it is actually 4                         the email queue used to send:                         articles to moderated groups, this6                         is only needed on VMS and then5                         only if you are not using the 3                         `POSTING' mechanism to feed !                         upstream.o   moderators.conf 6   You won't need to touch this file unless you want to3   add a local group and make it moderated.  In that,4   case add your groups at the top of the file as the   first match is used.   	   Format:           newsgroup:email-addressR3   If the email address contains a "%s" then that isu/   replaced by the news group name with the dotsT   changed into dashes.   
   Example:   /       local.gossip.moderated:chrisp@marc.cri.nz %       gnu.*:%s@tut.cis.ohio-state.edul       *:%s@uunet.uu.netd   control.conf2   This file controls the action taken when control3   messages are received.  This is the secret to thes0   administration of news.  The following control$   messages are checked by this file:             newgroup                   rmgroup               version     checkgroups
     ihave     sendmen     sendsys     senduuname          o3   However only the following three are implemented.E             newgroup        r          rmgroupe        s     version    r     *   Blanks are not allowed, e.g. :: would be   misinterpreted.e   3   For each type of control message, you can specifyo5   based on who sent it, whether or not to do what the 4   message says, just log it, or email the message to2   the news administrator.  The log file that DNEWS4   creates can be used to action the control messages0   at a later date as it contains valid commands.   $   All control messages are logged to   `control_(message).(action)'   	   Format:o   '       message-type:email-address:actione/       message-type   rmgroup, newgroup, versione3       email-address  A wildcard email address, e.g.        news@trusted.site 3       action         "drop", "log", "mail", "doit",        "doit,mail"t Example:       all:*:*:mail       ihave:*:*:drop       sendme:*:*:drop        sendsys:*:*:drop       senduuname:*:*:drope9       newgroup:tale@*.uu.net:comp.*,misc.*,news.*,rec.*,s        ci.*,soc.*,talk.*:doit9       rmgroup:tale@*.uu.net:comp.*,misc.*,news.*,rec.*,scB       i.*,soc.*,talk.*:doit'  ' How news gets in and out of your systemo   FEEDING news INTO your systemw3   With DNEWS you have two choices, you can push thei3   news into your system using an NNTP IHAVE sendingt1   program or a SUCKING feed. This is run from then5   server which provides you with a feed.  This is thek-   standard way of sending news but it has twoi   disadvantages:   ;      1.   An NNTP IHAVE feed comes as a random selection of,8        items from various news groups, this prevents any<        optimization when creating indexes and storing items.>      2.   An NNTP IHAVE feed must be setup from the other end.?        This prevents auto configuration of what is fed, it alsoe?        makes configuration difficult as you may have limited or <        virtually no access to the feeder site configuration.! Feeding using an NNTP IHAVE feed. 2   If you use this method then you must take a full6   feed, or at least a fixed subset of feeds, you can't   use the DNEWS dynamic system.n   6   To set this up simply modify the access.conf file to2   allow the site that is feeding you to have IHAVE	   access.            news.feeder.site:ihave:::*5   Then the job is done apart from setting the feed uph4   from the other end which is entirely your problem!   & Feeding using a SUCKING feed (default).   This is extremely easy to setup, in the file4   NEWS.CONF define the variable NNTP_FEEDER to point.   to a site where you have NEWS READER access.      FEEDING news OUT OF your systemc3 Sending news up line using a POSTING feed (default) 3   If you are a LEAF site. (A leaf site is where youd5   don't feed news on to anyone else) then you have anl3   easy option, you can pass the job of `posting' anr%   item up stream to your feeder site.h   6   Using this system DNEWS essentially pretends to be a4   NEWS READER which is posting your item directly on6   your FEEDER site.  Any error message will be emailed	   to you.w   /   In the file NEWSFEEDS.CONF define one feed aso
   follows:          site $NNTP_FEEDERb       groups *
       builtinc
       postingt    n    D5   If your feeder site is stamping each news item witha5   a name different from it's IP name that you used ina2   your NEWS.CONF file then you will have to add an5   exclude line to this feeding definition to stop theI3   feed from trying to send every item that comes in    back to the feeder.c          exclude feeder.name.stampd3   The special commands `builtin' tells DNEWS to usen5   it's own internal NNTP link to send any articles to 4   this feed and the command `posting' tells DNEWS to2   POST articles rather than pass them up using the   IHAVE mechanism.   4   In order to get email confirmation of each post as1   it is really posted use the CONFIRM variable ing/   news.conf to match all local email addresses.r   / Sending news up line using an NNTP-IHAVE sender'3   To do this you setup a feed in the newsfeeds.confe2   file, and then setup an XMIT process to actually5   transmit the items. See the section "How do I setup *   Xmit" in the FAQ section of this manual.      Appendix A, What is USENET   What is USENET News?5   USENET News is a world wide bulletin board.  It hasi1   no management or central system.  It is a large 6   number of computers and networks connected together.    News groups .   The news is divided into approximately three5   thousand groups.  These groups are chosen by mutual .   agreement using a complicated voting system.   2 How your article will get to the rest of the world0   When you post an article, it travels from your4   machine to all the NEWS servers which your machine3   is connected to, (usually just one other machine,b-   but in the case of a university, you may be 4   connected to three or four other `news' machines).6   Each of these servers in turn pass on your `article'5   to all the machines that they are connected to.  Ine6   this way your message eventually gets to every other   news machine in the world.   0   There are some very clever built in systems to3   prevent an ariticle from travelling in a loop buts5   these need not concern you.  The important point iss4   there is built in redundancy, so once your message4   gets past your local system a single faulty system2   will not stop it from getting to the rest of the   world.    What to read first3    There are a number of postings in the news group 3    "news.announce.newusers" that should be read andD2    followed by all  users using news for the first    time.    a What is an FAQ? 4    FAQ stands for Frequently Asked Questions.  These4    are questions that every one asks when they first5    become interested in a topic,  the `old timers' in 4    a news group get sick of answering them again and6    again so they create an FAQ.  This is a list of all5    the questions and answers.  Always look for an FAQo    before posting a question.       Be careful posting6    Remember when you ask a stupid question on NEWS you5    have just annoyed approximately ten to one hundred24    thousand people, depending on the news group.  So1    always consider very carefully before posting.e    a How big is it?2    An item in a widely distributed news group will6    reach an estimated  24,000 sites world-wide hosting0    1,000,000 potential readers.  Most  sites are.    educational institutions, but many research    organizations,f    86    companies, and government departments are also part4    of USENET.  This number is growing exponentially,6    as many as 20,000,000 users are on the internet and0    most `private' individuals will only begin to)    connect over the next couple of years.n        Appendix B, Time Zone Nameso           gmt  Greenwich Mean            ut     Universal$           utc  Universal Coordinated$           cut  Coordinated Universal           wet  Western Europeane           bst  British Summer $           nst  Newfoundland Standard$           ndt  Newfoundland Daylight            ast  Atlantic Standard            adt  Atlantic Daylight           est  Eastern Standard            edt  Eastern Daylighto           cst  Central Standarda           cdt  Central Daylight             mst  Mountain Standard            mdt  Mountain Daylight           pst  Pacific Standardh           pdt  Pacific Daylightf            yst     Yukon Standard           ydt  Yukon Daylightr           akst Alaska Standard#           akdt      Alaska Daylighth           hst  Hawaii Standard'           hast Hawaii-Aleutian Standard ,           hadt      Hawaii-Aleutian Daylight&           ces  Central European Summer+           cest      Central European Summer            mez  Middle European*           mezt      Middle European Summer           cet  Central European            met  Middle European           eet  Eastern Europee           msk  Moscow Winter           msd  Moscow Summer,           wast      West Australian Standard,           wadt      West Australian Daylight           hkt  Hong Kong           cct  China Coast           jst  Japan Standard            kst  Korean Standard           kdt  Korean Daylight/           cast      Central Australian StandardU/           cadt      Central Australian Daylight /           east      Eastern Australian Standardo*           eadt Eastern Australian Daylight(           nzst      New Zealand Standard(           nzdt      New Zealand Daylight   Appendix C, NNTP Summary$ authinfo [user Name]|[pass Password]5   Used to authenticate individual users.  The command_0   is first sent to define a user and then sent a/   second time to give the password.  Older newsd3   readers may not allow the use of this feature. Onn4   the server side add entries to access.dat using an	   editor.w    article [MessageID|Number]6   Responds with the article, if no second parameter is)   given then the current article is sent.    1   News readers should avoid using MessageID as it &   generates extra work for the server.    body [MessageID|Number]e    Sends the body of the message.    date1   Responds with the current time from the servers    point of view, (not standard)s    group newsgroup    Sets the current group    head [MessageID|Number]5    Sends the header of a message.    help!   Sends a list of valid commands.r    ihave <message-id>5   Used by another news system to `offer' new items to    this news system.n    last/   Sets the current news item to one item lower.k   
 list [active] /   List on it's own or with the active qualifiern,   responds with a list of known news groups.    list active.timesl6   Responds with a list of news groups and the date and5   time they were created. This file may or may not bee4   complete depending on how the system was installed#   and how long it has been running.     list newsgroups 1   Responds with a list of news groups and a shortt4   description of each one.  This list may or may not5   be complete or even available depending on how yours   system is installed.   ! listgroup [newsgroup] (extension) 4   Gives a list of valid items in a news group.  This0   is currently the only efficient way for a news5   reader to establish which items in a group actually    exist.    mode reader (extension)b,   Does nothing, this command only exists for   compatibility with INN.     mode stream (extension)p4   Responds with a success status to signify that the%   streaming extensions are supported.c   / newgroups yymmdd hhmmss [GMT] [<distributions>]s1   Lists news groups created since the given date.i   8 newnews newsgroups yymmdd hhmmss [GMT] [<distributions>]5   Lists message-id's of news items that arrived aftera   the specified date.d    next*   Sets the current point to the next item.    post*   Used by news readers to post a new item.    slaveN   Has no affect.    stat [MessageID|Number]i5   Checks an item exists, responding with it's messageh   id.r    check [MessageID] (extension)e6   Checks an item exists.  This is one of the STREAMING3   extensions to NNTP. It is different from the statm5   command in that it will respond that it still has ao-   message even after the message has expired.r     takethis [MessageID] (extension)4    This is the other half of the streaming extension/    to NNTP, this command behaves like the IHAVEn3    command but doesn't have a refusal stage so it's 6    return status doesn't need to be checked before the    next item is sent.      # xgtitle [group_pattern] (extension)l0   Extension used by ANU-NEWS to actually use the6   newsgroups file to respond with a list of newsgroups4   that matches the pattern, and gives their one line   descriptions.    ) xhdr header [range|MessageID] (extension) 3   Lists the requested header of all items that fall    within the given range.e    xover [range] (extension) 5   Lists all the items within range giving a fixed set 4   of headers in return.  Under DNEWS this command is0   implemented in software, no actual database is4   required as the DNEWS database is efficient enough)   to produce this information on the fly.o   8 xpat header range|MessageID pat [morepat...] (extension)6   Weird extension, don't use this.  In shell syntax it   is roughly equivalent to:t      xhdr header range | grep pat    xpath MessageID (extension)u1   This command is not implemented, as their is no 5   internal file name that can be returned and franklyi4   the command should never have existed as it breaks3   every rule of information hiding and abstraction.e   But hey, that's UNIX!    
           
           