1 |
# $Id: smeserver-qpsmtpd.spec,v 1.21 2016/05/06 21:24:46 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.27 2016/05/06 22:55:06 vip-ire Exp $ |
2 |
|
|
3 |
Summary: SME Server qpsmtpd module |
Summary: SME Server qpsmtpd module |
4 |
%define name smeserver-qpsmtpd |
%define name smeserver-qpsmtpd |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 23 |
%define release 26 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
32 |
Patch20: smeserver-qpsmtpd-2.4.0-use_naughty_plugin.patch |
Patch20: smeserver-qpsmtpd-2.4.0-use_naughty_plugin.patch |
33 |
Patch21: smeserver-qpsmtpd-2.4.0-bogus_bounce.patch |
Patch21: smeserver-qpsmtpd-2.4.0-bogus_bounce.patch |
34 |
Patch22: smeserver-qpsmtpd-2.4.0-external_badrcptto.patch |
Patch22: smeserver-qpsmtpd-2.4.0-external_badrcptto.patch |
35 |
|
Patch23: smeserver-qpsmtpd-2.4.0-inbound_spf.patch |
36 |
|
Patch24: smeserver-qpsmtpd-2.4.0-inbound_dkim.patch |
37 |
|
Patch25: smeserver-qpsmtpd-2.4.0-inbound_dmarc.patch |
38 |
|
Patch26: smeserver-qpsmtpd-2.4.0-dkim_signing.patch |
39 |
|
Patch27: smeserver-qpsmtpd-2.4.0-init_dmarc_report_db.patch |
40 |
|
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
41 |
|
Patch29: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
42 |
|
Patch30: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
43 |
|
Patch31: smeserver-qpsmtpd-2.4.0-PERMS.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
46 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
47 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
48 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
49 |
|
Requires: perl(Mail::DMARC) |
50 |
|
Requires: perl(DBD::SQLite) |
51 |
Requires: daemontools |
Requires: daemontools |
52 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
53 |
Requires: ipsvd |
Requires: ipsvd |
75 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
76 |
|
|
77 |
%changelog |
%changelog |
78 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
79 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
80 |
|
|
81 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
82 |
|
- Add missing patch for DKIM signing [SME: 9506] |
83 |
|
- Create needed directories [SME: 9507] |
84 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
85 |
|
|
86 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
87 |
|
- Check SPF for inbound emails [SME: 9505] |
88 |
|
- Check DKIM for inbound emails [SME: 9504] |
89 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
90 |
|
[SME: 9507] |
91 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
92 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
93 |
|
|
94 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
95 |
- Use an additional badrcptto file list for external connections so |
- Use an additional badrcptto file list for external connections so |
96 |
local only pseudonymes work as expected [SME: 9503] |
local only pseudonymes work as expected [SME: 9503] |
824 |
%patch20 -p1 |
%patch20 -p1 |
825 |
%patch21 -p1 |
%patch21 -p1 |
826 |
%patch22 -p1 |
%patch22 -p1 |
827 |
|
%patch23 -p1 |
828 |
|
%patch24 -p1 |
829 |
|
%patch25 -p1 |
830 |
|
%patch26 -p1 |
831 |
|
%patch27 -p1 |
832 |
|
%patch28 -p1 |
833 |
|
%patch29 -p1 |
834 |
|
%patch30 -p1 |
835 |
|
%patch31 -p1 |
836 |
|
|
837 |
%build |
%build |
838 |
perl createlinks |
perl createlinks |
839 |
|
|
840 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
841 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
842 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
843 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
844 |
|
|
845 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
846 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
847 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
855 |
19loadcheck |
19loadcheck |
856 |
20rhsbl |
20rhsbl |
857 |
22dnsbl |
22dnsbl |
858 |
|
221spf |
859 |
|
223dmarc |
860 |
34badrcptto_ext |
34badrcptto_ext |
861 |
70spamassassin |
70spamassassin |
862 |
" |
" |
918 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
919 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
920 |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
921 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
922 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
923 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
924 |
\ |
\ |
925 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
926 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |