aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/rbl.conf
blob: 2318f5b81ee06d152db4df9a2d055940aea9928b (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
rbl {
  rbls {
    fake {
      from = true;
      ipv4 = true;
      ipv6 = true;
      rbl = "fake.rbl";
      symbol = "FAKE_RBL_UNKNOWN";
      received = true;
      symbols_prefixes = {
        received = 'FAKE_RECEIVED_RBL',
        from = 'FAKE_RBL',
      }
      unknown = true;
      returncodes = {
        "CODE_2" = "127.0.0.2";
        "CODE_3" = "127.0.0.3";
      }
    }
    fake_whitelist {
      from = true;
      ipv4 = true;
      ipv6 = true;
      received = true;
      is_whitelist = true;
      rbl = "fake.wl";
      symbol = "FAKE_WL_RBL_UNKNOWN";
      unknown = true;
      returncodes = {
        "FAKE_WL_RBL_CODE_2" = "127.0.0.2";
        "FAKE_WL_RBL_CODE_3" = "127.0.0.3";
      }
    }
    RSPAMD_EMAILBL {
      rbl = "test8.uribl";
      url_compose_map = "${TESTDIR}/configs/maps/url_compose_map_for_mails.list";
      ignore_defaults = true;
      emails = true;
      emails_domainonly = true
      returncodes = {
        RSPAMD_EMAILBL = "127.0.0.2";
      }
    }
  }
}