]> git.proxmox.com Git - pmg-docs.git/commitdiff
Expand the docs for custom SA configuration
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 6 Nov 2019 11:18:37 +0000 (12:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 Nov 2019 11:47:51 +0000 (12:47 +0100)
Users regularly ask how to classify mails containing some keywords as spam.
Given that this usually indicates a misconfiguration in their DNS-Setup, and
the changes lead to more false positives than actually catching more spam
we should address this more explictly in the documentation.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
asciidoc/asciidoc-pmg.conf
pmgconfig.adoc

index 46838c03230f63e2c90445bb6c6c61e96d3a7571..2939e3bd21f57a7e0c98a830e4024b0b8f40584d 100644 (file)
@@ -10,6 +10,7 @@ forum=https://forum.proxmox.com/[Proxmox Community Forum]
 manmanual=Proxmox Mail Gateway Documentation
 max-width=55em
 spamassassin=https://spamassassin.apache.org[SpamAssassin(TM)]
+spamassassin_dnsbl=https://cwiki.apache.org/confluence/display/SPAMASSASSIN/DnsBlocklists[SpamAssassin DNSBL documentation]
 postfix=http://www.postfix.org[Postfix]
 postfix_tls_readme=http://www.postfix.org/TLS_README.html[Postfix TLS Readme]
 systemd=https://www.freedesktop.org/wiki/Software/systemd/[systemd]
index 2ac8a84cebaa51148ac6cb6fee28e5cc7e47cb82..5df47eb5bcf9dd8288636172e507fe34c7ad325e 100644 (file)
@@ -529,15 +529,21 @@ include::pmg.virusquar-conf-opts.adoc[]
 Custom SpamAssassin configuration
 ---------------------------------
 
-This is only for advanced users. To add or change the Proxmox
-{spamassassin} configuration please login to the console via SSH. Go
-to directory `/etc/mail/spamassassin/`. In this directory there are several
-files (`init.pre`, `local.cf`, ...) – do not change them.
-
-To add your special configuration, you have to create a new file and
-name it `custom.cf` (in this directory), then add your
-configuration there. Be aware to use the {spamassassin}
-syntax, and test with
+This is only for advanced users. {spamassassin}'s rules and their associated
+scores get updated regularly and are trained on a huge corpus, which gets
+classified by experts. In most cases adding a rule for matching a particular
+keyword is the wrong approach, leading to many false positives. Usually bad
+detection rates are better addressed by properly setting up DNS than by adding
+a custom rule - watch out for matches to 'URIBL_BLOCKED' in the logs or
+spam-headers - see the {spamassassin_dnsbl}.
+
+To add or change the Proxmox {spamassassin} configuration please login to the
+console via SSH. Go to directory `/etc/mail/spamassassin/`. In this directory
+there are several files (`init.pre`, `local.cf`, ...) – do not change them.
+
+To add your special configuration, you have to create a new file and name it
+`custom.cf` (in this directory), then add your configuration there. Be aware to
+use the {spamassassin} syntax, and test with
 
 ----
 # spamassassin -D --lint