These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Virtualmin GPL - Virusscanner not working ? on the new forum.
I changed my VPS from ispconfig to virtualmin because of issues with the old installation. But now it looks like the email virusscanner is not working at all
df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 48G 11G 35G 25% / udev 2.0G 4.0K 2.0G 1% /dev tmpfs 807M 288K 807M 1% /run none 5.0M 4.0K 5.0M 1% /run/lock none 2.0G 0 2.0G 0% /run/shm /dev/sda1 461M 36M 403M 9% /boot root@papasmurf:/#
free -m total used free shared buffers cached Mem: 4034 2740 1294 0 91 2032 -/+ buffers/cache: 616 3418 Swap: 952 6 946
I don`t see any clamd logging in /var/log/mail.log and the following in less /var/log/clamav/clamav.log
Tue Jul 16 21:29:15 2013 -> +++ Started at Tue Jul 16 21:29:15 2013 Tue Jul 16 21:29:15 2013 -> clamd daemon 0.97.8 (OS: linux-gnu, ARCH: i386, CPU: i686) Tue Jul 16 21:29:15 2013 -> Log file size limited to -1 bytes. Tue Jul 16 21:29:15 2013 -> Reading databases from /var/lib/clamav Tue Jul 16 21:29:15 2013 -> Not loading PUA signatures. Tue Jul 16 21:29:15 2013 -> Bytecode: Security mode set to "TrustSigned". Tue Jul 16 21:29:20 2013 -> Loaded 2516140 signatures. Tue Jul 16 21:29:21 2013 -> LOCAL: Unix socket file /var/run/clamav/clamd.ctl Tue Jul 16 21:29:21 2013 -> LOCAL: Setting connection queue length to 15 Tue Jul 16 21:29:21 2013 -> Limits: Global size limit set to 104857600 bytes. Tue Jul 16 21:29:21 2013 -> Limits: File size limit set to 26214400 bytes. Tue Jul 16 21:29:21 2013 -> Limits: Recursion level limit set to 16. Tue Jul 16 21:29:21 2013 -> Limits: Files limit set to 10000. Tue Jul 16 21:29:21 2013 -> Archive support enabled. Tue Jul 16 21:29:21 2013 -> Algorithmic detection enabled. Tue Jul 16 21:29:21 2013 -> Portable Executable support enabled. Tue Jul 16 21:29:21 2013 -> ELF support enabled. Tue Jul 16 21:29:21 2013 -> Mail files support enabled. Tue Jul 16 21:29:21 2013 -> OLE2 support enabled. Tue Jul 16 21:29:21 2013 -> PDF support enabled. Tue Jul 16 21:29:21 2013 -> HTML support enabled. Tue Jul 16 21:29:21 2013 -> Self checking every 3600 seconds. (END)
Howdy,
If you click Edit Virtual Server -> Enabled Features for this particular domain, is the "Virus Scanning" feature enabled?
Also, if you go into System Settings -> Re-Check Config, does it detect any problems?
Lastly -- what distro/version are you using?
-Eric
Spam and Virusfiltering are enabled for all domains.
I think i changed something and now it seems to be working (how ever i don`t see any proof in the mailheader)
I changed vim /etc/clamav/clamd.conf
And now when i sent a EICAR test file it seems to be blocked
When i change it back it still seem to be working. However after i just installed virtualmin the virusses seem to pass the mailserver without issue. Why is there no rule about the virusscanner in the mail header (just to see it has scanned the mail without issues)
Great!
One other thing you could check, just to make sure it's not throwing any errors, is to look in /var/log/procmail.log.
If ClamAV is generating errors, it's possible they may appear in there.
But if it stopped the eicar virus, it sounds like it's working properly.
-Eric