-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspamfilter-rules.json
More file actions
28 lines (28 loc) · 952 Bytes
/
spamfilter-rules.json
File metadata and controls
28 lines (28 loc) · 952 Bytes
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
{
"shouldAlertMatchDetails": false,
"rulesList": [
{
"email": "me@example.com",
"fromWhitelist": {"shouldTest": false, "list": []},
"senderBlacklist": {"list": ["John Doe", "@evil.org", "GitHub"]},
"subjectBlacklist": {"list": ["50% off", "Account suspended"]},
"contentBlacklist": {"list": ["Dear customer"]},
"headerBlacklist": [{"name": "received", "list": ["from mta.eval.to"]},
{"name": "content-type", "list": ["application/"]}
]
},
{
"email": "foo@bar.com",
"fromWhitelist": {"shouldTest": true, "list": ["GitHub"]},
"senderBlacklist": {"list": ["Jane Doe", "support@evil.org"]},
"subjectBlacklist": {"list": []},
"contentBlacklist": {"list": ["Dear customer"]},
"mailboxList": [{"name": "Another Mailbox",
"fromWhitelist": {"shouldTest": false, "list": []},
"senderBlacklist": {"list": []},
"subjectBlacklist": {"list": ["50% off"]},
"contentBlacklist": {"list": []}
}]
}
]
}