From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 11:53:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20D571065698 for ; Wed, 18 Aug 2010 11:53:27 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id C718E8FC18 for ; Wed, 18 Aug 2010 11:53:26 +0000 (UTC) Received: by yxe42 with SMTP id 42so177516yxe.13 for ; Wed, 18 Aug 2010 04:53:25 -0700 (PDT) Received: by 10.150.12.17 with SMTP id 17mr213629ybl.98.1282132405605; Wed, 18 Aug 2010 04:53:25 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-071-070-144-046.nc.res.rr.com [71.70.144.46]) by mx.google.com with ESMTPS id q21sm2050842ybk.3.2010.08.18.04.53.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Aug 2010 04:53:24 -0700 (PDT) Received: from scorpio (cpe-071-070-144-046.nc.res.rr.com [71.70.144.46]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 6A822E54828 for ; Wed, 18 Aug 2010 07:53:22 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.96.2 at scorpio.seibercom.net Date: Wed, 18 Aug 2010 07:53:21 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100818075321.37c39671@scorpio> In-Reply-To: <4C6BC321.5090901@ifdnrg.com> References: <4C6BC321.5090901@ifdnrg.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: clamav issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2010 11:53:27 -0000 On Wed, 18 Aug 2010 12:25:21 +0100 Paul Macdonald articulated: > I'm having some problems with a clamav install and wondered if anyone > had any suggestions. > > As of a few days ago i noticed mail was getting rejected with 451 > retry codes. > > Checking the milters this appeared to be clamav, and removing this > milter fixed the problem. > > Afterwards, on tryign to fix the issue, i noticed that whilst clamd > started ok, it no longer stopped and just endlessly waited for the > pid. > > I suspect this is related, as freshclam also was unable to notifuy > clamd of updates. > > I've rebuilt clamav several times, mainly thinking that the first > issue of why it wouldn;t stop was indictaive of it not responding to > other requests ( milter , freshclam etc). > > I've moved the mail scanning onto another box, but would dearly like > it to be working on this particular box. > > Where to start? Suggestions welcomed! Perhaps you could try the following - basically nuking clamav 1) Stop Clamav/Freshclam and the milter if it is running. 2) Run: pkg_delete -dfv clamav-0.96.2_1 3) Remove or rename any config files of Clamav and it children. Also, be sure to delete all of Clamav's definition files. 4) Remove old Clamav log files 5) Insure that any stale 'pid' files are deleted. 6) cd to the clamav port and run "make config" 7) Install the port and modify the Clamav/Freshclam/Clamilter config files are needed. 8 Either reboot or start manually all of the Clamav programs you require. (I would recommend the reboot) Good luck! -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ I am firm. You are obstinate. He is a pig-headed fool. Katharine Whitehorn