Control Web Panel
WebPanel => Problems on other RedHat linux servers => Topic started by: KenobiSky on February 01, 2025, 03:45:17 PM
-
How to permanently disable ClamAV?
I executed "service clamd stop && systemctl disable clamd" om the terminal as root.
But after some time, i dont know what exactly happened, if it was an update or something, but it re-enabled itself.
How can I permanently disable it and if possible even remove from the "mail services status dashboard" ?
-
I'm sure a CWP update re-enabled it at some point, since it's core functionality provided & expected by CWP's mail setup. systemctl disable removes symlinks that enable the service so you would have to periodically check for the existence of the symlinks and remove them. Or simply run your command periodically (hourly, overnight, whatever).
-
If the service is not installed, it won't show on the dashboard.
You can try to uninstall it using
dnf remove clamav* clamd
Is there some reason you don't want an AV on your server?
-
If the service is not installed, it won't show on the dashboard.
You can try to uninstall it using
dnf remove clamav* clamd
Is there some reason you don't want an AV on your server?
I will try that code. Thanks!
The reason is that it eats too much resources and every client already have an AV installed.
-
If the service is not installed, it won't show on the dashboard.
You can try to uninstall it using
dnf remove clamav* clamd
Is there some reason you don't want an AV on your server?
Hi! Thanks again for helping me. Can I bother you again, please?
Is there a code to disable/uninstall AMAVIS ?
-
The below command will stop and remove Amavis from the server:
systemctl stop amavis
systemctl disable amavis
dnf remove amavis