ports/mail/spamassassin-dqs/files/pkg-message.in
Larry Rosenman c016d4a862
mail/spamassassin-dqs: update to 1.4.0
- support mail/spamassassin 4.0.0+

Note: this commit will NOT support spamassassin < 4.0.0
2023-01-03 11:00:35 -06:00

45 lines
1.1 KiB
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/manuals/dqs/
and note the DQS key under section "1.0 Datafeed Query Service".
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
if the HBL option is selected, issue the following as well:
sed -e 's/your_DQS_key/<your key from above>/g' sh_hbl.cf.sample >sh_hbl.cf
(for more information on HBL, see %%DOCSDIR%%/README.md)
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
if the HBL option is selected, issue the following as well:
sed -e 's/your_DQS_key/<your key from above>/g' sh_hbl.cf.sample >sh_hbl.cf
(for more information on HBL, see %%DOCSDIR%%/README.md)
and restart spamassassin
EOM
type: upgrade
maximum_version: "1.4.0"
}
]