From 6783664c901e699d4088f5f9f39fdb83e0b6f420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 29 Apr 2020 18:18:06 +0200 Subject: [PATCH] Enabled spf2 and opendmarc support Resolves: rhbz#1829076 --- exim-4.93-config.patch | 19 +++++++++++++++++-- exim.spec | 7 ++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/exim-4.93-config.patch b/exim-4.93-config.patch index ddc3be5..ed03a27 100644 --- a/exim-4.93-config.patch +++ b/exim-4.93-config.patch @@ -149,7 +149,13 @@ index 83325ab..968ef81 100644 # If you have content scanning you may wish to only include some of the scanner # interfaces. Uncomment any of these lines to remove that code. -@@ -597,7 +602,7 @@ DISABLE_MAL_MKS=yes +@@ -592,12 +598,12 @@ + + # Uncomment the following line to add DMARC checking capability, implemented + # using libopendmarc libraries. You must have SPF and DKIM support enabled also. +-# SUPPORT_DMARC=yes ++SUPPORT_DMARC=yes + # CFLAGS += -I/usr/local/include # LDFLAGS += -lopendmarc # Uncomment the following if you need to change the default. You can # override it at runtime (main config option dmarc_tld_file) @@ -272,7 +278,16 @@ index 83325ab..968ef81 100644 #------------------------------------------------------------------------------ -@@ -1096,7 +1101,7 @@ ZCAT_COMMAND=/usr/bin/zcat +@@ -1029,7 +1050,7 @@ + # installed on your system (www.libspf2.org). Depending on where it is installed + # you may have to edit the CFLAGS and LDFLAGS lines. + +-# SUPPORT_SPF=yes ++SUPPORT_SPF=yes + # CFLAGS += -I/usr/local/include + # LDFLAGS += -lspf2 + +@@ -1096,7 +1102,7 @@ ZCAT_COMMAND=/usr/bin/zcat # group. Once you have installed saslauthd, you should arrange for it to be # started by root at boot time. diff --git a/exim.spec b/exim.spec index 55da4f7..f8a3eca 100644 --- a/exim.spec +++ b/exim.spec @@ -15,7 +15,7 @@ Summary: The exim mail transfer agent Name: exim Version: 4.93 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Url: https://www.exim.org/ Group: System Environment/Daemons @@ -65,6 +65,7 @@ BuildRequires: libdb-devel openssl-devel openldap-devel pam-devel BuildRequires: lynx %endif BuildRequires: pcre-devel sqlite-devel tcp_wrappers-devel cyrus-sasl-devel +BuildRequires: libspf2-devel libopendmarc-devel BuildRequires: openldap-devel openssl-devel mysql-devel postgresql-devel BuildRequires: libXaw-devel libXmu-devel libXext-devel libX11-devel libSM-devel BuildRequires: libICE-devel libXpm-devel libXt-devel perl(ExtUtils::Embed) @@ -607,6 +608,10 @@ test "$1" = 0 || %{_initrddir}/clamd.exim condrestart >/dev/null 2>&1 || : %{_sysconfdir}/cron.daily/greylist-tidy.sh %changelog +* Wed Apr 29 2020 Jaroslav Škarvada - 4.93-2 +- Enabled spf2 and opendmarc support + Resolves: rhbz#1829076 + * Fri Mar 20 2020 Jaroslav Škarvada - 4.93-1 - Rebased to 4.93 Resolves: rhbz#1827425