Mercurial > noffle
annotate noffle.conf.example @ 260:1daefc6533eb noffle
[svn] Save before you commit, boy.
author | bears |
---|---|
date | Wed, 26 Jun 2002 14:39:32 +0100 |
parents | 0340b9c17edc |
children | b0ee77fa24d4 |
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 |
195
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
59 # Replace Message-ID in posted articles. If you are in a local domain, |
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
60 # ask your news provider for a domain name for generating Message-IDs. |
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
61 # If the hostname option is unused, it is replaced by the fully qualified |
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
62 # domain name of your system. |
0 | 63 |
222
bf290632d29e
[svn] * src/post.c: Always replace message ID in posted message if existing
bears
parents:
195
diff
changeset
|
64 replace-messageid no |
195
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
65 #hostname UserId-XXXXX_newsserver |
249 | 66 #hostname %user@domain.tld |
38 | 67 |
89 | 68 # Post articles to remote groups into the local database immediately |
69 # on receipt of article. | |
222
bf290632d29e
[svn] * src/post.c: Always replace message ID in posted message if existing
bears
parents:
195
diff
changeset
|
70 #post-locally no |
89 | 71 |
38 | 72 # Set the default expire period in days |
73 default-expire 14 | |
74 | |
75 # Expire all alt.* groups after 2 days, except for alt.oxford.* | |
76 # expire after 4 days and alt.oxford.talk never expire. | |
77 #expire alt.oxford.talk 0 | |
78 #expire alt.oxford.* 4 | |
79 #expire alt.* 2 | |
80 | |
81 # Appearing here, this is equivalent to 'default-expire 20' above. If it | |
82 # appeared before the other expire lines, all groups would be | |
83 # expired at 20 days, as it would be the first custom match | |
84 # for every group. | |
85 #expire * 20 | |
131 | 86 |
87 # Sample article filtering. | |
88 # 1. Silently dump without fetching any article with a title | |
89 # looking like '$$$ Make Money Now $$$'. | |
90 # 2. Fetch articles cross-posted to more than 3 groups where one of the | |
91 # groups is alt.flame in overview mode only. | |
92 # 3. Fetch all articles > 20k in size in overview mode only. | |
249 | 93 # 4. Fetch all articles older than 9.5 weeks in overview mode only. |
94 # 5. Fetch all articles referencing your or other NOFFLE users' | |
95 # articles in full mode. Works only with 'replace-messageid yes'. | |
131 | 96 |
97 #filter subject="\$+.*Make.*Money.*Now.*\$\$\$" action=discard | |
98 #filter xposts>3 group=alt.flame action=over | |
134 | 99 #filter bytes>20k action=over |
249 | 100 #filter date<lastupdate-66.5 action=over |
101 #filter reference="NOFFLE" action=full |