From owner-freebsd-ports@FreeBSD.ORG Tue May 9 23:14:21 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DEFB16A400 for ; Tue, 9 May 2006 23:14:21 +0000 (UTC) (envelope-from derrick@uniquestrength.net) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC5A243D48 for ; Tue, 9 May 2006 23:14:20 +0000 (GMT) (envelope-from derrick@uniquestrength.net) Received: from mail.uniquestrength.net ([68.55.192.50]) by comcast.net (rwcrmhc12) with ESMTP id <20060509231419m12008c8fke>; Tue, 9 May 2006 23:14:19 +0000 Received: from localhost (localhost.uniquestrength.net [127.0.0.1]) by mail.uniquestrength.net (Postfix) with ESMTP id CCBE85F26; Tue, 9 May 2006 09:31:22 -0400 (EDT) X-Virus-Scanned: amavisd-new at uniquestrength.net Received: from mail.uniquestrength.net ([127.0.0.1]) by localhost (mail.uniquestrength.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vS9VVZ5f3GeB; Tue, 9 May 2006 09:31:21 -0400 (EDT) Received: from focus.uniquestrength.net (unknown [10.10.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.uniquestrength.net (Postfix) with ESMTP id CE40A5F04; Tue, 9 May 2006 09:31:21 -0400 (EDT) From: Derrick Edwards To: freebsd-ports@freebsd.org Date: Tue, 9 May 2006 19:15:13 -0400 User-Agent: KMail/1.9.1 References: <21140.204.156.6.2.1147100614.squirrel@www.uniquestrength.net> <20060509203808.73852114@Magellan.Leidinger.net> In-Reply-To: <20060509203808.73852114@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605091915.13823.derrick@uniquestrength.net> Cc: Alexander Leidinger , gkovesdan@t-hosting.hu Subject: Re: Help with Amavisd-new 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: Tue, 09 May 2006 23:14:21 -0000 Are you sure? > > I don't remember the error message (and the above doesn't look like you > should do the following, but not AFAIR I searched for the problem for a > while), but maybe the following helps. > > chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav; I took your advice and double checked the permissons with your recommended commands and now it is working. I will edit the pkgtools.conf file also. Thanks to all for the assistance v/r Derrick > > If you use portupgrade I suggest to make sure > your /usr/local/etc/pkgtools.conf contains something similar to this: > ---snip--- > BEFOREDEINSTALL = { > 'security/clamav' => '/usr/local/etc/rc.d/clamav-freshclam.sh stop; > /usr/local/etc/rc.d/clamav-clamd.sh stop', } > > > AFTERINSTALL = { > 'security/clamav' => 'chown -R clamav:vscan /var/run/clamav; chmod -R > g+w /var/run/clamav; /usr/local/etc/rc.d/clamav-freshclam.sh start; > /usr/local/etc/rc.d/clamav-clamd.sh start', } > ---snip--- > > Bye, > Alexander.