summaryrefslogtreecommitdiff
path: root/mail/spamassassin-dqs/files/pkg-message.in
blob: 5893f7e6a367b615dfdf9bd5af95e309e85dcc0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[
{
 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.2.1"
}
]