view noffle.conf.example @ 386:278a03a392b1 noffle

[svn] * src/client.c: Return correct status from Client_postArt() and add function comment detailing what return code should be, because it's not obvious that the return code should report success when the posting failed for reasons other than connection problems. This should fix problem with failing posting stopping fetches. Thanks to Dan Jacobson for spotting this. * src/client.c: Fix problemette with filter discards not updating remote group article count and so the overview being refetched until and article appears that doesn't fall foul of the filter and thus does update the remove group 'next article' marker. Thanks to Dan Jacobson for spotting this.
author bears
date Thu, 22 May 2003 09:23:33 +0100
parents b0ee77fa24d4
children 614a3177b15c
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

# Log all protocol traffic
#log-debug protocol

# 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. If you are in a local domain,
# ask your news provider for a domain name for generating Message-IDs.
# If the hostname option is unused, it is replaced by the fully qualified
# domain name of your system.

replace-messageid no
#hostname UserId-XXXXX_newsserver
#hostname %user@domain.tld

# Append a "Reply-To" header with the address mentioned in the "From" header. 
# gererally a good idea
append-reply-to 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.
# 4. Fetch all articles older than 9.5 weeks in overview mode only.
# 5. Fetch all articles referencing your or other NOFFLE users'
#    articles in full mode. Works only with 'replace-messageid yes'.

#filter subject="\$+.*Make.*Money.*Now.*\$\$\$" action=discard
#filter xposts>3 group=alt.flame action=over
#filter bytes>20k action=over
#filter date<lastupdate-66.5 action=over
#filter reference="NOFFLE" action=full