Xyved Spamrules
https://git.xyved.dk/Xyved/spamrules/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.9 KiB
64 lines
1.9 KiB
spammy_tld_env_from {
|
|
type = "from";
|
|
filter = "email:domain:tld";
|
|
map = "https://raw.githubusercontent.com/mxroute/rspamd_rules/master/lists/tlds.txt";
|
|
symbol = "SPAMMY_TLD_ENVFROM";
|
|
description = "Sending TLD likely spam";
|
|
score = 1.5;
|
|
regexp = true;
|
|
}
|
|
|
|
spammy_tld_from {
|
|
type = "header";
|
|
header = "from";
|
|
filter = "email:domain:tld";
|
|
map = "https://raw.githubusercontent.com/mxroute/rspamd_rules/master/lists/tlds.txt";
|
|
symbol = "SPAMMY_TLD_FROM";
|
|
require_symbols = "!SPAMMY_TLD_ENVFROM";
|
|
description = "Sending TLD likely spam";
|
|
score = 1.5;
|
|
regexp = true;
|
|
}
|
|
|
|
MXROUTE_BODY_SPAM {
|
|
type = "content";
|
|
filter = "text";
|
|
map = "https://raw.githubusercontent.com/mxroute/rspamd_rules/master/lists/body-spam.map";
|
|
symbol = "MXROUTE_BODY_SPAM";
|
|
prefilter = true;
|
|
action = "reject";
|
|
regexp = true;
|
|
message = "The text of this email contained a string that we identified to be spam.";
|
|
}
|
|
|
|
SPAMMY_SUBJECT {
|
|
type = "header";
|
|
header = "subject";
|
|
map = "https://raw.githubusercontent.com/mxroute/rspamd_rules/master/lists/subject-spam.map";
|
|
symbol = "SPAMMY_SUBJ";
|
|
prefilter = true;
|
|
action = "reject";
|
|
regexp = true;
|
|
}
|
|
|
|
SENDER_FROM_BLACKLIST {
|
|
type = "from";
|
|
map = "https://raw.githubusercontent.com/mxroute/rspamd_rules/master/lists/blacklisted-sender-strings.map";
|
|
regexp = true;
|
|
description = "Blacklisted sender";
|
|
prefilter = true;
|
|
filter = "email:addr"
|
|
action = "reject";
|
|
message = "This sender has been blocked for matching a known spam trend";
|
|
}
|
|
|
|
MXROUTE_EXPLORING {
|
|
type = "content";
|
|
filter = "text";
|
|
map = "https://raw.githubusercontent.com/mxroute/rspamd_rules/master/lists/exploring.map";
|
|
symbol = "MXROUTE_EXPLORING";
|
|
prefilter = true;
|
|
action = "add_header";
|
|
regexp = true;
|
|
message = "We are observing this data to see how many and what kind of data it returns.";
|
|
}
|
|
|