1 |
# $Id: smeserver-qpsmtpd.spec,v 1.6 2014/04/15 14:55:58 wellsi Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.22 2016/05/06 21:28:42 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 24 |
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-init_dmarc_report_db.patch |
39 |
|
Patch27: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
40 |
|
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
41 |
|
Patch29: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
42 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
43 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
44 |
|
Requires: perl(ClamAV::Client) |
45 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
46 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
47 |
|
Requires: perl(Mail::DMARC) |
48 |
Requires: daemontools |
Requires: daemontools |
49 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
50 |
Requires: ipsvd |
Requires: ipsvd |
72 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
73 |
|
|
74 |
%changelog |
%changelog |
75 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
76 |
|
- Check SPF for inbound emails [SME: 9505] |
77 |
|
- Check DKIM for inbound emails [SME: 9504] |
78 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
79 |
|
[SME: 9507] |
80 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
81 |
|
- Support DKIM signing for outbounb emails [SME: 9506] |
82 |
|
|
83 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
84 |
|
- Use an additional badrcptto file list for external connections so |
85 |
|
local only pseudonymes work as expected [SME: 9503] |
86 |
|
|
87 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
88 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
89 |
|
|
90 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
91 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
92 |
|
to authenticate [SME: 9500] |
93 |
|
|
94 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
95 |
|
- Add support for the uribl plugin [SME: 9499] |
96 |
|
|
97 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
98 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
99 |
|
|
100 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
101 |
|
- Switch to the clamdscan plugin [SME: 9497] |
102 |
|
|
103 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
104 |
|
- Enabe the loadcheck plugin [SME: 9508] |
105 |
|
|
106 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
107 |
|
- Add support for the karma plugin [SME: 9502] |
108 |
|
|
109 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
110 |
|
- Work with qpsmtpd 0.96 [SME: 8861] |
111 |
|
|
112 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
113 |
|
- Expand all ssl related conf in ssl-update [SME: 9152] |
114 |
|
|
115 |
|
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
116 |
|
- Hook into a new ssl-update event [SME: 9152] |
117 |
|
|
118 |
|
* Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
119 |
|
- Allow setting SSL protocols from DB [SME: 9162] |
120 |
|
|
121 |
|
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme |
122 |
|
- Add domain part to bcc user if missing [SME: 8990] |
123 |
|
|
124 |
|
* Wed Dec 3 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
125 |
|
- allow IP relayclient stored by DB [SME: 8704] |
126 |
|
- Code from Stefano ZAmboni <zamboni@mind-at-work.it> |
127 |
|
- & Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au> |
128 |
|
|
129 |
|
* Tue Dec 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
130 |
|
- allow IP relayclient stored by DB [SME: 8704] |
131 |
|
- Code from Stefano ZAmboni <zamboni@mind-at-work.it> |
132 |
|
|
133 |
* 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 |
134 |
- Remove dnsbl.ahbl.org RBL List [SME: 8368] |
- Remove dnsbl.ahbl.org RBL List [SME: 8368] |
135 |
|
|
797 |
%patch4 -p1 |
%patch4 -p1 |
798 |
%patch5 -p1 |
%patch5 -p1 |
799 |
%patch6 -p1 |
%patch6 -p1 |
800 |
|
%patch7 -p1 |
801 |
|
%patch8 -p1 |
802 |
|
%patch9 -p1 |
803 |
|
%patch10 -p1 |
804 |
|
%patch11 -p1 |
805 |
|
%patch12 -p1 |
806 |
|
%patch13 -p1 |
807 |
|
%patch14 -p1 |
808 |
|
%patch15 -p1 |
809 |
|
%patch16 -p1 |
810 |
|
%patch17 -p1 |
811 |
|
%patch18 -p1 |
812 |
|
%patch19 -p1 |
813 |
|
%patch20 -p1 |
814 |
|
%patch21 -p1 |
815 |
|
%patch22 -p1 |
816 |
|
%patch23 -p1 |
817 |
|
%patch24 -p1 |
818 |
|
%patch25 -p1 |
819 |
|
%patch26 -p1 |
820 |
|
%patch27 -p1 |
821 |
|
%patch28 -p1 |
822 |
|
%patch29 -p1 |
823 |
|
|
824 |
%build |
%build |
825 |
perl createlinks |
perl createlinks |
829 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
830 |
|
|
831 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
832 |
10check_earlytalker |
09karma |
833 |
|
10earlytalker |
834 |
12count_unrecognized_commands |
12count_unrecognized_commands |
835 |
16require_resolvable_fromhost |
15helo |
836 |
|
16resolvable_fromhost |
837 |
|
19loadcheck |
838 |
20rhsbl |
20rhsbl |
839 |
22dnsbl |
22dnsbl |
840 |
|
221spf |
841 |
|
223dmarc |
842 |
|
34badrcptto_ext |
843 |
70spamassassin |
70spamassassin |
844 |
" |
" |
845 |
|
|
849 |
done |
done |
850 |
|
|
851 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
852 |
|
34badrcptto |
853 |
65disclaimer |
65disclaimer |
854 |
" |
" |
855 |
|
|
899 |
\ |
\ |
900 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
901 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
902 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
903 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
904 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
905 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
906 |
\ |
\ |
907 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
908 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |