[clamav-users] clamav-milter start or restart changes owner/group

Joe Acquisto-j4 joea at j4computers.com
Tue Feb 23 18:10:33 UTC 2021



>> Citeren "G.W. Haywood via clamav-users" <clamav-users at lists.clamav.net>:
>> 
>>> Hi there,
>>>
>>> On Tue, 23 Feb 2021, Joe Acquisto-j4 wrote:
>>>
>>>> Seems starting or restarting clamav-milter (systemctl restart  
>>>> clamav-milter.service)
>>>> changes owner and group of /var/run/clamav-milter.socket to root  
>>>> which make the
>>>> socket inaccessible to postfix (at least).
>>>
>>> This isn't about clamav-milter, it's about your system and the way it
>>> does things.  Try reading some of the the systemd 'man' pages, e.g.
>> 
>> It *is* about clamav-miiter. The owner and permissions of the socket  
>> are set in /etc/clamav-milter.conf, Joe may want to check this  
>> configuration file as I believe the defaults in there are not what is  
>> needed on openSUSE when you use Postfix.
>> 
>> Regards, Arjen
>> 
> 
> Setting "MilterSocketGroup" to "postfix" did the deed.
> 
> Thanks.  Yet another one I should have figure out on my own.
> 
> joe a

My error.  It did change group to postfix, but left owner as root, which
still prevents socket access.   








More information about the clamav-users mailing list