1 |
# $Id: smeserver-qpsmtpd.spec,v 1.1 2016/02/05 23:28:48 stephdl Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.15 2016/04/21 15:52:36 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.6.0 |
%define version 2.6.0 |
7 |
%define release 2 |
%define release 16 |
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 |
Patch0: smeserver-qpsmtpd-2.6.0-PERMS.patch |
Patch0: smeserver-qpsmtpd-2.6.0-PERMS.patch |
14 |
|
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
15 |
|
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
16 |
|
Patch3: smeserver-qpsmtpd-2.6.0-dhparam.patch |
17 |
|
Patch4: smeserver-qpsmtpd-2.6.0-karma.patch |
18 |
|
Patch5: smeserver-qpsmtpd-2.6.0-loadcheck.patch |
19 |
|
Patch6: smeserver-qpsmtpd-2.6.0-bogus_bounce.patch |
20 |
|
Patch7: smeserver-qpsmtpd-2.6.0-use_clamdscan_plugin.patch |
21 |
|
Patch8: smeserver-qpsmtpd-2.6.0-set_karma_negative.patch |
22 |
|
Patch9: smeserver-qpsmtpd-2.6.0-change_rbl_sbl_list_separator.patch |
23 |
|
Patch10: smeserver-qpsmtpd-2.6.0-add_uribl_support.patch |
24 |
|
Patch11: smeserver-qpsmtpd-2.6.0-helo_default_to_rfc.patch |
25 |
|
Patch12: smeserver-qpsmtpd-2.6.0-use_naughty_plugin.patch |
26 |
|
Patch13: smeserver-qpsmtpd-2.6.0-karma_before_earlytalker.patch |
27 |
|
Patch14: smeserver-qpsmtpd-2.6.0-external_badrcptto.patch |
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
30 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
31 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
32 |
|
Requires: perl(ClamAV::Client) |
33 |
Requires: daemontools |
Requires: daemontools |
34 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
35 |
Requires: ipsvd |
Requires: ipsvd |
57 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-16.sme |
61 |
|
- Use an additional badrcptto file list for external connections so |
62 |
|
local only pseudonymes work as expected [SME: 9460] [SME: 4597] |
63 |
|
|
64 |
|
* Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-15.sme |
65 |
|
- Call karma before earlytalker and add support for the new strikes param |
66 |
|
[SME: 9462] |
67 |
|
|
68 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-14.sme |
69 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
70 |
|
to authenticate [SME: 5092] |
71 |
|
|
72 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-13.sme |
73 |
|
- Use the helo plugin to check reverse DNS [SME: 2370] |
74 |
|
|
75 |
|
* Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-12.sme |
76 |
|
- Add support for uribl plugin, disabled by default [SME: 9467] |
77 |
|
|
78 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-11.sme |
79 |
|
- Change separator for SBList and RBLlist from : to , [SME: 8484] |
80 |
|
|
81 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-10.sme |
82 |
|
- Allow setting the karma negative value from the KarmaNegative prop |
83 |
|
[SME: 9462] |
84 |
|
|
85 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-9.sme |
86 |
|
- Fix max_size param for the clamdscan plugin [SME: 9465] |
87 |
|
|
88 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
89 |
|
- Use clamdscan plugin instead of clamav [SME: 9465] |
90 |
|
|
91 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
92 |
|
- Enable the bogus_bounce plugin [SME: 9464] |
93 |
|
|
94 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
95 |
|
- Enable the loadcheck plugin [SME: 9463] |
96 |
|
|
97 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
98 |
|
- Add support for the karma plugin, but keep it disabled by default |
99 |
|
[SME: 9462] |
100 |
|
|
101 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
102 |
|
- Create a dhparam for qpsmtpd [SME: 9461] |
103 |
|
|
104 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
105 |
|
- Adapt for qpsmtpd-0.96 (mainly plugin renamed) [SME: 9460] |
106 |
|
|
107 |
* Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
* Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
108 |
- fix warning on spool_dir perms [SME: 9408] |
- fix warning on spool_dir perms [SME: 9408] |
109 |
- smeserver-qpsmtpd-2.6.0-PERMS.patch |
- smeserver-qpsmtpd-2.6.0-PERMS.patch |
794 |
%prep |
%prep |
795 |
%setup |
%setup |
796 |
%patch0 -p1 |
%patch0 -p1 |
797 |
|
%patch1 -p1 |
798 |
|
%patch2 -p1 |
799 |
|
%patch3 -p1 |
800 |
|
%patch4 -p1 |
801 |
|
%patch5 -p1 |
802 |
|
%patch6 -p1 |
803 |
|
%patch7 -p1 |
804 |
|
%patch8 -p1 |
805 |
|
%patch9 -p1 |
806 |
|
%patch10 -p1 |
807 |
|
%patch11 -p1 |
808 |
|
%patch12 -p1 |
809 |
|
%patch13 -p1 |
810 |
|
%patch14 -p1 |
811 |
|
|
812 |
%build |
%build |
813 |
perl createlinks |
perl createlinks |
814 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
815 |
|
|
816 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
817 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
818 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
819 |
|
|
820 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
821 |
10check_earlytalker |
09karma |
822 |
|
10earlytalker |
823 |
12count_unrecognized_commands |
12count_unrecognized_commands |
824 |
16require_resolvable_fromhost |
15helo |
825 |
|
16resolvable_fromhost |
826 |
|
19loadcheck |
827 |
20rhsbl |
20rhsbl |
828 |
22dnsbl |
22dnsbl |
829 |
|
23naughty |
830 |
|
34badrcptto_ext |
831 |
70spamassassin |
70spamassassin |
832 |
" |
" |
833 |
|
|
837 |
done |
done |
838 |
|
|
839 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
840 |
|
34badrcptto |
841 |
65disclaimer |
65disclaimer |
842 |
" |
" |
843 |
|
|
887 |
\ |
\ |
888 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
889 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
890 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
891 |
\ |
\ |
892 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
893 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |