[Mimedefang] Fwd: clamav vs clamd vs clamscan

Cliff Hayes chayes at afo.net
Wed Oct 8 13:54:07 EDT 2014

I decided to try clamav.
I did yum install clamav, then freshclam.

However, I am unsure of the format of the following line in mimedefang.pl

$Features{'Virus:CLAMAV'}   = ('/usr/bin' ne '/bin/false' ? '/bin/false' 
: 0);

I did a which on clamav and it is not found.
I did a which on clamscan and it's in /usr/bin.
So I'll do this:
$Features{'Virus:CLAMAV'}   = ('/usr/bin/clamscan' ne '/bin/false' ? 
'/usr/bin/clamscan' : 0);

Is the above correct?  I'm curious about the zero at the end.

-------- Original Message --------
From: - Wed Oct 08 11:56:48 2014
X-Account-Key: account6
X-UIDL: 0004703247d56bfd
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <mimedefang-bounces at lists.roaringpenguin.com>
Received: from nitronium01.afomx.net (wsip-66-210-221-11.pn.at.cox.net 
[]) by sendmail.afo.net (8.14.7/8.14.7) with ESMTP id 
s98GrqKb012184 for <chayes at afo.net>; Wed, 8 Oct 2014 11:53:52 -0500
Received: from colo3.roaringpenguin.com (roaringpenguin.com 
[]) by nitronium01.afomx.net (8.14.4/8.14.4) with ESMTP id 
s98GrnPJ011412 for <chayes at afo.net>; Wed, 8 Oct 2014 11:53:50 -0500
Received: from colo3.roaringpenguin.com (localhost []) by 
colo3.roaringpenguin.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id 
s98GrBfB007009; Wed, 8 Oct 2014 12:53:18 -0400
Received: from sendmail.afo.net (sendmail.afo.net []) by 
colo3.roaringpenguin.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id 
s98Gr8ic007003 for <mimedefang at lists.roaringpenguin.com>; Wed, 8 Oct 
2014 12:53:09 -0400
Received: from [] (wsip-66-210-32-144.pn.at.cox.net 
[] (may be forged)) (authenticated bits=0) by 
sendmail.afo.net (8.14.7/8.14.7) with ESMTP id s98Gr7rb011898; Wed, 8 
Oct 2014 11:53:07 -0500
Message-ID: <54356BDE.30305 at afo.net>
Date: Wed, 08 Oct 2014 11:52:46 -0500
From: Cliff Hayes <chayes at afo.net>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 
MIME-Version: 1.0
To: mimedefang at lists.roaringpenguin.com
X-Scanned-By: MIMEDefang 2.73
X-Scanned-By: MIMEDefang 2.75
X-Scanned-By: CanIt (www . roaringpenguin . com) on
X-Scanned-By: MIMEDefang 2.73
X-Bayes-Prob: 0.0001 (Score 0, tokens from: nolinks, default, @@RPTN)
X-Spam-Score: -0.10 () [Hold at 4.60] SPF(pass:0), DKIM(none:0), 
X-RP-Info: score=-0.1, reason=, tests=SPF(pass:0), DKIM(none:0), 
RBL(rp-good:-0.1), remote=, cc=US, city=Destin, 
trained=none, os=Linux 3.1-3.10, link=Ethernet or modem, s=
X-CanIt-Geo: ip=; country=US; region=Florida; city=Destin; 
latitude=30.3981; longitude=-86.4563; 
X-CanItPRO-Stream: nolinks (inherits from default)
X-Canit-Stats-ID: 01N0ER9uX - 640d84e49ddc - 20141008
X-CanIt-Archive-Cluster: SQVyZJxqklY5buiWXYCN4T/BjiM
X-CanIt-Archived-As: base/20141008 / 01N0ER9uX
X-Auto-Response-Suppress: OOF, DR, RN, NRN
Subject: [Mimedefang] clamav vs clamd vs clamscan
X-BeenThere: mimedefang at lists.roaringpenguin.com
X-Mailman-Version: 2.1.13
Precedence: list
Reply-To: mimedefang at lists.roaringpenguin.com
List-Id: For users of the MIMEDefang mail scanner 
<mailto:mimedefang-request at lists.roaringpenguin.com?subject=unsubscribe>
List-Archive: <http://lists.roaringpenguin.com/pipermail/mimedefang>
List-Post: <mailto:mimedefang at lists.roaringpenguin.com>
List-Help: <mailto:mimedefang-request at lists.roaringpenguin.com?subject=help>
<mailto:mimedefang-request at lists.roaringpenguin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: mimedefang-bounces at lists.roaringpenguin.com
Errors-To: mimedefang-bounces at lists.roaringpenguin.com

I am installing a new mail server on Scientific Linux 6.5.
What is the recommended way to install clam for mimedefang?
I have used binaries in the past but would prefer to use yum package
unless binaries are better for some reason.
I have listed the available packages below ... clamd won't install via
yum ... i get a message that it was obsoleted by clamav.
I see examples on the internet that mimedefang can fall back to clamscan
if clamd fails but I don't know which packages to load to enable that.
Now that clamd is no longer available, what is the recommended course of

clamav-db.x86_64 : Virus database for clamav

clamd.x86_64 : The Clam AntiVirus Daemon

clamav.x86_64 : Anti-virus software

Thanks in advance.

NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com

More information about the MIMEDefang mailing list