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