From owner-freebsd-questions@FreeBSD.ORG Mon Mar 22 06:21:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7ED116A4CE for ; Mon, 22 Mar 2004 06:21:45 -0800 (PST) Received: from hermes.webtent.net (hermes.webtent.net [192.216.106.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92F2043D2D for ; Mon, 22 Mar 2004 06:21:43 -0800 (PST) (envelope-from robert@webtent.com) Received: from columbus (webtent.org [198.79.127.235]) by hermes.webtent.net (8.10.2/8.10.2) with ESMTP id i2MELYK31967; Mon, 22 Mar 2004 09:21:34 -0500 From: Robert Fitzpatrick To: Tom Munro Glass In-Reply-To: <200403221543.10268.tom@tmgcon.com> References: <200403221543.10268.tom@tmgcon.com> Content-Type: text/plain Organization: WebTent Networking, Inc. Message-Id: <1079965302.10373.6.camel@columbus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Mon, 22 Mar 2004 09:21:42 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: amavisd-new not using clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 14:21:46 -0000 On Mon, 2004-03-22 at 11:43, Tom Munro Glass wrote: > When a message is sent to amavisd for scanning I get the following message: > > WARN: all primary virus scanners failed, considering backups > Have you tested clamav to see if all works fine, run 'clamdscan /path/to/a/file'. Also, check the /etc/rc.conf to be sure clamav is enabled, see the top comments of /usr/local/etc/rc.d/clamd.sh. > I have checked that /usr/local/etc/clamav.conf and /usr/local/etc/amavisd.conf > are both referring to the same socket file in /var/run/clamav/clamd. I am > running both clamd and amavisd as user vscan so I don't understand why > amavisd isn't using clamd. > So, you have uncommented the clamav section of @av_scanners in amavisd.conf. Be sure to restart both services after making any changes. -- Robert