DNEWS News Server Manual


Usage information for utilities

xmit

The xmit service performs several functions, it can send a news feed to another site, it can send news messages to a mail address (or email list) and it can build the full text searching database.

xmit site.name [-at minutes hours] [-mail list@address -name list-name]

site.nameThe site exactly as specified in newsfeeds.conf that this process should send items to
-at mins hoursSpecifies how often to wake up and attempt to send more articles
-mailSpecifies the email address to post articles (this is the gateway from news to email
-smtp mail.gateYour local SMTP mail gateway
-nameSpecifies the site name as found in newsfeeds.conf (optional) don't use upper case!!!
-ftsSpecifies this feed should be used to build the fts search database
-dotsWhen sending to multiple groups, use group.name@xxx instead of group_name@xxx
-allWild card of group names, e.g. "comp.lang.*"

Examples:

Unix mail gateway
    ./xmit send.to.site.name -at "*2" "*" -mail JUGLIST@HERE.COM -name juggle"
NT news feed  (superseded by live links)
    addsvc -add dxmit1 xmit.exe "dxmit1 site.name.edu -at *5 *"
NT Full Text Searching
    addsvc -add dfts xmit.exe "dfts ftsfeed -fts -at *5 *"
Sending all the comp groups to a mail gateway on unix
    ./xmit lists -at "*5" "*" -mail @here.com -smtp mail.here.com  
        -all "comp.*"  -name complists &

dposter

The dposter service is intended to only be used in conjunction with the drobot email robot. drobot writes email messages into a directory, and dposter scans the directory periodically and then posts the email messages into the news server.

dposter -dir workarea -to news.server.name

-dir workareaThe directory to scan for messages written by drobot
-to news.serverThe name of the news server to post these messages into

Example:

   addsvc -add dposter dposter.exe "dposter -dir c:\ntmail\news 
          -to news.here.com"

drobot

drobot -dir workarea -groups group.name -from gatway_name [-approved moderator@here.com]

This program should be run by NT-mail as a robot, it will take the incoming message, reformat some of the headers, and write them to a directory ready for dposter to read.

Example:

   drobot -dir c:\ntmail\news -groups rec.juggling -from juggle-list 
On unix place this in your .forward file (in your home directory)
   |"/usr/local/dnews/drobot -dir /var/spool/gateway -groups rec.juggling -from juggling"

addsvc

This utility is used for adding or removing services from the NT services list.

addsvc [-add servic_name program.exe "Name in service list"]
addsvc [-del servic_name]

-addAdd a service to the NT services list
-delRemove a service
service_nameA unique name for the service, you can use this to delete the service later on
program.exeThe executable program to install, typically it must be in the system32 directory
"parameters"This string is shown in the service list, it is also used to emulate the parameters that would be used if the program was run from the command line.

Example:

   addsvc -add dfts xmit.exe "dfts ftsfeed -fts -at *5 *"

dtail

dtail -lines filename

This command can be used to show the last 'n' lines of a file, it is a simplified version of the unix tail command. This is very useful for checking the end of the dnews.log file.

Example:

        dtail -30 dnews.log
Products Downloads Prices Support Company