In some cases, you may need to restart your server directly from the Client Area, especially if...
The IQ Hosting team has developed a custom ImunifyAV Webmin Module that seamlessly integrates the standalone ImunifyAV(+) interface directly into Webmin. This allows you to manage malware scans, notifications, and protection features from one place—without switching between dashboards or using separate credentials.
Webmin and its extended edition Virtualmin are among the best free and open-source alternatives to cPanel. They offer complete server management through a modern web interface, providing full control with zero licensing costs.
Main Features
- UI Integration: Securely embeds the ImunifyAV(+) web interface inside Webmin via iframe.
- Token-Based Login: No credentials required; uses auto-refreshing authentication tokens.
- Enhanced Security: Access is restricted to the root IP address for better protection.
- Real-Time Notifications: Built-in Telegram and Email alerts for scan events and malware detection.
- Free & Open Source: Works natively with Webmin and Virtualmin with no extra costs.
Installing ImunifyAV(+)
Prerequisites
- Review the official ImunifyAV Standalone documentation first to understand the installation requirements and options — but do not run the installation yet:
Note: You must configure the
integration.conffile before running the installation to avoid setup errors. - Create the configuration directory:
mkdir -p /etc/sysconfig/imunify360
- Create the integration configuration file:
nano /etc/sysconfig/imunify360/integration.conf
Add the following configuration:
[paths]
ui_path = /home/._hostname/public_html/imunifyav
ui_path_owner = _hostname:_hostname
[pam]
service_name = system-authImportant Note: Webmin automatically creates a user named._hostnamewhen SSL is enabled for the hostname. The subdirectory name must be exactlyimunifyav. - Install ImunifyAV:
wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh -O imav-deploy.sh
bash imav-deploy.sh
Installing the Webmin Module
- Download the module package from GitHub:
- In Webmin, go to:
Webmin Configuration → Webmin Modules
- Select From uploaded file, upload the
imunifyav.wbm.gzfile, and click Install Module. - Once installed, open the ImunifyAV Manager module from the System section in Webmin.
- On first access, click Enable CSP to activate Content Security Policy.
Configuring Notifications
The module supports notifications via Telegram and Email for the following events:
- User scan started
- Custom scan started
- User scan malware detected
- Custom scan malware detected
Setup Steps
- Open the ImunifyAV Manager module from Webmin
- Go to the Notification Settings tab
- To enable Telegram:
- Enable Telegram option
- Enter Bot Token (get it from @BotFather)
- Enter Chat ID (get it from @userinfobot)
- To enable Email:
- Enable Email option
- Enter recipient email address
- Click Save Settings
- In the ImunifyAV Event Hooks section, click Enable Notifications
- The ImunifyAV service will restart automatically
Required Dependencies
To ensure notifications work properly, install the following Perl modules:
yum install perl-JSON perl-libwww-perl
# Debian/Ubuntu
apt install libjson-perl libwww-perl
# Via CPAN
cpan JSON LWP::UserAgent
Security and Best Practices
- Authentication is handled through short-lived tokens, not plain passwords.
- The iframe integration is securely restricted to the root IP address.
- Content Security Policy (CSP) prevents XSS and clickjacking attacks.
- All user inputs are validated and sanitized.
- Fully compatible with Webmin and Virtualmin for unified, free, and open-source server security management.
Support and Contributions
This is the first release (v1.0.0) of the ImunifyAV Webmin Module developed by IQ Hosting. We welcome feedback and suggestions for future improvements!
- Project Repository: iq-hosting/imunifyav-webmin-module
- Report Issues: GitHub Issues
- Full Documentation: README.md