File: module.conf.example

package info (click to toggle)
rspamd 3.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 35,064 kB
  • sloc: ansic: 247,728; cpp: 107,741; javascript: 31,385; perl: 3,089; asm: 2,512; pascal: 1,625; python: 1,510; sh: 589; sql: 313; makefile: 195; xml: 74
file content (21 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This directory is scanned for *.conf files to define configuration for the
# modules that are not shipped by Rspamd by default.
# So you can add your own configuration for the modules you have written.
# Please bear in mind, that each file *MUST* have the outer block with
# the actual module name, e.g.:

module_name {
  param = "value";
  complex_param = {
    key = "value";
    other_key = "other value";
    flag = false;
  };
  limit = 10;
  duration = 10d;

  # If you want to redefine something alternatively
  .include(try=true,priority=5) "${DBDIR}/dynamic/module_name.conf"
  .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/module_name.conf"
  .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/module_name.conf"
}