#
# This configuration file specified most of the parameters
# for nntprelay.
# 
# any line beginning with a # is ignored
# blank lines are ignored
#
# 
# The distribution file.
#
# This file contains the information on outgoing
# feeds.
#
DistributionFile=f:/news/distributions.txt

#
# The user file
#
# this file contains a list of console usernames and passwords
#

UserFile=f:/news/users.txt

#
# ConsoleAccessList is a list of IP addresses allowed to connect to the console
#
# list all the addresses on one line, separated by a space
#

ConsoleAccessList=127.0.0.1 10.0.0.1

# 
# The access file
#
# This file contains a list of all IP addresses
# with feed access to NNTPRelay.
#
AccessFile=f:/news/acclist.txt

# Article and article storage related configuration
#
# This is where the article files are stored
#

ArticleBasePath=f:/news/articles

# how many article files do we keep around?
#

MaxKeepFileCount=5

#
# how large should we make a file before starting a
# new one?
#

MaxArticleFileSize=100000000

#
# What do we put in the "Path:" line of articles to
# identify our host?
#

HostPathIdentifier=news.maxwell.syr.edu

#
# Directory to keep config files for persistent changes via Admin port.
# Leave this entry here as a bogus path to not use the new config model.
#
SiteConfigPath=f:/news/config/bogus/path/


#
# History configuration
#
# The history files.
#
# If you have lots of disks, you can put these on 
# different spindles to improve performance, though
# you are much better off adding memory to cache them.
#
# The History Table is the 4*HistoryTableSize bytes
# The History Data is HistoryDataSize
#

HistoryTablePath=f:/news/
HistoryDataPath=f:/news/

#
# Logging Directory
# five files will be kept here and automatically rotated
#
LogDirectory=f:/news/log

#
# History size specifications

# You can expand the SeenDataCount anytime, but
# you *CANNOT* contract it.
#
# You *MUST NOT* change the SeenTableSize without
# rebuilding the history (ie delete the current files)
#
# The "seen" database takes the place of the old "History" database.  
# The SeenDataCount is the number of articles to hold in history.  Please note 
# that the "seen" database is cyclical therefore does not expire.
#
# The SeenTableSize is the index for the "seen" database.
#

SeenDataCount=7000000
SeenTableSize=6123571

#
# You can expand the HistoryDataSize anytime, but
# you *CANNOT* contract it.
#
# You *MUST NOT* change the HistoryTableSize without
# rebuilding the history (ie delete the current files)
#
#
# This database is now used for outgoing feeding purposes only.
#

HistoryDataSize=20000000
HistoryTableSize=612713

#
# system-wide default for maxbacklog. this can also be set in the distribution file as an 
# optional last parameter
#
MaxBackLog=2000

#
# these two control how many checks are done for the two main catagories of feeders. the check window
# is automatically adjusted downward, but you do not want to start too high
#
LatencyFeedPrefetch=5
NormalFeedPrefetch=15

#
# this is the TCL script used to load configuration information, and it implements the console
#
StartupScript=f:/news/init.tcl

#
#
# The settings from here down all have reasonable defaults which you should use unless you have 
# special need to change them.
#
#
#
# Maximum number of system wide connections, defaults to 350
#
# MaxIncomingConnections=300


# Banner displayed to connection when the system wide connection limit has been reached.
#
# SystemTooManyMessage= Sorry, you have exceeded the total number of connections allowed.
#

# Maximum number of group crossposts per article.
#
# MaxCrossPosts=15


# Message displayed when a site opens too many connections.
#
# SiteTooManyMessage= Sorry, you have exceeded the total number of connections allowed from you site.
#
# Banner displayed to unauthorized connections.
#
# NoAccessMessage=This is a tranfer only host -- please try another news host for reading
#
# Maximum age of article in days. The default is 7.
#
# MaxArticleAge=7
#
# The banner displayed on an authroized connection.
#
# ConnectBanner=NNTPRelay 1.1Beta2

# Default maximum number of connections per site
#
# SiteDefaultMaxIncomingConnections=7

# This controls whether NNTPRelay updates its incoming information hourly.  Defaults to 1 (on), but
# probably should be set to 0 (off)
#
# UpdateIncomingEntries=1

# PrecommitHashSize is the size of the hash index table.  Defaults to 263, should be prime, and 
# should only need to be increased on sites with poor connectivity, or where the MaxPrecommitAge 
# is extended.
# PrecommitHashSize=263

# MaxPrecommitAge is the length (in ms) that a precommit entry will be kept in the precommit hash
# of accepted but not yet committed articles.  Defaults to 30000 (30 sec), and should probably not be 
# lower than 10000 (10 sec).  Extending it beyond 60000 (60 sec) probably means you'll want to double 
# or quadruple the PrecommitHashSize (finding a prime in this range, of course).
#
# MaxPrecommitAge=30000
