1 |
# $Id: smeserver-qpsmtpd.spec,v 1.21 2016/05/06 21:24:46 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.33 2016/07/12 20:07:13 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 32 |
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 |
|
Patch32: smeserver-qpsmtpd-2.4.0-fix_syntax_in_print_dns.patch |
45 |
|
Patch33: smeserver-qpsmtpd-2.4.0-set_dkim_option_after_key.patch |
46 |
|
Patch34: smeserver-qpsmtpd-2.4.0-remove_o_and_r_dkim_fields.patch |
47 |
|
Patch35: smeserver-qpsmtpd-2.4.0-fix_disabling_dmarc_reports.patch |
48 |
|
Patch36: smeserver-qpsmtpd-2.4.0-spf_and_dmarc_reject_off.patch |
49 |
|
Patch37: smeserver-qpsmtpd-2.4.0-default_helo_policy_lenient.patch |
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
52 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
53 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
54 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
55 |
|
Requires: perl(Mail::DMARC) |
56 |
|
Requires: perl(DBD::SQLite) |
57 |
Requires: daemontools |
Requires: daemontools |
58 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
59 |
Requires: ipsvd |
Requires: ipsvd |
81 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Tue Sep 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-32.sme |
85 |
|
- Set the default helo policy to lenient [SME: 9767] |
86 |
|
|
87 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme |
88 |
|
- Turn SPF and DMARC rejects off by default [SME: 9654] |
89 |
|
|
90 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme |
91 |
|
- Fix disabling DMARC reporting [SME: 9507] |
92 |
|
|
93 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
94 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
95 |
|
|
96 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
97 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
98 |
|
will still be splitted correctly [SME: 9506] |
99 |
|
|
100 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
101 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
102 |
|
|
103 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
104 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
105 |
|
|
106 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
107 |
|
- Add missing patch for DKIM signing [SME: 9506] |
108 |
|
- Create needed directories [SME: 9507] |
109 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
110 |
|
|
111 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
112 |
|
- Check SPF for inbound emails [SME: 9505] |
113 |
|
- Check DKIM for inbound emails [SME: 9504] |
114 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
115 |
|
[SME: 9507] |
116 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
117 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
118 |
|
|
119 |
* 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 |
120 |
- Use an additional badrcptto file list for external connections so |
- Use an additional badrcptto file list for external connections so |
121 |
local only pseudonymes work as expected [SME: 9503] |
local only pseudonymes work as expected [SME: 9503] |
849 |
%patch20 -p1 |
%patch20 -p1 |
850 |
%patch21 -p1 |
%patch21 -p1 |
851 |
%patch22 -p1 |
%patch22 -p1 |
852 |
|
%patch23 -p1 |
853 |
|
%patch24 -p1 |
854 |
|
%patch25 -p1 |
855 |
|
%patch26 -p1 |
856 |
|
%patch27 -p1 |
857 |
|
%patch28 -p1 |
858 |
|
%patch29 -p1 |
859 |
|
%patch30 -p1 |
860 |
|
%patch31 -p1 |
861 |
|
%patch32 -p1 |
862 |
|
%patch33 -p1 |
863 |
|
%patch34 -p1 |
864 |
|
%patch35 -p1 |
865 |
|
%patch36 -p1 |
866 |
|
%patch37 -p1 |
867 |
|
|
868 |
%build |
%build |
869 |
perl createlinks |
perl createlinks |
870 |
|
|
871 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
872 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
873 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
874 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
875 |
|
|
876 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
877 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
878 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
886 |
19loadcheck |
19loadcheck |
887 |
20rhsbl |
20rhsbl |
888 |
22dnsbl |
22dnsbl |
889 |
|
221spf |
890 |
|
223dmarc |
891 |
34badrcptto_ext |
34badrcptto_ext |
892 |
70spamassassin |
70spamassassin |
893 |
" |
" |
949 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
950 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
951 |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
952 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
953 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
954 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
955 |
\ |
\ |
956 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
957 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |