annotate noffle.conf.example @ 45:32ba1198c6fa noffle

[svn] * Makefile.in, configure, configure.in, docs/Makefile.in, src/Makefile.in: Added checks for the mail and sort programs. ./configure will abort if they're not found. * README: Removed the paragraph about news client software, as it's the same as the one in docs/NOTES. * TODO: Removed 'expiring by groups' and 'move some text from noffle.1 to noffle.conf.5'. * docs/NOTES: Changed the text about -DDEBUG to explain one should use './configure --enable-debug'. * docs/noffle.1, docs/noffle.conf.5: Minor fixes. Added myself and Jim Hague to the AUTHORS section :-) * src/client.h, src/common.h, src/configfile.h, src/content.c, src/content.h, src/control.c, src/control.h, src/database.h, src/dynamicstring.c, src/dynamicstring.h, src/fetch.h, src/fetchlist.h, src/group.h, src/itemlist.c, src/itemlist.h, src/lock.h, src/log.c, src/log.h, src/noffle.c, src/online.h, src/outgoing.h, src/over.c, src/over.h, src/post.h, src/protocol.h, src/pseudo.h, src/request.h, src/server.h, src/util.c, src/util.h: Added the <config.h> include. * src/content.c: Added missing include "content.h". Added a missing 'void' in the declaration of clearCont(). * src/fetchlist.c: Casted fetchlist.size to (size_t) in a call to qsort(), as qsort() expects a size_t. This removes a warning. * src/noffle.c: Made doRequested() static. Added missing void to enableCorefiles(). * src/log.c, src/protocol.c, src/online.c, src/pseudo.c: Added missing includes. * src/pseudo.c: Made genOv() and genPseudo() static. * src/server.c: Added missing void to postArts(). Made touchArticle() static. * src/util.c: Casted arguments of malloc() and memcpy() to size_t. * src/dynamicstring.c, src/itemlist.c, src/over.c, src/request.c, src/util.c: Removed casting of the result of malloc(). This is not necessary and can hide a missing include of <stdlib.h>.
author uh1763
date Sat, 06 May 2000 00:49:38 +0100
parents 8e972daaeab9
children f17eb481c126
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
1 ###############################################################################
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
2 #
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
3 # NOFFLE news server config file
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
4 #
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
5 ###############################################################################
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
6
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
7 # Remote news server. Format: <hostname>[:<port>] [<user> <pass>]
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
8 # (<user> and <pass> only for servers with authentication,
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
9 # the password may not contain white-spaces)
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
10
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
11 server news
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
12
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
13
24
cb6cab9fbdf9 [svn] Typo in comment
enz
parents: 0
diff changeset
14 # Mail address for failed postings
0
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
15
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
16 #mail-to root
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
17
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
18
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
19 # Never get more than <max-fetch> articles. Discard oldest, if there are more
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
20
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
21 max-fetch 300
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
22
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
23
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
24 # Automatically remove groups from fetch list if they have not been
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
25 # accessed for <n> days.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
26
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
27 auto-unsubscribe no
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
28 #auto-unsubscribe-days 30
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
29
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
30
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
31 # Parameter for thread mode. Retrieve articles, if they are referencing an
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
32 # article that has been read within the last <n> days
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
33
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
34 thread-follow-time 7
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
35
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
36
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
37 # Timeout for connecting to remote server in seconds.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
38
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
39 connect-timeout 30
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
40
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
41
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
42 # Automatically put groups on fetchlist, if someone accesses them.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
43 # Mode can be: full, thread, over
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
44
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
45 auto-subscribe no
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
46 #auto-subscribe-mode over
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
47
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
48
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
49 # Remove/replace Message-ID in posted articles. For generating Message-IDs,
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
50 # the domain name of your system should be a valid domain name.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
51 # If you are in a local domain, set it to your provider's domain name.
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
52
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
53 remove-messageid no
04124a4423d4 [svn] Initial revision
enz
parents:
diff changeset
54 replace-messageid yes
38
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
55
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
56 # Set the default expire period in days
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
57 default-expire 14
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
58
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
59 # Expire all alt.* groups after 2 days, except for alt.oxford.*
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
60 # expire after 4 days and alt.oxford.talk never expire.
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
61 #expire alt.oxford.talk 0
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
62 #expire alt.oxford.* 4
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
63 #expire alt.* 2
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
64
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
65 # Appearing here, this is equivalent to 'default-expire 20' above. If it
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
66 # appeared before the other expire lines, all groups would be
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
67 # expired at 20 days, as it would be the first custom match
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
68 # for every group.
8e972daaeab9 [svn] Applied patch from Jim Hague:
enz
parents: 24
diff changeset
69 #expire * 20