Bug 2230280 - clamav-milter can't change group
Summary: clamav-milter can't change group
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: clamav
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-09 08:56 UTC by Emmanuel Seyman
Modified: 2025-06-21 03:40 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Emmanuel Seyman 2023-08-09 08:56:32 UTC
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.

Comment 1 Sergio Basto 2023-08-09 10:55:02 UTC
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

Comment 2 Emmanuel Seyman 2023-08-09 11:57:22 UTC
I'm actually talking about /run/clamav-milter/clamav-milter.socket .

Comment 3 Sergio Basto 2024-05-08 12:27:05 UTC
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

Comment 4 Fedora Admin user for bugzilla script actions 2025-06-21 03:40:55 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.