My email server is using Postfix as the MTA and Clam AV as the anti-virus software running on Cent OS 5.4.
This way Clam AV can access all files on disk, and update its data definition files.
Enable antivirus_can_scan_system: Check the other options in the file, and change it to your preferred settings.
I have Clam Av of version 0.99.1 and i want to update to 0.99.2.
I tried to download the latest version of clam AV from https:// But i am not sure about, If i put this code into my live and it will not create the problem.
It helps with system hardening, vulnerability discovery, and compliance.
Download This blog is part of our mission: help individuals and companies, to scan and secure their systems.
In this case we configure it to check 4 times a day for new files.
Create a new file /usr/lib/systemd/system/clam-freshclam.service# Run the freshclam as daemon [Unit] Description = freshclam scanner After = network.target [Service] Type = forking Exec Start = /usr/bin/freshclam -d -c 4 Restart = on-failure Private Tmp = true [Install] Wanted By=multi-user.target since Thu 2015-06-11 CEST; 1s ago Process: 3158 Exec Start=/usr/bin/freshclam -d -c 4 (code=exited, status=0/SUCCESS) Main PID: 3159 (freshclam) CGroup: /system.slice/clam-freshclam.service └─3159 /usr/bin/freshclam -d -c 4[[email protected] system]# ls -l /usr/lib/systemd/system/clam* -rw-r--r--.
Useful resources for debugging are the systemctl status command, followed by the service. Join the Linux Security Expert training program, a practical and lab-based training ground.
Then there is logging in /var/log/messages, which usually will reveal when and why something is (not) running. For those who want to become (or stay) a Linux security expert.
Unlike most antivirus products, Clam AV requires no yearly subscription fee, and is completely free with source code to anyone who wishes to use it.