The Spamhaus data query service is a set of DNSBLs with real time updates operated by Spamhaus Technology.
warden --task=antispam:plugin:sh
Option |
Value | Default | Description |
|---|---|---|---|
--sh_apikey |
<string> | The Spamhaus Technology Data Query service API key. You can learn more here: https://docs.danami.com/warden/user-guide/antispam-plugins/sh | |
--sh_hbl |
<1|0> | 0 | Enable the hash blocklist (HBL). This blocklist specializes in blocking cryptowallet, malware, email addresses and URLs (including shorteners, redirectors and online file storage providers). The HBL is included in the commercial use key only so it should not be enabled when using a non-commercial key. |
--default |
<yes> | Reset all settings to their default values. | |
--default_option |
<option> | Reset a specific setting to its default value. | |
--reload |
<yes> | Reload the service after saving settings. |
// enable the sh_hbl
warden --task=antispam:plugin:sh --sh_hbl=1 --reload=yes
// reset sh_hbl to its default value
warden --task=antispam:plugin:sh --default_option=sh_hbl --reload=yes
// reset all settings to their default values
warden --task=antispam:plugin:sh --default=yes --reload=yes
// activate the commercial Data Query key and enable the hash blocklist
warden --task=antispam:plugin:sh --sh_apikey=XXXXXXXXXXXXXXX --sh_hbl=1 --reload=yes