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

Postfix can not receive mail with error: amavis[15499]: () (!)DENIED ACCESS from IP x.x.x.x, policy bank

My mail server ran very well. But after my setting an OpenConnect VPN on the mail server, I found the server could not receive mails from outside. For example, my host IP is 1.2.3.4 I did tail -f /var/log/mail.log and found amavis[15499]: ()…
dotslash
  • 219
  • 3
  • 16
1
vote
0 answers

clamav installation with pcre in Amazon Linux

When we install ClamAV in our Amazon Linux ElasticBeanstalk instance with yum install clamav it gets installed without PCRE support, although the libraries are present in the instance. LibClamAV Warning: cli_loadldb: logical signature for…
arod
  • 582
  • 6
  • 19
1
vote
1 answer

Connection refused by AMAVISD-NEW

I found here many information to set a AWS server on my own. I installed the DKIM patch and it's work great, but now I can't send mails. I had already problems sending mails, but now are deeper. Some mails was sent and I tested my DKIM sign, but now…
1
vote
1 answer

clamav: cannot scan from a file list on Windows?

salt win8 grains.item osfullname win8: ---------- osfullname: Microsoft Windows 8.1 Enterprise Evaluation salt win8 cmd.run shell='powershell' '& "C:\\Program Files\\ClamAV-x64\clamdscan.exe" -V' win8: ClamAV 0.98.7/21375/Tue…
quanta
  • 51,413
  • 19
  • 159
  • 217
1
vote
1 answer

Gmail (Google Apps) filtering capabilities plus local clamav+spamassassin?

Scenario: My company is going to move all the mail accounts from the current local (and ancient) POP-only provider to gmail, via google apps for work. Current status: Currently we are using a firewall/proxy/spam filter appliance named nethsecurity…
matteo nunziati
  • 664
  • 1
  • 4
  • 13
1
vote
1 answer

Creating an SELINUX allow rule for sockets error with clamd

I've got a CentOS 7 box configured as a Squid proxy, with clamav and Squidclamav. Normally I would just disable SELINUX, but I am attempting to understand and setup allow rules properly. I've managed to create several to fix issues identified with…
James White
  • 674
  • 3
  • 18
  • 32
1
vote
2 answers

Clamdscan error when launched by apache user "No file descriptor received. ERROR"

We're trying to use clamav on a centos 7 server in order to scan directly files on our web apps (Moodle for example). When trying to execute a clamdscan from apache, we got this error (the file belong to apache:apache and has correct rights…
schubling
  • 13
  • 5
1
vote
1 answer

Configuration of ClamAV on Fedora Core 21 with Postfix

I was unable to find any help anywhere on installing Clamav on a modern Fedora system. All the advice out there is old and doesn't apply - so far as I found anyway. And, it's not enough straight-forward that I know what to do! The most important…
Richard T
  • 1,206
  • 12
  • 29
1
vote
3 answers

clamscan using maldet Error: Servname not supported for ai_socktype

So i have installed Linux Malware Detect (maldet) to scan a server and everything went fine with installation but when i run it i get an error. Bunch of errors and than the scan just closes it. Here is a command i have run on maldet to scan for a…
lonerunner
  • 124
  • 1
  • 4
  • 16
1
vote
1 answer

Clamav milter forward a copy of infected emails

I have a working postfix + clamav installation. How can I configure this to not just quarantene infected emails but if this happens also send a copy of the email to the sysadmins address? What I found in clamav-milter.conf is: VirusAction…
nokia445
  • 11
  • 2
1
vote
2 answers

Hourly Clamscan cron script failes at reading file list

I've this piece of code located in /etc/cron.hourly/hourlyclamscan. #!/usr/bin/bash # Create Hourly Cron Job With Clamscan # Directories to scan SCAN_DIR=/home/transmission/Downloads # Temporary file LIST_FILE=`mktemp /tmp/clamscan.XXXXXX` #…
Royco
  • 101
  • 1
  • 3
1
vote
1 answer

Error in amavisd.conf -missing curly or bracket

I'm currently trying to setup Spam and Virus Filtering on my CentOS 6.4 machine using SpamAssassin and ClamAV. I've installed all necessary packages (SA, ClamAV and Amavisd-new) and configured them. While trying to start amavisd I get the following…
Peter Noble
  • 111
  • 3
1
vote
1 answer

Clamdscan scans file in 0 seconds

I have to run clamav on large files. I was wondering which command was the fastest between clamscan and clamdscan. But it seems that clamdscan is not working properly: it scans file larger than 1 GB. Could you guys help me find why the heck…
SupaCoco
  • 113
  • 4
1
vote
4 answers

clamav can't find viruses in rar files on centos 6.4

I use ClamAV 0.97.8/17494 on CentOS 6.4. It's good but can't find viruses in rar files. It can detect same virus file as it is or in a zip file but in rar file ClamAV reports no virus. ScanArchive=yes option is already enabled I searched a lot on…
Ergec
  • 608
  • 1
  • 9
  • 25
1
vote
1 answer

Mod_security2 and clamav to catch malicious files on upload

Is there a clear documentation to describe the solution? It's very common and also necessary.
smhnaji
  • 619
  • 2
  • 11
  • 24