1 |
# $Id: smeserver-qpsmtpd.spec,v 1.4 2016/04/16 11:44:08 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.20 2016/05/06 09:30:19 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 5 |
%define release 20 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
15 |
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
16 |
Patch3: smeserver-qpsmtpd-2.6.0-dhparam.patch |
Patch3: smeserver-qpsmtpd-2.6.0-dhparam.patch |
17 |
Patch4: smeserver-qpsmtpd-2.6.0-karma.patch |
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 |
|
Patch18: smeserver-qpsmtpd-2.6.0-inbound_dmarc.patch |
32 |
|
Patch19: smeserver-qpsmtpd-2.6.0-dkim_signing.patch |
33 |
|
Patch20: smeserver-qpsmtpd-2.6.0-init_dmarc_report_db.patch |
34 |
|
Patch21: smeserver-qpsmtpd-2.6.0-dmarc_settings_bool.patch |
35 |
|
Patch22: smeserver-qpsmtpd-2.6.0-dmarc_reporting.patch |
36 |
|
Patch23: smeserver-qpsmtpd-2.6.0-spf_reject_policy.patch |
37 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
38 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
39 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
40 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
41 |
|
Requires: perl(ClamAV::Client) |
42 |
|
Requires: perl(Mail::DMARC) |
43 |
Requires: daemontools |
Requires: daemontools |
44 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
45 |
Requires: ipsvd |
Requires: ipsvd |
67 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
68 |
|
|
69 |
%changelog |
%changelog |
70 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-20.sme |
71 |
|
- Enable DMARC checking and reporting [SME: 9206] |
72 |
|
- Add helper to publish DKIM/DMARC/SPF policy [SME: 9496] |
73 |
|
- Allow DKIM signing of outbound emails [SME: 9496] |
74 |
|
- Possibility to reject on SPF failure [SME: 9479] |
75 |
|
|
76 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-19.sme |
77 |
|
- Enable inbound dkim checking (without reject) [SME: 9480] |
78 |
|
|
79 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-18.sme |
80 |
|
- Enable inbound SPF checking (without reject) [SME: 9479] |
81 |
|
|
82 |
|
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-17.sme |
83 |
|
- Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478] |
84 |
|
|
85 |
|
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-16.sme |
86 |
|
- Use an additional badrcptto file list for external connections so |
87 |
|
local only pseudonymes work as expected [SME: 9460] [SME: 4597] |
88 |
|
|
89 |
|
* Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-15.sme |
90 |
|
- Call karma before earlytalker and add support for the new strikes param |
91 |
|
[SME: 9462] |
92 |
|
|
93 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-14.sme |
94 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
95 |
|
to authenticate [SME: 5092] |
96 |
|
|
97 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-13.sme |
98 |
|
- Use the helo plugin to check reverse DNS [SME: 2370] |
99 |
|
|
100 |
|
* Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-12.sme |
101 |
|
- Add support for uribl plugin, disabled by default [SME: 9467] |
102 |
|
|
103 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-11.sme |
104 |
|
- Change separator for SBList and RBLlist from : to , [SME: 8484] |
105 |
|
|
106 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-10.sme |
107 |
|
- Allow setting the karma negative value from the KarmaNegative prop |
108 |
|
[SME: 9462] |
109 |
|
|
110 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-9.sme |
111 |
|
- Fix max_size param for the clamdscan plugin [SME: 9465] |
112 |
|
|
113 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
114 |
|
- Use clamdscan plugin instead of clamav [SME: 9465] |
115 |
|
|
116 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
117 |
|
- Enable the bogus_bounce plugin [SME: 9464] |
118 |
|
|
119 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
120 |
|
- Enable the loadcheck plugin [SME: 9463] |
121 |
|
|
122 |
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
123 |
- Add support for the karma plugin, but keep it disabled by default |
- Add support for the karma plugin, but keep it disabled by default |
124 |
[SME: 9462] |
[SME: 9462] |
823 |
%patch2 -p1 |
%patch2 -p1 |
824 |
%patch3 -p1 |
%patch3 -p1 |
825 |
%patch4 -p1 |
%patch4 -p1 |
826 |
|
%patch5 -p1 |
827 |
|
%patch6 -p1 |
828 |
|
%patch7 -p1 |
829 |
|
%patch8 -p1 |
830 |
|
%patch9 -p1 |
831 |
|
%patch10 -p1 |
832 |
|
%patch11 -p1 |
833 |
|
%patch12 -p1 |
834 |
|
%patch13 -p1 |
835 |
|
%patch14 -p1 |
836 |
|
%patch15 -p1 |
837 |
|
%patch16 -p1 |
838 |
|
%patch17 -p1 |
839 |
|
%patch18 -p1 |
840 |
|
%patch19 -p1 |
841 |
|
%patch20 -p1 |
842 |
|
%patch21 -p1 |
843 |
|
%patch22 -p1 |
844 |
|
%patch23 -p1 |
845 |
|
|
846 |
%build |
%build |
847 |
perl createlinks |
perl createlinks |
852 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
853 |
|
|
854 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
855 |
|
09karma |
856 |
10earlytalker |
10earlytalker |
857 |
12count_unrecognized_commands |
12count_unrecognized_commands |
858 |
|
15helo |
859 |
16resolvable_fromhost |
16resolvable_fromhost |
860 |
18karma |
19loadcheck |
861 |
20rhsbl |
20rhsbl |
862 |
22dnsbl |
22dnsbl |
863 |
|
221spf |
864 |
|
223dmarc |
865 |
|
23naughty |
866 |
|
34badrcptto_ext |
867 |
70spamassassin |
70spamassassin |
868 |
" |
" |
869 |
|
|
873 |
done |
done |
874 |
|
|
875 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
876 |
|
34badrcptto |
877 |
65disclaimer |
65disclaimer |
878 |
" |
" |
879 |
|
|
924 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
925 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
926 |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
927 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
928 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
929 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
930 |
\ |
\ |
931 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
932 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |