]> git.proxmox.com Git - pmg-docs.git/blobdiff - pmgconfig.adoc
add Custom SpamAssassin configuration
[pmg-docs.git] / pmgconfig.adoc
index ad7a52bf504128d7b6d67abae403a44bf5816c12..a248f9ea2dcadd9c2ce82035dd1ae5050a1fd946 100644 (file)
@@ -446,6 +446,27 @@ in `/etc/pmg/pmg.conf`, using the following configuration keys:
 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/spamassasin/`. 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
+----
+
+If you run a cluster, the `custom.cf` file is synchronized from the
+master node to all cluster members.
+
+
 User Management
 ---------------