Installation Instructions

• We provide free installation and configuration for all our paid licenses. Open a support ticket if you would like a support technician to install the extension for you.
• You must be root in order to run the command line installer.
• The installer must pass all validation tests (memory tests, repository tests) otherwise the installer will exit and not run.
• Postfix needs to be installed before you begin the installation. If your server is currently running Qmail then complete Switching from Qmail to Postfix
• Dovecot needs to be installed before you begin the installation. If your server is currently running Courier then complete Switching from Courier to Dovecot

Download and install the extension

// download the extension
rm -f warden-5.01-1.zip
wget https://www.danami.com/clients/downloads/warden-5.01-1.zip

// verify the integrity of the download. It should match the digest below.
sha256sum warden-5.01-1.zip
e06d0a60b592cf3b6a3952680e62e2ac97406828e4cd07a6a22265054613ae72  warden-5.01-1.zip

// install the extension
plesk bin extension --install warden-5.01-1.zip

Login to Plesk and click the newly installed Warden Anti-spam and Virus Protection button on the left hand side of the navigation. You will be prompted to enter in your license key and start the setup wizard. You must go though the entire wizard in order to disable it. When running the configuration wizard for the first time it is important to apply the recommended settings for each page to apply the Plesk optimized settings for that section. You can view the installation progress using the command: tail -f /var/log/plesk/panel.log

Configuration using the command line interface

The extension also has a command line interface that can be used by automated deployment tools like Ansible. Run the command below to activate the extension license, run the application installer, and configure the application:

warden --task=application:setup --license_key=XXX

The setup will return no output and an exit code of 0 if successful. The install log is located at /var/log/plesk/panel.log

CLI Options

Option
Value Default Description
--license_key <string> The extension license key.
--autoinstall <1|0> 1 Set to 1 to run the installer and confgure the application.
--content_filter_milter <1|0> 1 Set to 1 to install the Amavisd-milter or 0 to not.
--antivirus <1|0> 1 Set to 1 to install ClamAV or 0 to not.
--kam <1|0> 1 Set to 1 to enable the KAM antispm ruleset or 0 to not.
--maxmind_key <string> The MaxMind geolocation license key. See: How to get a key
--abuseipdb_key <string> The AbuseIPDB reputation provider API key. See: How to get a key
--phishtank_key <string> The PhishTank anti-spam phishing API key. See: How to get a key
--securiteinfo <string> The SecuriteInfo anti-virus signature provider API key. See: How to get a key
--sanesecurity <1|0> 0 Set to 1 to enable the SaneSecurity antivirus signature provider.
--urlhaus <1|0> 0 Set to 1 to enable the URLhaus antivirus signature provider.