1 |
# $Id: smeserver-qpsmtpd.spec,v 1.1 2016/02/05 23:28:48 stephdl Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.19 2016/05/06 09:27:09 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 19 |
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 |
|
Patch15: smeserver-qpsmtpd-2.6.0-smtpd_to_qpsmtpd.patch |
29 |
|
Patch16: smeserver-qpsmtpd-2.6.0-inbound_spf.patch |
30 |
|
Patch17: smeserver-qpsmtpd-2.6.0-inbound_dkim.patch |
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
33 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
34 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
35 |
|
Requires: perl(ClamAV::Client) |
36 |
Requires: daemontools |
Requires: daemontools |
37 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
38 |
Requires: ipsvd |
Requires: ipsvd |
60 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
61 |
|
|
62 |
%changelog |
%changelog |
63 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-19.sme |
64 |
|
- Enable inbound dkim checking (without reject) [SME: 9480] |
65 |
|
|
66 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-18.sme |
67 |
|
- Enable inbound SPF checking (without reject) [SME: 9479] |
68 |
|
|
69 |
|
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-17.sme |
70 |
|
- Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478] |
71 |
|
|
72 |
|
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-16.sme |
73 |
|
- Use an additional badrcptto file list for external connections so |
74 |
|
local only pseudonymes work as expected [SME: 9460] [SME: 4597] |
75 |
|
|
76 |
|
* Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-15.sme |
77 |
|
- Call karma before earlytalker and add support for the new strikes param |
78 |
|
[SME: 9462] |
79 |
|
|
80 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-14.sme |
81 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
82 |
|
to authenticate [SME: 5092] |
83 |
|
|
84 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-13.sme |
85 |
|
- Use the helo plugin to check reverse DNS [SME: 2370] |
86 |
|
|
87 |
|
* Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-12.sme |
88 |
|
- Add support for uribl plugin, disabled by default [SME: 9467] |
89 |
|
|
90 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-11.sme |
91 |
|
- Change separator for SBList and RBLlist from : to , [SME: 8484] |
92 |
|
|
93 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-10.sme |
94 |
|
- Allow setting the karma negative value from the KarmaNegative prop |
95 |
|
[SME: 9462] |
96 |
|
|
97 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-9.sme |
98 |
|
- Fix max_size param for the clamdscan plugin [SME: 9465] |
99 |
|
|
100 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
101 |
|
- Use clamdscan plugin instead of clamav [SME: 9465] |
102 |
|
|
103 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
104 |
|
- Enable the bogus_bounce plugin [SME: 9464] |
105 |
|
|
106 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
107 |
|
- Enable the loadcheck plugin [SME: 9463] |
108 |
|
|
109 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
110 |
|
- Add support for the karma plugin, but keep it disabled by default |
111 |
|
[SME: 9462] |
112 |
|
|
113 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
114 |
|
- Create a dhparam for qpsmtpd [SME: 9461] |
115 |
|
|
116 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
117 |
|
- Adapt for qpsmtpd-0.96 (mainly plugin renamed) [SME: 9460] |
118 |
|
|
119 |
* 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 |
120 |
- fix warning on spool_dir perms [SME: 9408] |
- fix warning on spool_dir perms [SME: 9408] |
121 |
- smeserver-qpsmtpd-2.6.0-PERMS.patch |
- smeserver-qpsmtpd-2.6.0-PERMS.patch |
806 |
%prep |
%prep |
807 |
%setup |
%setup |
808 |
%patch0 -p1 |
%patch0 -p1 |
809 |
|
%patch1 -p1 |
810 |
|
%patch2 -p1 |
811 |
|
%patch3 -p1 |
812 |
|
%patch4 -p1 |
813 |
|
%patch5 -p1 |
814 |
|
%patch6 -p1 |
815 |
|
%patch7 -p1 |
816 |
|
%patch8 -p1 |
817 |
|
%patch9 -p1 |
818 |
|
%patch10 -p1 |
819 |
|
%patch11 -p1 |
820 |
|
%patch12 -p1 |
821 |
|
%patch13 -p1 |
822 |
|
%patch14 -p1 |
823 |
|
%patch15 -p1 |
824 |
|
%patch16 -p1 |
825 |
|
%patch17 -p1 |
826 |
|
|
827 |
%build |
%build |
828 |
perl createlinks |
perl createlinks |
829 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
830 |
|
|
831 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
832 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
833 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
834 |
|
|
835 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
836 |
10check_earlytalker |
09karma |
837 |
|
10earlytalker |
838 |
12count_unrecognized_commands |
12count_unrecognized_commands |
839 |
16require_resolvable_fromhost |
15helo |
840 |
|
16resolvable_fromhost |
841 |
|
19loadcheck |
842 |
20rhsbl |
20rhsbl |
843 |
22dnsbl |
22dnsbl |
844 |
|
221spf |
845 |
|
23naughty |
846 |
|
34badrcptto_ext |
847 |
70spamassassin |
70spamassassin |
848 |
" |
" |
849 |
|
|
853 |
done |
done |
854 |
|
|
855 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
856 |
|
34badrcptto |
857 |
65disclaimer |
65disclaimer |
858 |
" |
" |
859 |
|
|
903 |
\ |
\ |
904 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
905 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
906 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
907 |
\ |
\ |
908 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
909 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |