36345998c5
fixed leaking of the DQS key in reports, added sh.pre file in which the plugin is loaded and removed previous loading from .cf file
35 lines
687 B
Text
35 lines
687 B
Text
[
|
|
{
|
|
message: <<EOM
|
|
you will need to configure the sh.cf file with your own
|
|
DQS key.
|
|
|
|
Follow the instructions at:
|
|
https://www.spamhaustech.com/dqs/
|
|
to get a key, then go to:
|
|
https://portal.spamhaustech.com/src/manual/dqs/
|
|
and note your key.
|
|
|
|
Once you have it, run the following as root:
|
|
|
|
cd %%PREFIX%%/etc/mail/spamassassin
|
|
sed -e 's/your_DQS_key/<your key from above>/g' sh.cf.sample >sh.cf
|
|
|
|
then restart spamassassin.
|
|
EOM
|
|
type: install
|
|
}
|
|
{
|
|
message: <<EOM
|
|
You will need to re-run this as root:
|
|
|
|
cd %%PREFIX%%/etc/mail/spamassassin
|
|
sed -e 's/your_DQS_key/<your key from above>/g' sh.cf.sample >sh.cf
|
|
|
|
and restart spamassassin
|
|
EOM
|
|
type: upgrade
|
|
maximum_version: "1.0.3"
|
|
}
|
|
]
|
|
|