clamav port...

Evren Yurtesen yurtesen at ispro.net.tr
Wed Mar 17 05:18:11 PST 2004


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...



More information about the freebsd-ports mailing list