aboutsummaryrefslogtreecommitdiffstats
path: root/conf/scores.d/rbl_group.conf
blob: e1ff8eacec78165bd481f20c94253ce1268720ad (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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# RBL rules scores
#
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
# parameters defined on the top level
#
# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
# parameters defined on the top level
#
# For specific modules or configuration you can also modify
# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details

description = "IP DNS lists";

symbols = {

    "DNSWL_BLOCKED" {
        weight = 0.0;
        description = "https://www.dnswl.org: Resolver blocked due to excessive queries";
        groups = ["dnswl", "blocked"];
    }
    "RCVD_IN_DNSWL" {
        weight = 0.0;
        description = "Unrecognised result from https://www.dnswl.org";
        groups = ["dnswl"];
    }
    "RCVD_IN_DNSWL_NONE" {
        weight = 0.0;
        description = "Sender listed at https://www.dnswl.org, no trust";
        groups = ["dnswl"];
    }
    "RCVD_IN_DNSWL_LOW" {
        weight = -0.1;
        description = "Sender listed at https://www.dnswl.org, low trust";
        groups = ["dnswl"];
    }
    "RCVD_IN_DNSWL_MED" {
        weight = -0.2;
        description = "Sender listed at https://www.dnswl.org, medium trust";
        groups = ["dnswl"];
    }
    "RCVD_IN_DNSWL_HI" {
        weight = -0.5;
        description = "Sender listed at https://www.dnswl.org, high trust";
        groups = ["dnswl"];
    }

    "DWL_DNSWL_BLOCKED" {
        weight = 0.0;
        description = "https://www.dnswl.org: Resolver blocked due to excessive queries (DWL)";
        groups = ["dnswl", "blocked"];
    }
    "DWL_DNSWL" {
        weight = 0.0;
        description = "Unrecognised result from https://www.dnswl.org (DWL)";
        groups = ["dnswl"];
    }
    "DWL_DNSWL_NONE" {
        weight = 0.0;
        description = "Message has a valid dkim signature originated from domain listed at https://www.dnswl.org, no trust";
        groups = ["dnswl"];
    }
    "DWL_DNSWL_LOW" {
        weight = -1.0;
        description = "Message has a valid dkim signature originated from domain listed at https://www.dnswl.org, low trust";
        groups = ["dnswl"];
    }
    "DWL_DNSWL_MED" {
        weight = -2.0;
        description = "Message has a valid dkim signature originated from domain listed at https://www.dnswl.org, medium trust";
        groups = ["dnswl"];
    }
    "DWL_DNSWL_HI" {
        weight = -3.5;
        description = "Message has a valid dkim signature originated from domain listed at https://www.dnswl.org, high trust";
        groups = ["dnswl"];
    }

    "RBL_SPAMHAUS" {
        weight = 0.0;
        description = "Unrecognised result from Spamhaus ZEN";
        groups = ["spamhaus"];
    }
    "RBL_SPAMHAUS_SBL" {
        weight = 4.0;
        description = "From address is listed in Spamhaus SBL";
        groups = ["spamhaus"];
    }
    "RBL_SPAMHAUS_CSS" {
        weight = 2.0;
        description = "From address is listed in Spamhaus CSS";
        groups = ["spamhaus"];
    }
    "RBL_SPAMHAUS_XBL" {
        weight = 4.0;
        description = "From address is listed in Spamhaus XBL";
        groups = ["spamhaus"];
    }
    "RBL_SPAMHAUS_PBL" {
        weight = 2.0;
        description = "From address is listed in Spamhaus PBL";
        groups = ["spamhaus"];
    }
    "RBL_SPAMHAUS_DROP" {
        weight = 7.0;
        description = "From address is listed in Spamhaus DROP";
        groups = ["spamhaus"];
    }
    "RBL_SPAMHAUS_BLOCKED_OPENRESOLVER" {
        weight = 0.0;
        description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
        groups = ["spamhaus", "blocked"];
    }
    "RBL_SPAMHAUS_BLOCKED" {
        weight = 0.0;
        description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
        groups = ["spamhaus", "blocked"];
    }
    "RECEIVED_SPAMHAUS_SBL" {
        weight = 3.0;
        description = "Received address is listed in Spamhaus SBL";
        groups = ["spamhaus"];
        one_shot = true;
    }
    "RECEIVED_SPAMHAUS_CSS" {
        weight = 1.0;
        description = "Received address is listed in Spamhaus CSS";
        groups = ["spamhaus"];
        one_shot = true;
    }
    "RECEIVED_SPAMHAUS_XBL" {
        weight = 1.0;
        description = "Received address is listed in Spamhaus XBL";
        groups = ["spamhaus"];
        one_shot = true;
    }
    "RECEIVED_SPAMHAUS_PBL" {
        weight = 0.0;
        description = "Received address is listed in Spamhaus PBL";
        groups = ["spamhaus"];
        one_shot = true;
    }
    "RECEIVED_SPAMHAUS_DROP" {
        weight = 6.0;
        description = "Received address is listed in Spamhaus DROP";
        groups = ["spamhaus"];
        one_shot = true;
    }
    "RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER" {
        weight = 0.0;
        description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
        groups = ["spamhaus", "blocked"];
    }
    "RECEIVED_SPAMHAUS_BLOCKED" {
        weight = 0.0;
        description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
        groups = ["spamhaus", "blocked"];
    }

    "RBL_SENDERSCORE" {
        weight = 0.0;
        description = "Unrecognised result from SenderScore RPBL";
    }
    "RBL_SENDERSCORE_BOT" {
        weight = 2.0;
        description = "From address is listed in SenderScore RPBL - botnet";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_NA" {
        weight = 0.0;
        description = "From address is listed in SenderScore RPBL - noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_NA_BOT" {
        weight = 1.0;
        description = "From address is listed in SenderScore RPBL - noauth+botnet";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_PRST" {
        weight = 2.0;
        description = "From address is listed in SenderScore RPBL - pristine";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_PRST_BOT" {
        weight = 3.0;
        description = "From address is listed in SenderScore RPBL - pristine+botnet";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_PRST_NA" {
        weight = 2.0;
        description = "From address is listed in SenderScore RPBL - pristine+noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_PRST_NA_BOT" {
        weight = 3.0;
        description = "From address is listed in SenderScore RPBL - pristine+noauth+botnet";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SUS_ATT" {
        weight = 1.0;
        description = "From address is listed in SenderScore RPBL - suspect_attachments";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SUS_ATT_NA" {
        weight = 1.0;
        description = "From address is listed in SenderScore RPBL - suspect_attachments+noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SUS_ATT_NA_BOT" {
        weight = 1.5;
        description = "From address is listed in SenderScore RPBL - suspect_attachments+noauth+botnet";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SUS_ATT_PRST_NA" {
        weight = 3.0;
        description = "From address is listed in SenderScore RPBL - suspect_attachments+pristine+noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SUS_ATT_PRST_NA_BOT" {
        weight = 3.5;
        description = "From address is listed in SenderScore RPBL - suspect_attachments+pristine+noauth+botnet";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SCORE" {
        weight = 2.0;
        description = "From address is listed in SenderScore RPBL - sender_score";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SCORE_NA" {
        weight = 2.0;
        description = "From address is listed in SenderScore RPBL - sender_score+noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SCORE_PRST" {
        weight = 4.0;
        description = "From address is listed in SenderScore RPBL - sender_score+pristine";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SCORE_PRST_NA" {
        weight = 4.0;
        description = "From address is listed in SenderScore RPBL - sender_score+pristine+noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_SCORE_SUS_ATT_NA" {
        weight = 3.0;
        description = "From address is listed in SenderScore RPBL - sender_score+suspect_attachments+noauth";
        groups = ["senderscore"];
    }
    "RBL_SENDERSCORE_BLOCKED" {
        weight = 0.0;
        description = "Excessive number of queries to SenderScore RPBL, more info: https://knowledge.validity.com/hc/en-us/articles/20961730681243";
        groups = ["senderscore", "blocked"];
    }

    "MAILSPIKE" {
        weight = 0.0;
        description = "Unrecognised result from Mailspike";
        groups = ["mailspike"];
    }
    "RWL_MAILSPIKE_NEUTRAL" {
        weight = 0.0;
        description = "Neutral result from Mailspike";
        groups = ["mailspike"];
    }
    "RBL_MAILSPIKE_WORST" {
        weight = 2.0;
        description = "From address is listed in Mailspike RBL - worst possible reputation";
        groups = ["mailspike"];
    }
    "RBL_MAILSPIKE_VERYBAD" {
        weight = 1.5;
        description = "From address is listed in Mailspike RBL - very bad reputation";
        groups = ["mailspike"];
    }
    "RBL_MAILSPIKE_BAD" {
        weight = 1.0;
        description = "From address is listed in Mailspike RBL - bad reputation";
        groups = ["mailspike"];
    }
    "RWL_MAILSPIKE_POSSIBLE" {
        weight = 0.0;
        description = "From address is listed in Mailspike RWL - possibly legit";
        groups = ["mailspike"];
    }
    "RWL_MAILSPIKE_GOOD" {
        weight = -0.1;
        description = "From address is listed in Mailspike RWL - good reputation";
        groups = ["mailspike"];
    }
    "RWL_MAILSPIKE_VERYGOOD" {
        weight = -0.2;
        description = "From address is listed in Mailspike RWL - very good reputation";
        groups = ["mailspike"];
    }
    "RWL_MAILSPIKE_EXCELLENT" {
        weight = -0.4;
        description = "From address is listed in Mailspike RWL - excellent reputation";
        groups = ["mailspike"];
    }

    "RBL_SEM" {
        weight = 1.0;
        description = "From address is listed in Spameatingmonkey RBL";
        groups = ["sem"];
    }

    "RBL_SEM_IPV6" {
        weight = 1.0;
        description = "From address is listed in Spameatingmonkey RBL (IPv6)";
        groups = ["sem"];
    }

    "RBL_VIRUSFREE_BOTNET" {
        weight = 2.0;
        description = "From address is listed in virusfree.cz BL";
    }

    "RBL_NIXSPAM" {
        weight = 4.0;
        description = "From address is listed in NiX Spam (https://www.nixspam.net/)";
    }

    "RBL_BLOCKLISTDE" {
        weight = 4.0;
        description = "From address is listed in Blocklist (https://www.blocklist.de/)";
        groups = ["blocklistde"];
    }

    "RECEIVED_BLOCKLISTDE" {
        weight = 3.0;
        description = "Received address is listed in Blocklist (https://www.blocklist.de/)";
        groups = ["blocklistde"];
        one_shot = true;
    }
}