diff --git a/doc/about/comparison.md b/doc/about/comparison.md index 12e7312f9..3e57c3f14 100644 --- a/doc/about/comparison.md +++ b/doc/about/comparison.md @@ -163,7 +163,7 @@ title: Comparison Pyzor - + diff --git a/doc/modules/external_services.md b/doc/modules/external_services.md index 17b8d644a..56d3004bc 100644 --- a/doc/modules/external_services.md +++ b/doc/modules/external_services.md @@ -477,6 +477,25 @@ pyzor { } ~~~ +And add a default score: + +~~~hcl +# local.d/external_services_group.conf + +description = "External services"; + +symbols = { + ... + "PYZOR" { + # The base score for a spam mail + weight = 2.0; + description = "Detected as spam by pyzor"; + } +} +~~~ + +Note that the score set here will be scaled up or down by the Pyzor Lua script depending on the weight of spam and ham scores. + Restart rspamd `systemctl restart rspamd` Add the systemd socket and service: @@ -551,6 +570,21 @@ razor { } ~~~ +And set a default score for mails which are detected as spam by Razor: + +~~~hcl +# local.d/external_services_group.conf + +description = "External services"; + +symbols = { + ... + "RAZOR" { + weight = 4.0; + description = "Detected as spam by Vipul's Razor"; + } +~~~ + Restart rspamd `systemctl restart rspamd` Add the systemd socket and service: