1 |
# $Id: smeserver-qpsmtpd.spec,v 1.16 2016/05/06 20:49:32 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.32 2016/06/17 21:23:08 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 18 |
%define release 31 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
27 |
Patch15: smeserver-qpsmtpd-2.4.0-karma.patch |
Patch15: smeserver-qpsmtpd-2.4.0-karma.patch |
28 |
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
29 |
Patch17: smeserver-qpsmtpd-2.4.0-use_clamdscan_plugin.patch |
Patch17: smeserver-qpsmtpd-2.4.0-use_clamdscan_plugin.patch |
30 |
|
Patch18: smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
31 |
|
Patch19: smeserver-qpsmtpd-2.4.0-add_uribl_support.patch |
32 |
|
Patch20: smeserver-qpsmtpd-2.4.0-use_naughty_plugin.patch |
33 |
|
Patch21: smeserver-qpsmtpd-2.4.0-bogus_bounce.patch |
34 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
50 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
51 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
52 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
53 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
54 |
|
Requires: perl(Mail::DMARC) |
55 |
|
Requires: perl(DBD::SQLite) |
56 |
Requires: daemontools |
Requires: daemontools |
57 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
58 |
Requires: ipsvd |
Requires: ipsvd |
80 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
81 |
|
|
82 |
%changelog |
%changelog |
83 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme |
84 |
|
- Turn SPF and DMARC rejects off by default [SME: 9654] |
85 |
|
|
86 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme |
87 |
|
- Fix disabling DMARC reporting [SME: 9507] |
88 |
|
|
89 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
90 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
91 |
|
|
92 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
93 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
94 |
|
will still be splitted correctly [SME: 9506] |
95 |
|
|
96 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
97 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
98 |
|
|
99 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
100 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
101 |
|
|
102 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
103 |
|
- Add missing patch for DKIM signing [SME: 9506] |
104 |
|
- Create needed directories [SME: 9507] |
105 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
106 |
|
|
107 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
108 |
|
- Check SPF for inbound emails [SME: 9505] |
109 |
|
- Check DKIM for inbound emails [SME: 9504] |
110 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
111 |
|
[SME: 9507] |
112 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
113 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
114 |
|
|
115 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
116 |
|
- Use an additional badrcptto file list for external connections so |
117 |
|
local only pseudonymes work as expected [SME: 9503] |
118 |
|
|
119 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
120 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
121 |
|
|
122 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
123 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
124 |
|
to authenticate [SME: 9500] |
125 |
|
|
126 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
127 |
|
- Add support for the uribl plugin [SME: 9499] |
128 |
|
|
129 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
130 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
131 |
|
|
132 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
133 |
- Switch to the clamdscan plugin [SME: 9497] |
- Switch to the clamdscan plugin [SME: 9497] |
134 |
|
|
840 |
%patch15 -p1 |
%patch15 -p1 |
841 |
%patch16 -p1 |
%patch16 -p1 |
842 |
%patch17 -p1 |
%patch17 -p1 |
843 |
|
%patch18 -p1 |
844 |
|
%patch19 -p1 |
845 |
|
%patch20 -p1 |
846 |
|
%patch21 -p1 |
847 |
|
%patch22 -p1 |
848 |
|
%patch23 -p1 |
849 |
|
%patch24 -p1 |
850 |
|
%patch25 -p1 |
851 |
|
%patch26 -p1 |
852 |
|
%patch27 -p1 |
853 |
|
%patch28 -p1 |
854 |
|
%patch29 -p1 |
855 |
|
%patch30 -p1 |
856 |
|
%patch31 -p1 |
857 |
|
%patch32 -p1 |
858 |
|
%patch33 -p1 |
859 |
|
%patch34 -p1 |
860 |
|
%patch35 -p1 |
861 |
|
%patch36 -p1 |
862 |
|
|
863 |
%build |
%build |
864 |
perl createlinks |
perl createlinks |
865 |
|
|
866 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
867 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
868 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
869 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
870 |
|
|
871 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
872 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
873 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
881 |
19loadcheck |
19loadcheck |
882 |
20rhsbl |
20rhsbl |
883 |
22dnsbl |
22dnsbl |
884 |
|
221spf |
885 |
|
223dmarc |
886 |
|
34badrcptto_ext |
887 |
70spamassassin |
70spamassassin |
888 |
" |
" |
889 |
|
|
893 |
done |
done |
894 |
|
|
895 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
896 |
|
34badrcptto |
897 |
65disclaimer |
65disclaimer |
898 |
" |
" |
899 |
|
|
944 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
945 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
946 |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
947 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
948 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
949 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
950 |
\ |
\ |
951 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
952 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |