mirror of
https://github.com/rspamd/rspamd.git
synced 2024-08-19 14:10:55 +02:00
105 lines
4.2 KiB
Plaintext
105 lines
4.2 KiB
Plaintext
# 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_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
|
|
|
|
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 "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"
|
|
}
|
|
|
|
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/groups.conf"
|
|
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/groups.conf" |