From 7eff8815f243bb30bbaa915de740731ce03b980b Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 11 Jan 2018 11:47:15 +0100 Subject: [PATCH] add Custom SpamAssassin configuration --- pmgconfig.adoc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pmgconfig.adoc b/pmgconfig.adoc index ad7a52b..a248f9e 100644 --- a/pmgconfig.adoc +++ b/pmgconfig.adoc @@ -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 --------------- -- 2.39.2