antispam:plugin:sh

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 API key for Spamhaus DQS.
--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.

Examples

// 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

Related Pages