I would like to ask a build of opendkim for EPEL 8.
Would you mind requesting the branches and build them?
It would be very nice if you could also include the --with-lua option.
Thank you very much.
FYI, adding the --with-lua option may require a patch in the source in order to fix lua_load and lua_dump.
it seems pretty straightforward, though.
I want to request opendkim to be build for EPEL8 as well, please.
+1 here too
*** Bug 1765081 has been marked as a duplicate of this bug. ***
are we waiting on other dependencies for opendkim on EPEL 8 ? like firebird and opendbx ?
rpmbuild -ba firebird.spec
error: Failed build dependencies:
chrpath is needed by firebird-220.127.116.11054-4.el8.x86_64
libedit-devel is needed by firebird-18.104.22.168054-4.el8.x86_64
libicu-devel is needed by firebird-22.214.171.124054-4.el8.x86_64
libstdc++-static is needed by firebird-126.96.36.199054-4.el8.x86_64
libtommath-devel is needed by firebird-188.8.131.52054-4.el8.x86_64
procmail is needed by firebird-184.108.40.206054-4.el8.x86_64
rpmbuild -ba opendbx.spec
error: Failed build dependencies:
docbook2X is needed by opendbx-1.4.6-21.el8.x86_64
doxygen is needed by opendbx-1.4.6-21.el8.x86_64
firebird-devel is needed by opendbx-1.4.6-21.el8.x86_64
freetds-devel is needed by opendbx-1.4.6-21.el8.x86_64
libpq-devel is needed by opendbx-1.4.6-21.el8.x86_64
mysql-devel is needed by opendbx-1.4.6-21.el8.x86_64
rpmbuild -ba opendkim.spec
error: Failed build dependencies:
libbsd is needed by opendkim-2.11.0-0.9.el8.x86_64
libbsd-devel is needed by opendkim-2.11.0-0.9.el8.x86_64
libdb-devel is needed by opendkim-2.11.0-0.9.el8.x86_64
opendbx-devel is needed by opendkim-2.11.0-0.9.el8.x86_64
sendmail-devel is needed by opendkim-2.11.0-0.9.el8.x86_64
I believe we're missing opendbx and opendbx-devel. I installed opendbx and opendbx-devel from epel7 repository and could build opendkim 2.11.
1. Install these packages from RHEL8 repositories:
dnf install libdb-devel libmemcached-devel libtool openldap-devel sendmail-devel rpmdevtools make
2. Add epel7 repository to RHEL8:
name=Extra Packages for Enterprise Linux 7 - x86_64
name=Extra Packages for Enterprise Linux 7 - x86_64 - Debug
name=Extra Packages for Enterprise Linux 7 - x86_64 - Source
3. Add the repository key
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
4. Install opendbx and opendbx-devel
dnf install opendbx opendbx-devel --enablerepo=epel7
5. Get opendkim sources from epel7:
rpm -ivh opendkim-2.11.0-0.1.el7.src.rpm
6. Configure rpmdev or whatever that does...
7. Build opendkim from the sources:
rpmbuild -bb ~/rpmbuild/SPECS/opendkim.spec
This comes from my .zsh_history so I'm not sure to have all the steps here.
Thanks Federic your instructions worked wonderfully. Hoping to eventually see EPEL 8 sporting opendkimm packages but for now this will have to make do.
yum info opendkim-2.11.0-0.1.el8.x86_64
Last metadata expiration check: 0:22:14 ago on Tue 10 Dec 2019 12:49:01 AM AEST.
Name : opendkim
Version : 2.11.0
Release : 0.1.el8
Arch : x86_64
Size : 634 k
Source : opendkim-2.11.0-0.1.el8.src.rpm
Repo : @System
From repo : @commandline
Summary : A DomainKeys Identified Mail (DKIM) milter to sign and/or verify mail
URL : http://opendkim.org/
License : BSD and Sendmail
Description : OpenDKIM allows signing and/or verification of email through an open source
: library that implements the DKIM service, plus a milter-based filter
: application that can plug in to any milter-aware MTA, including sendmail,
: Postfix, or any other MTA that supports the milter protocol.
rpm -ql opendkim-2.11.0-0.1.el8.x86_64 | egrep 'bin|.conf'
rpm -ql libopendkim-devel-2.11.0-0.1.el8.x86_64 | egrep '.so|.h$'
I also want to request opendkim to be build for EPEL8 as well.
Just to point out that installing EPEL 7 on RHEL/CentOS 8 is the wrong thing to do. There should be no ".el7." packages installed on a RHEL/CentOS 8 system at all.
You should be downloading those missing package SRPMs and rebuilding those for el8 and adding them to an intermediate repo to be used for the opendkim build.
The EPEL 7 opendbx SRPM does not build cleanly on CentOS 8 (missing sqlite2 packages) but the Fedora 30 one does, so that is the one that should be used. Downloading opendbx-1.4.6-20.fc30.src.rpm and feeding that into `mock --rebuild opendbx-1.4.6-20.fc30.src.rpm` generates various packages and adding those to the local yum repo used by mock lets me build opendkim-2.11.0-0.1.el8.x86_64.rpm cleanly and correctly for el8. It also works for the latest Fedora 30 SRPM opendkim-2.11.0-0.8.fc30.src.rpm which is probably a better thing to use rather than the EPEL 7 version.
+1 for this issue. How can I run my MTA without of dkim?
Not currently possible to build a sane mail server on 8 without Postgrey, OpenDKIM and OpenDMARC
I hope I can help, I forked both opendkim and opendbx in src.fedoraproject.org and built them.
I performed some tests here, especially using the lua option, and seems to be working correctly.
They can be tested with the copr mirror I've set.
I hope it helps somehow.
As I am in the packager group, feel free to add me as co-maintainer, if you feel like so.
Please let me know if you need anything.
Ps: I add a note in the opendbx ticket as well.
1 - https://src.fedoraproject.org/fork/brandfbb/rpms/opendkim/c/5025543cf6c373ff1159df492d4586d0338b7e20?branch=epel8
2 - https://src.fedoraproject.org/fork/brandfbb/rpms/opendbx/c/6ea303c262b20132f59ef8cae3c8140a1d8f3687?branch=epel8
3 - https://copr.fedorainfracloud.org/coprs/brandfbb/opendkim-on-EPEL-8/
Very lacking OpenDKIM, OpenDMARC
libspf2-1.2.10-24.20150405gitd57d79fd.el8, opendbx-1.4.6-21.el8, opendkim-2.11.0-0.9.el8, opendmarc-1.3.2-1.el8 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-e8e71df342
Dear maintainer, i think i asked it before, would it be possible to build it with the --with-lua option?
I am still not maintainer. I just built it for epel8.
Next build I will try with lua.
Sure, thanks for that.
Feel free to add me as co-maitainer if you feel like so or if you need more hands.
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.
OpenDmarc and OpenDkim are missing to update any public Mta in CentOS 8.
Thank for all
The packages have been frozen for the past 19 days or so, and nobody has pushed them to stable:
libspf2-1.2.10-24.20150405gitd57d79fd.el8, opendbx-1.4.6-21.el8, opendkim-2.11.0-0.9.el8, opendmarc-1.3.2-1.el8 has been pushed to the Fedora EPEL 8 stable repository. If problems still persist, please make note of it in this bug report.