aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.local.d/module.conf.example
blob: 9e6ba20e5b2d4f624bf7cc28d8d1efb7e8242b3a (plain)
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"
}