view noffle.conf.example @ 181:e196de757ecd noffle

[svn] * src/server.c: Correct error code given when article requested by message ID is not found. Previously the code given (423) was the same as for when an article requested by its number in a group was not found. The docs (and various NNTP servers) say 430 should be returned. Thanks to Alberto Mardegan <amardegan@iol.it> for spotting that.
author bears
date Thu, 10 May 2001 17:00:12 +0100
parents 7dfbb1c20a81
children fed1334d766b
line wrap: on
line source

###############################################################################
#
# NOFFLE news server config file
#
###############################################################################

# Remote news server. Format: <hostname>[:<port>] [<user> <pass>]
# (<user> and <pass> only for servers with authentication,
# the password may not contain white-spaces)

server news

# Don't get *.binaries.* from server 'news'
#omitgroups *.binaries.*

# Second server
# server bins
#
# Only get binaries groups from server 'bins'
# getgroups *.binaries.*

# Mail address for failed postings

#mail-to root


# Never get more than <max-fetch> articles. Discard oldest, if there are more

max-fetch 300


# Automatically remove groups from fetch list if they have not been
# accessed for <n> days.

auto-unsubscribe no
#auto-unsubscribe-days 30


# Parameter for thread mode. Retrieve articles, if they are referencing an
# article that has been read within the last <n> days

thread-follow-time 7


# Timeout for connecting to remote server in seconds.

connect-timeout 30


# Automatically put groups on fetchlist, if someone accesses them.
# Mode can be: full, thread, over

auto-subscribe yes
default-auto-subscribe-mode full
#auto-subscribe-mode *.binaries.* over

# Replace Message-ID in posted articles. For generating Message-IDs,
# the domain name of your system should be a valid domain name.
# If you are in a local domain, set it to your provider's domain name.

replace-messageid yes

# Post articles to remote groups into the local database immediately
# on receipt of article.
# post-locally no

# Set the default expire period in days
default-expire 14

# Expire all alt.* groups after 2 days, except for alt.oxford.*
# expire after 4 days and alt.oxford.talk never expire.
#expire alt.oxford.talk 0
#expire alt.oxford.* 4
#expire alt.* 2

# Appearing here, this is equivalent to 'default-expire 20' above. If it
# appeared before the other expire lines, all groups would be
# expired at 20 days, as it would be the first custom match
# for every group.
#expire * 20

# Sample article filtering.
# 1. Silently dump without fetching any article with a title
#    looking like '$$$ Make Money Now $$$'.
# 2. Fetch articles cross-posted to more than 3 groups where one of the
#    groups is alt.flame in overview mode only.
# 3. Fetch all articles > 20k in size in overview mode only.

#filter subject="\$+.*Make.*Money.*Now.*\$\$\$" action=discard
#filter xposts>3 group=alt.flame action=over
#filter bytes>20k action=over