#
# This is the first NNTP server from which leafnode fetches its news.
# You need read and post accesses to it.
#
server = news.hiof.no

#
# Rest servers are other alternative NNTP servers.
# Normally, leafnode only fetches from them.
# To allow posting them, "postable = 1" declaration is needed.
# If the server needs authentification to post articles, write
# username and password for each server.
#
server = news.foo.or.jp
postable = 1
username = userfoo
password = passwdfoo

#
# If you want to fetches only few news groups, write newsgroups
# list for each server.  On the other hand, if you want to screen
# some of news groups, write filteredngs list for each one.
#
server = news.bar.co.jp
username = userbar
password = passwdbar
newsgroups = alt.*
filteredngs = alt.*binaries.*
newsgroups = bar.*
newsgroups = fj.rec.*

#
# This leafnode+ has limited ability to use ssh.  In order to use it,
# SSH_AUTH_SOCK environment variable is needed to allow ssh executed
# from fetchnews to connect NNTP servers automatically.
#
server = news2.foo.or.jp
username = userfoo
password = passwdfoo
viahost = localhost
port = 1234
preconnect = su foo -c "ssh -f -C -L 1234:nntp.your.provider:119 -l bar ssh-server.your.provider sleep 20 > /dev/null"


# timeout values.
#  - timeout_short; newsgroups having not read from this number of days ago
#   and having read only once are marked as uninteresting.
#  - timeout_long; newsgroups having not read from this number of days ago
#   are marked as uninteresting.
#  - timeout_active; active database of each upstream server is checked
#   after this number of days.
timeout_short = 7
timeout_long = 21
timeout_active = 14

# Unread discussion threads will be deleted after this many days if
# you don't define special expire times. Mandatory.
expire = 21

# Non-standard expire times
groupexpire = comp.os.linux.misc 5     # group too big to hold articles 20 days
groupexpire = local.* 100              # very interesting, hold articles longer:

# Never fetch more than this many articles from one group in one run.
# Be careful with this; setting it much below 1000 is probably a bad
# idea.
maxcount = 2000
