chiark / gitweb /
close idle connections and spot unresponsive ones
[innduct.git] / samples / storage.conf
1 ##  $Id: storage.conf 6567 2003-12-27 04:18:33Z rra $
2 ##
3 ##  Rules for where INN should store incoming articles.
4 ##
5 ##  This file is used to determine which storage method articles are sent
6 ##  to to be stored and which storage class they are stored as.  Each
7 ##  method is described as follows:
8 ##
9 ##      method <methodname> {
10 ##          newsgroups: <wildmat>
11 ##          class: <storage class #>
12 ##          size: <minsize>[,<maxsize>]
13 ##          expires: <mintime>[,<maxtime>]
14 ##          options: <options>
15 ##      }
16 ##
17 ##  Only newsgroups, class, and (for CNFS, to specify the metacycbuff)
18 ##  options are required; the other keys are optional.  If any CNFS
19 ##  methods are configured, you will also need to set up cycbuff.conf.
20
21 #  By default, store everything in tradspool.
22 method tradspool {
23     newsgroups: *
24     class: 0
25 }
26
27 ##  Here are some samples for a CNFS configuration.  This assumes that you
28 ##  have two metacycbuffs configured, one for text newsgroups and one for
29 ##  binaries.  Cancel messages, which tend to be very high-volume, are
30 ##  stored in the binary metacycbuff as well.  This assumes storeonxref is
31 ##  set to true in inn.conf.
32
33 # Pick off the binary newsgroups first.
34 #method cnfs {
35 #    newsgroups: *.bina*,control.cancel
36 #    class: 1
37 #    options: BINARY
38 #}
39
40 # Put the remaining (text) groups in the other cycbuff.
41 #method cnfs {
42 #    newsgroups: *
43 #    class: 2
44 #    options: TEXT
45 #}