Mercurial > noffle
annotate noffle.conf.example @ 185:fed1334d766b noffle
[svn] * src/client.c: Change variable only used on constant to 'const'.
* src/filter.c: Add a couple of 'return's after ASSERT() to remove
compiler warnings about functions needing returns.
* NEWS,TODO,configure,configure.in,noffle.conf.example,docs/NOTES,
docs/noffle.conf.5,src/client.c,src/configfile.c,src/content.c,
src/control.c,src/database.c,src/fetch.c,src/fetchlist.c,src/filter.c,
src/group.c,src/lock.c,src/log.c,src/log.h,src/noffle.c,src/outgoing.c,
src/post.c,src/protocol.c,src/request.c,src/server.c,src/util.c:
Debug logging is always compiled and selected via noffle.conf. All debug
logs are classified as all, none, config, control, expire, fetch,
filter, newsbase, noffle, post, protocol, requests and server.
author | bears |
---|---|
date | Sun, 05 Aug 2001 09:24:22 +0100 |
parents | 7dfbb1c20a81 |
children | 76460d98b2fb |
rev | line source |
---|---|
0 | 1 ############################################################################### |
2 # | |
3 # NOFFLE news server config file | |
4 # | |
5 ############################################################################### | |
6 | |
7 # Remote news server. Format: <hostname>[:<port>] [<user> <pass>] | |
8 # (<user> and <pass> only for servers with authentication, | |
9 # the password may not contain white-spaces) | |
10 | |
11 server news | |
12 | |
89 | 13 # Don't get *.binaries.* from server 'news' |
14 #omitgroups *.binaries.* | |
15 | |
16 # Second server | |
17 # server bins | |
18 # | |
19 # Only get binaries groups from server 'bins' | |
20 # getgroups *.binaries.* | |
0 | 21 |
24 | 22 # Mail address for failed postings |
0 | 23 |
24 #mail-to root | |
25 | |
26 | |
27 # Never get more than <max-fetch> articles. Discard oldest, if there are more | |
28 | |
29 max-fetch 300 | |
30 | |
31 | |
32 # Automatically remove groups from fetch list if they have not been | |
33 # accessed for <n> days. | |
34 | |
35 auto-unsubscribe no | |
36 #auto-unsubscribe-days 30 | |
37 | |
38 | |
39 # Parameter for thread mode. Retrieve articles, if they are referencing an | |
40 # article that has been read within the last <n> days | |
41 | |
42 thread-follow-time 7 | |
43 | |
44 | |
45 # Timeout for connecting to remote server in seconds. | |
46 | |
47 connect-timeout 30 | |
48 | |
185
fed1334d766b
[svn] * src/client.c: Change variable only used on constant to 'const'.
bears
parents:
134
diff
changeset
|
49 # Log all protocol traffic |
fed1334d766b
[svn] * src/client.c: Change variable only used on constant to 'const'.
bears
parents:
134
diff
changeset
|
50 #log-debug protocol |
0 | 51 |
52 # Automatically put groups on fetchlist, if someone accesses them. | |
53 # Mode can be: full, thread, over | |
54 | |
107 | 55 auto-subscribe yes |
56 default-auto-subscribe-mode full | |
57 #auto-subscribe-mode *.binaries.* over | |
0 | 58 |
89 | 59 # Replace Message-ID in posted articles. For generating Message-IDs, |
0 | 60 # the domain name of your system should be a valid domain name. |
61 # If you are in a local domain, set it to your provider's domain name. | |
62 | |
63 replace-messageid yes | |
38 | 64 |
89 | 65 # Post articles to remote groups into the local database immediately |
66 # on receipt of article. | |
67 # post-locally no | |
68 | |
38 | 69 # Set the default expire period in days |
70 default-expire 14 | |
71 | |
72 # Expire all alt.* groups after 2 days, except for alt.oxford.* | |
73 # expire after 4 days and alt.oxford.talk never expire. | |
74 #expire alt.oxford.talk 0 | |
75 #expire alt.oxford.* 4 | |
76 #expire alt.* 2 | |
77 | |
78 # Appearing here, this is equivalent to 'default-expire 20' above. If it | |
79 # appeared before the other expire lines, all groups would be | |
80 # expired at 20 days, as it would be the first custom match | |
81 # for every group. | |
82 #expire * 20 | |
131 | 83 |
84 # Sample article filtering. | |
85 # 1. Silently dump without fetching any article with a title | |
86 # looking like '$$$ Make Money Now $$$'. | |
87 # 2. Fetch articles cross-posted to more than 3 groups where one of the | |
88 # groups is alt.flame in overview mode only. | |
89 # 3. Fetch all articles > 20k in size in overview mode only. | |
90 | |
91 #filter subject="\$+.*Make.*Money.*Now.*\$\$\$" action=discard | |
92 #filter xposts>3 group=alt.flame action=over | |
134 | 93 #filter bytes>20k action=over |