Question
How to configure Plesk Premium Antivirus to remove infected messages?
Answer
Note: By default, Plesk Premium Antivirus puts infected messaged into quarantine and stores them into the /var/spool/drweb/infected
directory.
It is possible to change action on how to treat infected messages by editing the Plesk Premium Antivirus configuration file:
-
Login server via SSH
-
Execute the following command to change what to do with infected messages:
# sed -i.backup 's/^Infected = quarantine/Infected = cure/g; s/^Incurable = quarantine/Incurable = discard/g' /etc/drweb/drweb_handler.conf
-
Restart the Antivirus service:
# service drwebd restart