]> git.pld-linux.org Git - packages/inn.git/blob - inn-config.patch
42560350825cee617f78e06463a02f2774c2c95c
[packages/inn.git] / inn-config.patch
1 diff -Nur old/samples/buffindexed.conf new/samples/buffindexed.conf
2 --- old/samples/buffindexed.conf        2004-01-07 22:47:19.000000000 +0000
3 +++ new/samples/buffindexed.conf        2004-08-07 18:36:53.000000000 +0000
4 @@ -7,5 +7,5 @@
5  # index(0-65535) : path to buffer file : 
6  #       length of buffer in kilobytes in decimal (1KB = 1024 bytes)
7  
8 -0:/var/news/spool/overview/OV1:1536000
9 -1:/var/news/spool/overview/OV2:1536000
10 +0:/var/spool/news/overview/OV1:1536000
11 +1:/var/spool/news/overview/OV2:1536000
12 diff -Nur old/samples/cycbuff.conf new/samples/cycbuff.conf
13 --- old/samples/cycbuff.conf    2004-01-07 22:47:19.000000000 +0000
14 +++ new/samples/cycbuff.conf    2004-08-06 12:33:41.000000000 +0000
15 @@ -10,9 +10,9 @@
16  # "cycbuff" (literally) : symbolic buffer name : path to buffer file : 
17  #       length of symbolic buffer in kilobytes in decimal (1KB = 1024 bytes)
18  
19 -cycbuff:ONE:/export/cycbuffs/one:512000
20 -cycbuff:TWO:/export/cycbuffs/two:512000
21 -cycbuff:THREE:/export/cycbuffs/three:512000
22 +cycbuff:ONE:/var/spool/news/cycbuffs/one:512000
23 +cycbuff:TWO:/var/spool/news/cycbuffs/two:512000
24 +cycbuff:THREE:/var/spool/news/cycbuffs/three:512000
25  
26  # 2. Meta-cyclic buffers
27  # Format:
28 --- inn-2.4.4/samples/inn.conf.in.orig  2008-05-05 12:18:36.000000000 +0200
29 +++ inn-2.4.4/samples/inn.conf.in       2008-06-12 23:34:03.819271092 +0200
30 @@ -17,11 +17,11 @@
31  # The following parameters are most likely to need setting, although the
32  # defaults generated by configure may be reasonable.
33  
34 -mta:                    "@SENDMAIL@ -oi -oem %s"
35 +mta:                    "@SENDMAIL@ -oi %s"
36  organization:           "A poorly-installed InterNetNews site"
37  ovmethod:               tradindexed
38  hismethod:              hisv6
39 -pathhost:               @HOSTNAME@
40 +pathhost:               localhost
41  pathnews:               @prefix@
42  
43  # General Settings
44 @@ -34,8 +34,8 @@
45  # Feed Configuration
46  
47  artcutoff:              10
48 -#bindaddress:
49 -#bindaddress6:
50 +#bindaddress:          all
51 +#bindaddress6:         all
52  dontrejectfiltered:    false
53  hiscachesize:           0
54  ignorenewsgroups:       false
55 @@ -45,13 +45,13 @@
56  maxconnections:         50
57  #pathalias:
58  #pathcluster:
59 -pgpverify:              @pgpverify@
60 +pgpverify:              true
61  port:                   119
62  refusecybercancels:     false
63  remembertrash:          true
64 -#sourceaddress:
65 -#sourceaddress6:
66 -verifycancels:          false
67 +#sourceaddress:                any
68 +#sourceaddress6:       any
69 +verifycancels:          true
70  wanttrash:              false
71  wipcheck:               5
72  wipexpire:              10
73 @@ -64,6 +64,7 @@
74  mergetogroups:          false
75  overcachesize:          15
76  #ovgrouppat:
77 +# note: must not be changed to false if using tradspool
78  storeonxref:            true
79  useoverchan:            false
80  wireformat:             false
81 @@ -72,9 +73,9 @@
82  
83  # Reading
84  
85 -allownewnews:           true
86 +allownewnews:           false
87  articlemmap:            false
88 -clienttimeout:          600
89 +clienttimeout:          1800
90  initialtimeout:         10
91  msgidcachesize:         10000
92  nnrpdcheckart:          true
93 @@ -103,8 +104,8 @@
94  addnntppostingdate:     true
95  addnntppostinghost:     true
96  checkincludedtext:      false
97 -#complaints:
98 -#fromhost:
99 +#complaints:           abuse@localhost
100 +#fromhost:             ""
101  localmaxartsize:        1000000
102  #moderatormailer:
103  nnrpdauthsender:        false
104 @@ -116,7 +117,7 @@
105  # Posting -- Exponential Backoff
106  
107  backoffauth:            false
108 -#backoffdb:
109 +#backoffdb:            /var/lib/news/backoff
110  backoffk:               1
111  backoffpostfast:        0
112  backoffpostslow:        1
113 @@ -132,11 +133,11 @@
114  innwatchpauseload:      1500
115  innwatchsleeptime:      600
116  innwatchspoolnodes:     200
117 -innwatchspoolspace:     8000
118 +innwatchspoolspace:     25000
119  
120  # Logging
121  
122 -docnfsstat:             false
123 +docnfsstat:             true
124  logartsize:             true
125  logcancelcomm:          false
126  logcycles:              3
127 @@ -159,7 +160,7 @@
128  keepmmappedthreshold:   1024
129  #maxcmdreadsize:
130  maxforks:               10
131 -nicekids:               4
132 +nicekids:               0
133  nicenewnews:            0
134  nicennrpd:              0
135  pauseretrytime:         300
136 diff -Nur old/samples/newsfeeds.in new/samples/newsfeeds.in
137 --- old/samples/newsfeeds.in    2004-01-07 22:47:19.000000000 +0000
138 +++ new/samples/newsfeeds.in    2004-08-07 20:39:24.000000000 +0000
139 @@ -40,7 +40,17 @@
140  
141  # Empty default subscription list, reject all incoming articles with a
142  # distribution of "local" or "collabra-internal," accept all others.
143 -ME:!*/!local,!collabra-internal::
144 +#ME:!*/!local,!collabra-internal::
145 +
146 +## Default of  everything to everybody except for junk, control, anything
147 +## with "local" as the newsgroup prefix (i.e. matches "localhost.stuff") or
148 +## groups under foo. Articles posted to any group under alt.binaries.warez
149 +## will not get propagated, even if they're cross posted to something that
150 +## is.
151 +ME\
152 +       :*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*\
153 +        /pl,world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
154 +       ::
155  
156  # The same as the above, but would reject all posts that have
157  # news.example.com in the path (posts passing through that site).
158 @@ -122,4 +132,4 @@
159  # INN).
160  #capture\
161  #      :*/foo\
162 -#      :Tp,H2:/usr/local/bin/capture %s
163 +#      :Tp,H2:/usr/bin/capture %s
164 diff -Nur old/samples/readers.conf new/samples/readers.conf
165 --- old/samples/readers.conf    2004-01-07 22:47:19.000000000 +0000
166 +++ new/samples/readers.conf    2004-08-07 20:32:21.000000000 +0000
167 @@ -55,7 +55,7 @@
168  # the local machine
169  
170  auth "localhost" {
171 -    hosts: "localhost, 127.0.0.1, stdin"
172 +    hosts: "localhost, 127.0.0.1, ipv6-localhost, ::1, stdin"
173      default: "<localhost>"
174  }
175  
This page took 0.048418 seconds and 2 git commands to generate.