Bug 2123287

Summary: Please branch and build clamsmtp in epel9
Product: [Fedora] Fedora EPEL Reporter: Ben Niksh <arnial>
Component: clamsmtpAssignee: Orphan Owner <extras-orphan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: nathanael, neil, pvanbommel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: no-missing-buildreqs
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Niksh 2022-09-01 09:53:59 UTC
Description of problem:


ClamSMTP is an SMTP filter that allows you to check for viruses using the ClamAV anti-virus software. It accepts SMTP connections and forwards the SMTP commands and responses to another SMTP server. Works well with Postfix.

The latest version is clamsmtp-1.10-14.el7 in epel7 but is missing in EPEL 8 and 9.

Comment 1 Ben Niksh 2022-09-03 17:06:21 UTC
ClamSMTP is an SMTP filter that allows you to check for viruses using the ClamAV anti-virus software. It accepts SMTP connections and forwards the SMTP commands and responses to another SMTP server. Works well with Postfix.

The latest version is clamsmtp-1.10-14.el7 in epel7 but is missing in EPEL 8 and 9.

Comment 2 Neil Hanlon 2024-04-03 20:24:11 UTC
Will you be able to branch and build clamsmtp in epel9?

If you do not wish to maintain clamsmtp in epel9,
or do not think you will be able to do this in a timely manner,
I would be happy to be a co-maintainer of the package (FAS neil);
please add me through https://src.fedoraproject.org/rpms/clamsmtp/adduser

Comment 3 Neil Hanlon 2024-04-03 20:46:39 UTC
A scratch build is available at https://koji.fedoraproject.org/koji/taskinfo?taskID=115838463

Comment 4 Paul Van Bommel 2024-04-04 14:50:54 UTC
I did a test of the scratch build on a Rocky Linux 9.3 system and there were a couple of issues.

the /var/run entries need to be changed to /run based on the newer version of systemd
https://access.redhat.com/solutions/4154291
RL 9.0 seems to use systemd-252-18.el9, so that means all EL9 is past version systemd-239.

the pre and post scriptlets need to be updated on the "systemd-update-helper" lines.
the "clamsmtpd-clamd.service" needs to be renamed to "clamsmtp-clamd.service"

the preuninstall scriptlet should have a user delete run during uninstall(based on the comment line)
userdel --remove clamsmtp
should be added. the --remove is needed to clean up the mail folder.(not sure if this will confilt with the rpm removing /var/lib/clamd.clamsmtp or not. but we can test it)

Please build an new scratch version and I'll test it out.
thanks you.

Comment 5 Fedora Admin user for bugzilla script actions 2025-01-28 14:06:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.