This may be a dupe of bug #1105888 After setting the following parameters in /etc/clamav-milter.conf: MilterSocketMode 660 MilterSocketGroup postfix I expected postfix to be able to "talk" to the milter. This turns out to not be the case and I end up with a milter that belongs to clamit:clamit which postfix can not talk to. I've worked around this by adding the postfix user to the clamilt group but I would prefer that the parameters in the configuration file be honoured.
please check "Changing permissions of directory /var/lib/clamav" in /usr/share/doc/clamav-milter/README.fedora file , let me know if it is what you are looking for , thank you
I'm actually talking about /run/clamav-milter/clamav-milter.socket .
Ok I think you need : cp /usr/lib/tmpfiles.d/clamav-milter.conf /etc/tmpfiles.d/ cp /usr/lib/systemd/system/clamav-milter.service /etc/systemd/system/ edit /etc/tmpfiles.d/clamav-milter.conf with d /run/clamav-milter 0710 postfix postfix and edit /etc/systemd/system/clamav-milter.service with User=postfix Group=postfix