Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 15:18:19 +0200
From:      Evren Yurtesen <yurtesen@ispro.net.tr>
To:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        leafy <leafy@leafy.idv.tw>
Subject:   Re: clamav port...
Message-ID:  <4058501B.5020405@ispro.net.tr>
In-Reply-To: <40584897.4030300@fillmore-labs.com>
References:  <40583453.7000405@ispro.net.tr> <4058361B.4010909@fillmore-labs.com> <20040317114059.GA27663@chihiro.leafy.idv.tw> <405841A0.9030802@ispro.net.tr> <40584897.4030300@fillmore-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Eikemeier wrote:

> 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

I tried that already,

# Initialize the supplementary group access (for all groups in /etc/group
# user is added in. clamd must be started by root).
AllowSupplementaryGroups

But it didnt work, I dont know why...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4058501B.5020405>