summaryrefslogtreecommitdiffstats
path: root/src/lib-dict-backend/dict.conf
blob: 04dd63aca9cf4e1c3a8d2029ad3a87287dc9cf2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
connect = host=localhost

map {
  pattern = shared/dictmap/$key1/$key2
  table = table
  value_field = value
  value_type = string

  fields {
    a = $key1
    b = $key2
  }
}

map {
  pattern = shared/counters/$class/$name
  table = counters
  value_field = value
  value_type = uint

  fields {
    class = $class
    name = $name
  }
}

map {
  pattern = priv/quota/bytes
  table = quota
  username_field = username
  value_field = bytes
  value_type = uint
}

map {
  pattern = priv/quota/count
  table = quota
  username_field = username
  value_field = count
  value_type = uint
}

map {
  pattern = priv/quota/folders
  table = quota
  username_field = username
  value_field = folders
  value_type = uint
}