1 |
# $Id: smeserver-qpsmtpd.spec,v 1.6 2014/04/15 14:55:58 wellsi Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.34 2016/09/13 07:48:58 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 8 |
%define release 33 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
16 |
Patch4: smeserver-qpsmtpd-2.4.0-RBLSBLupdate.patch |
Patch4: smeserver-qpsmtpd-2.4.0-RBLSBLupdate.patch |
17 |
Patch5: smeserver-qpsmtpd-2.4.0-remove_databytes.patch |
Patch5: smeserver-qpsmtpd-2.4.0-remove_databytes.patch |
18 |
Patch6: smeserver-qpsmtpd-2.4.0-ahbl-patch |
Patch6: smeserver-qpsmtpd-2.4.0-ahbl-patch |
19 |
|
Patch7: smeserver-qpsmtpd-2.4.0-allow_relayclients_wo_authentications.patch |
20 |
|
Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch |
21 |
|
Patch9: smeserver-qpsmtpd-2.4.0-ssl_proto_from_db.patch |
22 |
|
Patch10: smeserver-qpsmtpd-2.4.0-ssl_update.patch |
23 |
|
Patch11: smeserver-qpsmtpd-2.4.0-compat_with_0.96.patch |
24 |
|
Patch12: smeserver-qpsmtpd-2.4.0-helo_default_to_rfc.patch |
25 |
|
Patch13: smeserver-qpsmtpd-2.4.0-remove_obsolete_badrcptto_pattern_conf.patch |
26 |
|
Patch14: smeserver-qpsmtpd-2.4.0-dhparam.patch |
27 |
|
Patch15: smeserver-qpsmtpd-2.4.0-karma.patch |
28 |
|
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
29 |
|
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 |
|
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.83 |
Requires: qpsmtpd >= 0.96 |
52 |
|
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 |
|
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-33.sme |
85 |
|
- updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
86 |
|
- to take into account list using a subdomain [SME: 10116] |
87 |
|
|
88 |
|
* Tue Sep 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-32.sme |
89 |
|
- Set the default helo policy to lenient [SME: 9767] |
90 |
|
|
91 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme |
92 |
|
- Turn SPF and DMARC rejects off by default [SME: 9654] |
93 |
|
|
94 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme |
95 |
|
- Fix disabling DMARC reporting [SME: 9507] |
96 |
|
|
97 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
98 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
99 |
|
|
100 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
101 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
102 |
|
will still be splitted correctly [SME: 9506] |
103 |
|
|
104 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
105 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
106 |
|
|
107 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
108 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
109 |
|
|
110 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
111 |
|
- Add missing patch for DKIM signing [SME: 9506] |
112 |
|
- Create needed directories [SME: 9507] |
113 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
114 |
|
|
115 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
116 |
|
- Check SPF for inbound emails [SME: 9505] |
117 |
|
- Check DKIM for inbound emails [SME: 9504] |
118 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
119 |
|
[SME: 9507] |
120 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
121 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
122 |
|
|
123 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
124 |
|
- Use an additional badrcptto file list for external connections so |
125 |
|
local only pseudonymes work as expected [SME: 9503] |
126 |
|
|
127 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
128 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
129 |
|
|
130 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
131 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
132 |
|
to authenticate [SME: 9500] |
133 |
|
|
134 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
135 |
|
- Add support for the uribl plugin [SME: 9499] |
136 |
|
|
137 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
138 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
139 |
|
|
140 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
141 |
|
- Switch to the clamdscan plugin [SME: 9497] |
142 |
|
|
143 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
144 |
|
- Enabe the loadcheck plugin [SME: 9508] |
145 |
|
|
146 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
147 |
|
- Add support for the karma plugin [SME: 9502] |
148 |
|
|
149 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
150 |
|
- Work with qpsmtpd 0.96 [SME: 8861] |
151 |
|
|
152 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
153 |
|
- Expand all ssl related conf in ssl-update [SME: 9152] |
154 |
|
|
155 |
|
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
156 |
|
- Hook into a new ssl-update event [SME: 9152] |
157 |
|
|
158 |
|
* Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
159 |
|
- Allow setting SSL protocols from DB [SME: 9162] |
160 |
|
|
161 |
|
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme |
162 |
|
- Add domain part to bcc user if missing [SME: 8990] |
163 |
|
|
164 |
|
* Wed Dec 3 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
165 |
|
- allow IP relayclient stored by DB [SME: 8704] |
166 |
|
- Code from Stefano ZAmboni <zamboni@mind-at-work.it> |
167 |
|
- & Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au> |
168 |
|
|
169 |
|
* Tue Dec 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
170 |
|
- allow IP relayclient stored by DB [SME: 8704] |
171 |
|
- Code from Stefano ZAmboni <zamboni@mind-at-work.it> |
172 |
|
|
173 |
* Tue May 6 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
* Tue May 6 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
174 |
- Remove dnsbl.ahbl.org RBL List [SME: 8368] |
- Remove dnsbl.ahbl.org RBL List [SME: 8368] |
175 |
|
|
837 |
%patch4 -p1 |
%patch4 -p1 |
838 |
%patch5 -p1 |
%patch5 -p1 |
839 |
%patch6 -p1 |
%patch6 -p1 |
840 |
|
%patch7 -p1 |
841 |
|
%patch8 -p1 |
842 |
|
%patch9 -p1 |
843 |
|
%patch10 -p1 |
844 |
|
%patch11 -p1 |
845 |
|
%patch12 -p1 |
846 |
|
%patch13 -p1 |
847 |
|
%patch14 -p1 |
848 |
|
%patch15 -p1 |
849 |
|
%patch16 -p1 |
850 |
|
%patch17 -p1 |
851 |
|
%patch18 -p1 |
852 |
|
%patch19 -p1 |
853 |
|
%patch20 -p1 |
854 |
|
%patch21 -p1 |
855 |
|
%patch22 -p1 |
856 |
|
%patch23 -p1 |
857 |
|
%patch24 -p1 |
858 |
|
%patch25 -p1 |
859 |
|
%patch26 -p1 |
860 |
|
%patch27 -p1 |
861 |
|
%patch28 -p1 |
862 |
|
%patch29 -p1 |
863 |
|
%patch30 -p1 |
864 |
|
%patch31 -p1 |
865 |
|
%patch32 -p1 |
866 |
|
%patch33 -p1 |
867 |
|
%patch34 -p1 |
868 |
|
%patch35 -p1 |
869 |
|
%patch36 -p1 |
870 |
|
%patch37 -p1 |
871 |
|
|
872 |
%build |
%build |
873 |
perl createlinks |
perl createlinks |
874 |
|
|
875 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
876 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
877 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
878 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
879 |
|
|
880 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
881 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
882 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
883 |
|
|
884 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
885 |
10check_earlytalker |
09karma |
886 |
|
10earlytalker |
887 |
12count_unrecognized_commands |
12count_unrecognized_commands |
888 |
16require_resolvable_fromhost |
15helo |
889 |
|
16resolvable_fromhost |
890 |
|
19loadcheck |
891 |
20rhsbl |
20rhsbl |
892 |
22dnsbl |
22dnsbl |
893 |
|
221spf |
894 |
|
223dmarc |
895 |
|
34badrcptto_ext |
896 |
70spamassassin |
70spamassassin |
897 |
" |
" |
898 |
|
|
902 |
done |
done |
903 |
|
|
904 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
905 |
|
34badrcptto |
906 |
65disclaimer |
65disclaimer |
907 |
" |
" |
908 |
|
|
952 |
\ |
\ |
953 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
954 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
955 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
956 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
957 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
958 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
959 |
\ |
\ |
960 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
961 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |