Bug 2123287 - Please branch and build clamsmtp in epel9
Summary: Please branch and build clamsmtp in epel9
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: clamsmtp
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nathanael Noblet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: no-missing-buildreqs
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-01 09:53 UTC by Ben Niksh
Modified: 2024-04-04 14:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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