From owner-freebsd-ports@FreeBSD.ORG Thu Mar 1 23:10:55 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2509B16A403 for ; Thu, 1 Mar 2007 23:10:55 +0000 (UTC) (envelope-from Carlos.Paniago@cnptia.embrapa.br) Received: from norma.cnptia.embrapa.br (norma.cnptia.embrapa.br [200.0.70.188]) by mx1.freebsd.org (Postfix) with ESMTP id 962BB13C4B5 for ; Thu, 1 Mar 2007 23:10:54 +0000 (UTC) (envelope-from Carlos.Paniago@cnptia.embrapa.br) Received: from localhost.cnptia.embrapa.br (localhost.cnptia.embrapa.br [127.0.0.1]) by norma.cnptia.embrapa.br (Postfix) with ESMTP id 1856745156 for ; Thu, 1 Mar 2007 20:00:58 -0300 (BRT) Received: from [10.129.1.18] (m018.cnptia.embrapa.br [10.129.1.18]) by norma.cnptia.embrapa.br (Postfix) with ESMTP id 58F7045152 for ; Thu, 1 Mar 2007 20:00:55 -0300 (BRT) Message-ID: <45E75B20.7000500@cnptia.embrapa.br> Date: Thu, 01 Mar 2007 20:00:48 -0300 From: Carlos Fernando Assis Paniago Organization: Embrapa =?UTF-8?B?SW5mb3Jtw6F0aWNhIEFncm9wZWN1w6FyaWE=?= User-Agent: Thunderbird 1.5.0.9 (X11/20070212) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: multipart/mixed; boundary="------------000607090801010607070505" X-Virus-Scanned: by amavisd 0.1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [Fwd: Clamav and Amavisd] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 23:10:55 -0000 This is a multi-part message in MIME format. --------------000607090801010607070505 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi: I was running clamav and amavisd with postfix... With the recent change in clamav (0.90), I was receiving this error: Mar 1 19:08:55 norma amavisd[75399]: Virus scanner failure: /usr/local/bin/clamscan (error code: 40) Looking this error I find out: in amavisd I find the following line: (363 in /usr/local/sbin/amavisd) chop($output = `$clamscan --stdout -r -w --one-virus $TEMPDIR/parts`); And trying to use the clamscan with this options I find that: "-w --one-virus" is deprecated. What is the solution? (for now I changed the amavisd stuff), but is this the correct solution? SOmeone is finding this error (in this case the clamscan is not working). Carlos Paniago --------------000607090801010607070505--