summaryrefslogtreecommitdiffstats
path: root/conf/groups.conf
blob: dcea1bcd00e4fa8d41ec28298e7b3a03653a17a8 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Symbols groups setup
# Each individual group lives in scores.d/<GROUPNAME>
#
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify 'local.d/groups.conf' to add and merge
# parameters defined inside this section
#
# You can modify 'override.d/groups.conf' to strictly override all
# parameters defined inside this section
#
# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# See also: https://rspamd.com/doc/faq.html#how-to-change-score-for-some-symbol

group "headers" {
    .include "$CONFDIR/scores.d/headers_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/headers_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/headers_group.conf"
}

group "subject" {
    .include "$CONFDIR/scores.d/subject_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/subject_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/subject_group.conf"
}

group "mua" {
    .include "$CONFDIR/scores.d/mua_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/mua_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/mua_group.conf"
}

group "rbl" {
    .include "$CONFDIR/scores.d/rbl_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/rbl_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/rbl_group.conf"
}

group "statistics" {
    .include "$CONFDIR/scores.d/statistics_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/statistics_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/statistics_group.conf"
}

group "fuzzy" {
    .include "$CONFDIR/scores.d/fuzzy_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/fuzzy_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/fuzzy_group.conf"
}

# SPF + DKIM + DMARC + ARC
group "policies" {
    .include "$CONFDIR/scores.d/policies_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/policies_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/policies_group.conf"
}

group "whitelist" {
    .include "$CONFDIR/scores.d/whitelist_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/whitelist_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/whitelist_group.conf"
}

group "surbl" {
    .include "$CONFDIR/scores.d/surbl_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/surbl_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/surbl_group.conf"
}

group "phishing" {
    .include "$CONFDIR/scores.d/phishing_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/phishing_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/phishing_group.conf"
}

group "hfilter" {
    .include "$CONFDIR/scores.d/hfilter_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/hfilter_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/hfilter_group.conf"
}

group "mime_types" {
    .include "$CONFDIR/scores.d/mime_types_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/mime_types_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/mime_types_group.conf"
}

# Used to limit maximium score
group "excessqp" {
    max_score = 2.4;
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/excessqp_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/excessqp_group.conf"
}
group "excessb64" {
    max_score = 3.0;
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/excessb64_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/excessb64_group.conf"
}

# Not defined by default
group "neural" {
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/neural_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/neural_group.conf"
}

group "antivirus" {
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/antivirus_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/antivirus_group.conf"
}

group "external_services" {
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/external_services_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/external_services_group.conf"
}

group "content" {
    .include "$CONFDIR/scores.d/content_group.conf"
    .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/content_group.conf"
    .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/content_group.conf"
}

.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/groups.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/groups.conf"