Mercurial > noffle
annotate noffle.conf.example @ 500:614a3177b15c noffle tip
Add mail-from option.
Some modern mail systems will try and ensure the sender email is a legitimate
address. Which will fail if there isn't such an address.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 14 Aug 2013 12:04:39 +0100 |
parents | b0ee77fa24d4 |
children |
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 |
500 | 22 # Email notifications of failed postings to this address. |
23 # Leave blank to have address extracted from the posted article. | |
0 | 24 #mail-to root |
25 | |
500 | 26 # From address for emailed notifications of failed postings. |
27 #mail-from news@example.com | |
0 | 28 |
29 # Never get more than <max-fetch> articles. Discard oldest, if there are more | |
30 | |
31 max-fetch 300 | |
32 | |
33 | |
34 # Automatically remove groups from fetch list if they have not been | |
35 # accessed for <n> days. | |
36 | |
37 auto-unsubscribe no | |
38 #auto-unsubscribe-days 30 | |
39 | |
40 | |
41 # Parameter for thread mode. Retrieve articles, if they are referencing an | |
42 # article that has been read within the last <n> days | |
43 | |
44 thread-follow-time 7 | |
45 | |
46 | |
47 # Timeout for connecting to remote server in seconds. | |
48 | |
49 connect-timeout 30 | |
50 | |
185
fed1334d766b
[svn] * src/client.c: Change variable only used on constant to 'const'.
bears
parents:
134
diff
changeset
|
51 # Log all protocol traffic |
fed1334d766b
[svn] * src/client.c: Change variable only used on constant to 'const'.
bears
parents:
134
diff
changeset
|
52 #log-debug protocol |
0 | 53 |
54 # Automatically put groups on fetchlist, if someone accesses them. | |
55 # Mode can be: full, thread, over | |
56 | |
107 | 57 auto-subscribe yes |
58 default-auto-subscribe-mode full | |
59 #auto-subscribe-mode *.binaries.* over | |
0 | 60 |
195
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
61 # 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
|
62 # 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
|
63 # 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
|
64 # domain name of your system. |
0 | 65 |
222
bf290632d29e
[svn] * src/post.c: Always replace message ID in posted message if existing
bears
parents:
195
diff
changeset
|
66 replace-messageid no |
195
76460d98b2fb
[svn] * noffle.conf.example,docs/noffle.conf.5,src/configfile.h,src/configfile.c,
bears
parents:
185
diff
changeset
|
67 #hostname UserId-XXXXX_newsserver |
249 | 68 #hostname %user@domain.tld |
38 | 69 |
357
b0ee77fa24d4
[svn] * src/post.c,src/configfile.c,src/configfile.h,docs/noffle.conf.5,
bears
parents:
249
diff
changeset
|
70 # Append a "Reply-To" header with the address mentioned in the "From" header. |
b0ee77fa24d4
[svn] * src/post.c,src/configfile.c,src/configfile.h,docs/noffle.conf.5,
bears
parents:
249
diff
changeset
|
71 # gererally a good idea |
b0ee77fa24d4
[svn] * src/post.c,src/configfile.c,src/configfile.h,docs/noffle.conf.5,
bears
parents:
249
diff
changeset
|
72 append-reply-to yes |
b0ee77fa24d4
[svn] * src/post.c,src/configfile.c,src/configfile.h,docs/noffle.conf.5,
bears
parents:
249
diff
changeset
|
73 |
89 | 74 # Post articles to remote groups into the local database immediately |
75 # on receipt of article. | |
222
bf290632d29e
[svn] * src/post.c: Always replace message ID in posted message if existing
bears
parents:
195
diff
changeset
|
76 #post-locally no |
89 | 77 |
38 | 78 # Set the default expire period in days |
79 default-expire 14 | |
80 | |
81 # Expire all alt.* groups after 2 days, except for alt.oxford.* | |
82 # expire after 4 days and alt.oxford.talk never expire. | |
83 #expire alt.oxford.talk 0 | |
84 #expire alt.oxford.* 4 | |
85 #expire alt.* 2 | |
86 | |
87 # Appearing here, this is equivalent to 'default-expire 20' above. If it | |
88 # appeared before the other expire lines, all groups would be | |
89 # expired at 20 days, as it would be the first custom match | |
90 # for every group. | |
91 #expire * 20 | |
131 | 92 |
93 # Sample article filtering. | |
94 # 1. Silently dump without fetching any article with a title | |
95 # looking like '$$$ Make Money Now $$$'. | |
96 # 2. Fetch articles cross-posted to more than 3 groups where one of the | |
97 # groups is alt.flame in overview mode only. | |
98 # 3. Fetch all articles > 20k in size in overview mode only. | |
249 | 99 # 4. Fetch all articles older than 9.5 weeks in overview mode only. |
100 # 5. Fetch all articles referencing your or other NOFFLE users' | |
101 # articles in full mode. Works only with 'replace-messageid yes'. | |
131 | 102 |
103 #filter subject="\$+.*Make.*Money.*Now.*\$\$\$" action=discard | |
104 #filter xposts>3 group=alt.flame action=over | |
134 | 105 #filter bytes>20k action=over |
249 | 106 #filter date<lastupdate-66.5 action=over |
107 #filter reference="NOFFLE" action=full |