Questions tagged [clamav]

Antivirus for UNIX-like systems primarily for mailserver integration.

Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library.

  • command-line scanner
  • fast, multi-threaded daemon with support for on-access scanning
  • milter interface for sendmail
  • advanced database updater with support for scripted updates and digital signatures
  • virus scanner C library
  • on-access scanning (Linux® and FreeBSD®)
  • virus database updated multiple times per day (see home page for total number of signatures)
  • built-in support for various archive formats, including Zip, RAR, Tar, Gzip, Bzip2, OLE2, Cabinet, CHM, BinHex, SIS and others
  • built-in support for almost all mail file formats
  • built-in support for ELF executables and Portable Executable files compressed with UPX, FSG, Petite, NsPack, wwpack32, MEW, Upack and obfuscated with SUE, Y0da Cryptor and others

Official site: www.clamav.net

158 questions
1
vote
1 answer

Setting up ClamAV with Exim and Mailman on Debian Squeeze

I manage a Debian Squeeze server that uses Exim as the MTA and runs several mailing lists using Mailman. I'd like to set up ClamAV to block viruses that may get posted to a list. I'm having trouble finding documentation online for how to integrate…
jrdioko
  • 567
  • 5
  • 9
  • 18
1
vote
1 answer

How do I specify clamd's IP address when using clamdscan?

I set up a separate host for clamd to handle virus-scanning, and I want to test it before putting it in production. Now, while MailScanner's configuration for remote clamd is clear and simple, I can't find any information on how to do that with…
Daniel C. Sobral
  • 5,713
  • 6
  • 34
  • 48
1
vote
4 answers

Server super slow, RAM & Swap 100% used, ClamAV problem?

My Ubuntu 10.04 server is down since this morning. When I restart it, I can use it for a couple of minutes then the RAM and Swap get full, and SSH doesn't answer. It seems ClamAV is part of the problem. How can I stop it? clamd stop didn't work. And…
Nabab
  • 189
  • 1
  • 3
  • 12
1
vote
1 answer

Permission problems with Clamfs

been trying to get clamfs working on Ubuntu 10.4. It seems like everything is working, clamfs locates infected files and prevents me from opening these. But I am having permission troubles with a share that I have created. My folder structure looks…
1
vote
1 answer

ClamAv takes all cpu on my server when php scripts are run under root directory, even when I do not call clamscan

Hey guys I just finished installing clamAv on my vps that runs Centos. For some reason server interactions slow way down even when I am not calling on ClamAv (clamascan) directly but accessing php files under the root directory (in folder in root…
Scarface
  • 125
  • 9
1
vote
4 answers

How to resolve these errors and install ClamAV for Perl under Ubuntu/Debian?

After successful apt-get install clamav I then did: perl -MCPAN -e shell install File::Scan::ClamAV and got CPAN.pm: Going to build J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz Cannot find clamd in /root/bin (or a number of other places) - are…
Alex R
  • 1,063
  • 3
  • 14
  • 29
1
vote
0 answers

clamav-daemon doesn't create /var/run/clamd.ctl

I installed clamav-daemon on Debian 11 and when I try to start it, it doesn't create the LocalSocket /var/run/clamd.ctl. LocalSocket in my /etc/clamav/clamd.conf: LocalSocket /var/run/clamav/clamd.ctl systemctl status clamav-daemon.service…
afriend
  • 111
  • 2
1
vote
1 answer

What is the default file system for ClamAV scans?

I have just installed ClamAV on a Pi4 running Buster. I have looked at the configuration file and don't see where it specifies which file system it will scan automatically. I know if I use this sudo clamscan /home or sudo clamscan / it will scan…
RDK
  • 121
  • 3
1
vote
1 answer

Postfix not accepting recipient address: connect to private/policy: Connection refused

I thought I'd be clever and add amavis/spamassassin/clamav to my working Postfix installation. I got it working and then made a change. Walked away, had a beer, then found out I'd mucked up. This is what's happening now Oct 2 22:01:59 wilma…
Mike M
  • 13
  • 3
1
vote
1 answer

Running clamscan with the file list function

I am trying to schedule some tasks using ClamAV but it cannot find the find the file that contains the directories I want it to scan.   *Using sudo doesn't work.   *The files are set with permissions 644.   *Files are visible in command line as…
NoNo
  • 123
  • 6
1
vote
1 answer

How to speed up clamd@amavisd launch / get it to "start" on Amazon Linux 2

I recently upgraded clamav from I'm not sure which version, but whatever was current on EPEL on February 13th, to 0.102.3. Under the previous version, I had to set TimeoutStartSec in the systemd conf file to 5 minutes to get it to start without…
philolegein
  • 409
  • 4
  • 12
1
vote
2 answers

Why does calling HEAD on this URL prevent the following error: ERROR: Message: SSL peer certificate or SSH remote key was not OK

This is an issue I'm having with a specific package but it looks like the software is using a version of CURL for windows or something. I want to understand this specific behavior because it doesnt make sense to me. Im using this software which is a…
red888
  • 4,183
  • 18
  • 64
  • 111
1
vote
1 answer

Clamav on Centos 8 installation

I have installed ClamAV on Centos 8, following the installation guide on their website. I have run freshclam and that works fine but if I try to do a scan I get the following error: clamdscan /home ERROR: Could not connect to clamd on LocalSocket…
Imag1ne
  • 225
  • 1
  • 4
  • 9
0
votes
1 answer

Your ClamAV installation is OUTDATED

I'm running Vesta on Centos 7 and recently I've got this error. server#: freshclam current working dir is /var/lib/clamav ClamAV update process started at Fri Dec 13 12:36:40 2019 Using IPv6 aware code Max retries == 3 Querying…
0
votes
0 answers

clamd on several ports with different databases

Is it possible to run a clamd on one machine with different ports and each of them hold another database? 3310 = official databases 3311 = unofficial databases 3312 = yara rules p.s. CentOS 6/7
stsm
  • 1