> Citeren Joe Acquisto-j4 <j...@j4computers.com>:
> 
>>>> Citeren "G.W. Haywood via clamav-users" <clamav-users@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.
> 
> Uncommenting the line
> 
> #MilterSocketMode 660
> 
> will probably fix that.
> 
> 

It did.   Owner changed back to root, with commenting out User, but,
all appears to work.

joe a



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to