1 |
# $Id: smeserver-qpsmtpd.spec,v 1.2 2013/04/10 19:29:02 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.19 2016/05/06 21:06:12 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 3 |
%define release 21 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch1: smeserver-qpsmtpd-2.4.0-spamassassin_size_limit.patch |
Patch1: smeserver-qpsmtpd-2.4.0-spamassassin_size_limit.patch |
14 |
|
Patch2: smeserver-qpsmtpd-2.4.0-initialize_size.patch |
15 |
|
Patch3: smeserver-qpsmtpd-2.4.0-ciphers-update.patch |
16 |
|
Patch4: smeserver-qpsmtpd-2.4.0-RBLSBLupdate.patch |
17 |
|
Patch5: smeserver-qpsmtpd-2.4.0-remove_databytes.patch |
18 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
35 |
|
Requires: perl(ClamAV::Client) |
36 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
37 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
38 |
Requires: daemontools |
Requires: daemontools |
62 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
63 |
|
|
64 |
%changelog |
%changelog |
65 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
66 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
67 |
|
to authenticate [SME: 9500] |
68 |
|
|
69 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
70 |
|
- Add support for the uribl plugin [SME: 9499] |
71 |
|
|
72 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
73 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
74 |
|
|
75 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
76 |
|
- Switch to the clamdscan plugin [SME: 9497] |
77 |
|
|
78 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
79 |
|
- Enabe the loadcheck plugin [SME: 9508] |
80 |
|
|
81 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
82 |
|
- Add support for the karma plugin [SME: 9502] |
83 |
|
|
84 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
85 |
|
- Work with qpsmtpd 0.96 [SME: 8861] |
86 |
|
|
87 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
88 |
|
- Expand all ssl related conf in ssl-update [SME: 9152] |
89 |
|
|
90 |
|
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
91 |
|
- Hook into a new ssl-update event [SME: 9152] |
92 |
|
|
93 |
|
* Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
94 |
|
- Allow setting SSL protocols from DB [SME: 9162] |
95 |
|
|
96 |
|
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme |
97 |
|
- Add domain part to bcc user if missing [SME: 8990] |
98 |
|
|
99 |
|
* Wed Dec 3 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
100 |
|
- allow IP relayclient stored by DB [SME: 8704] |
101 |
|
- Code from Stefano ZAmboni <zamboni@mind-at-work.it> |
102 |
|
- & Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au> |
103 |
|
|
104 |
|
* Tue Dec 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
105 |
|
- allow IP relayclient stored by DB [SME: 8704] |
106 |
|
- Code from Stefano ZAmboni <zamboni@mind-at-work.it> |
107 |
|
|
108 |
|
* Tue May 6 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme |
109 |
|
- Remove dnsbl.ahbl.org RBL List [SME: 8368] |
110 |
|
|
111 |
|
* Tue Apr 15 2014 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
112 |
|
- Remove the databytes file from qpsmtpd config [SME: 8329] |
113 |
|
|
114 |
|
* Tue Apr 15 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
115 |
|
- Update SBL and RBL Lists [SME: 8236] |
116 |
|
|
117 |
|
* Tue Jan 28 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme |
118 |
|
- Remove insecure ciphers [SME: 8138] |
119 |
|
|
120 |
|
* Fri Jun 14 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4 |
121 |
|
- Fix size_limit initialization [SME: 7671] |
122 |
|
|
123 |
* Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3 |
* Wed Apr 24 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3 |
124 |
- reads MaxMessageSize prop of spamassassin and adds it |
- reads MaxMessageSize prop of spamassassin and adds it |
125 |
to the arguments of the plugin if defined [SME: 7559] |
to the arguments of the plugin if defined [SME: 7559] |
767 |
%prep |
%prep |
768 |
%setup |
%setup |
769 |
%patch1 -p1 |
%patch1 -p1 |
770 |
|
%patch2 -p1 |
771 |
|
%patch3 -p1 |
772 |
|
%patch4 -p1 |
773 |
|
%patch5 -p1 |
774 |
|
%patch6 -p1 |
775 |
|
%patch7 -p1 |
776 |
|
%patch8 -p1 |
777 |
|
%patch9 -p1 |
778 |
|
%patch10 -p1 |
779 |
|
%patch11 -p1 |
780 |
|
%patch12 -p1 |
781 |
|
%patch13 -p1 |
782 |
|
%patch14 -p1 |
783 |
|
%patch15 -p1 |
784 |
|
%patch16 -p1 |
785 |
|
%patch17 -p1 |
786 |
|
%patch18 -p1 |
787 |
|
%patch19 -p1 |
788 |
|
%patch20 -p1 |
789 |
|
|
790 |
%build |
%build |
791 |
perl createlinks |
perl createlinks |
795 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
796 |
|
|
797 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
798 |
10check_earlytalker |
09karma |
799 |
|
10earlytalker |
800 |
12count_unrecognized_commands |
12count_unrecognized_commands |
801 |
16require_resolvable_fromhost |
15helo |
802 |
|
16resolvable_fromhost |
803 |
|
19loadcheck |
804 |
20rhsbl |
20rhsbl |
805 |
22dnsbl |
22dnsbl |
806 |
70spamassassin |
70spamassassin |
861 |
\ |
\ |
862 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
863 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
864 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
865 |
\ |
\ |
866 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
867 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |