Disable Dr.Web Email Notifications in Plesk
Introduction
Dr.Web Antivirus in Plesk periodically sends email notifications related to virus database updates, scan results, and service status. In some environments, these notifications may be excessive and unnecessary. This article explains how to disable Dr.Web email notifications for different Plesk versions.
Prerequisites
Before proceeding, ensure that you have:
- Root access or a user account with sudo privileges.
- SSH access to the server.
- Dr.Web Antivirus installed and configured in Plesk.
- A backup of the configuration files before making any changes.
Implementation
For Plesk 8
- Open the Dr.Web configuration file:
vi /etc/drweb/drweb32.ini - Locate the following parameter and set it to:
UpdateNotify = no - Save the file and exit the editor.
For Plesk 9
- Open the Dr.Web configuration file:
vi /etc/drweb/drweb32.ini - Locate the following parameter and set it to:
CronSummary = no - Save the file and exit the editor.
For Plesk 10
- Edit the Dr.Web update cron job:
vi /etc/cron.d/drweb-update - Modify the existing cron entry by appending the following:
2>&1 > /dev/null - The updated entry should look similar to:
*/30 * * * * drweb /opt/drweb/update.pl 2>&1 > /dev/null - Save the file and exit the editor.
This change suppresses the output generated by the update script, preventing email notifications from being sent by the cron service.
Conclusion
By updating the Dr.Web configuration or modifying the associated cron job, you can disable unnecessary email notifications generated by Dr.Web Antivirus in Plesk. After making the changes, monitor the server to ensure that Dr.Web continues to function correctly while no longer sending unwanted notification emails. It is recommended to periodically verify antivirus updates and scan results through the Plesk interface or server logs.
