From owner-freebsd-ports@FreeBSD.ORG Wed Mar 17 04:46:24 2004 Return-Path: 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 36C1916A51B for ; Wed, 17 Mar 2004 04:46:24 -0800 (PST) Received: from postman.arcor.de (postman4.arcor-online.net [151.189.0.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B22043D3F for ; Wed, 17 Mar 2004 04:46:23 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from fillmore.dyndns.org (port-212-202-51-138.reverse.qsc.de [212.202.51.138]) (authenticated bits=0)i2HCkJD2010655 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 17 Mar 2004 13:46:20 +0100 (MET) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.30; FreeBSD) id 1B3aR6-0007Vp-Cr; Wed, 17 Mar 2004 13:46:16 +0100 Message-ID: <40584897.4030300@fillmore-labs.com> Date: Wed, 17 Mar 2004 13:46:15 +0100 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Evren Yurtesen References: <40583453.7000405@ispro.net.tr> <4058361B.4010909@fillmore-labs.com> <20040317114059.GA27663@chihiro.leafy.idv.tw> <405841A0.9030802@ispro.net.tr> In-Reply-To: <405841A0.9030802@ispro.net.tr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: ports@freebsd.org cc: leafy Subject: Re: clamav port... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 12:46:24 -0000 Evren Yurtesen wrote: > leafy wrote: > > >>On Wed, Mar 17, 2004 at 12:27:23PM +0100, Oliver Eikemeier wrote: >> >> >>>Evren Yurtesen wrote: >>> >>> >>>>Can you make it so that the installer can choose under which >>>>username/group the clamav port will operate instead of using the default >>>>clamav? >>> >>>clamav-devel does this. Is this a useful feature? >> >>Yes, if you want it to work with amavisd-new. They will have to use the >>same username (vscan in this my case). >> >>Jiawei Ye > > I am using qmail scanner and I had the same problem...and its not just > enough to set the username in clamav.conf file. Because then it is not > able to write to the log files chowned to clamav user... I solved this problem with exim by adding clamav to a group that is able to read the mail files (mail in this case), but not write them, which is IMHO a better solution that using the same user. Is this possible for vscan and qscand too? If not, I agree that we need this. But I would prefer the group solution, since that is what users and groups are there for. -Oliver