Mercurial > noffle
view noffle.conf.example @ 194:a4e9a20e50e5 noffle
[svn] * docs/noffle.conf.5,src/configfile.c,src/filter.h,src/filter.c:
Contrary to the documentation, the action of a filter if not specified
was 'full'. Add a new 'default' action which makes the action that of the
group's subscription mode. Make this the default action, and allow
'default' to be specified explicitly as the action in the filter
definition. Adapted from patch submitted by Mirko Liss. Thanks, Mirko.
* docs/noffle.conf.5: Correct small typo.
author | bears |
---|---|
date | Tue, 30 Oct 2001 12:42:13 +0000 |
parents | fed1334d766b |
children | 76460d98b2fb |
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. 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