1 |
# $Id: smeserver-qpsmtpd.spec,v 1.21 2016/05/06 09:46:48 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.32 2017/04/12 21:32:49 unnilennium 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 21 |
%define release 30 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
35 |
Patch22: smeserver-qpsmtpd-2.6.0-dmarc_reporting.patch |
Patch22: smeserver-qpsmtpd-2.6.0-dmarc_reporting.patch |
36 |
Patch23: smeserver-qpsmtpd-2.6.0-spf_reject_policy.patch |
Patch23: smeserver-qpsmtpd-2.6.0-spf_reject_policy.patch |
37 |
Patch24: smeserver-qpsmtpd-2.6.0-fix_syntax_in_print_dns.patch |
Patch24: smeserver-qpsmtpd-2.6.0-fix_syntax_in_print_dns.patch |
38 |
|
Patch25: smeserver-qpsmtpd-2.6.0-set_dkim_option_after_key.patch |
39 |
|
Patch26: smeserver-qpsmtpd-2.6.0-remove_o_and_r_dkim_fields.patch |
40 |
|
Patch27: smeserver-qpsmtpd-2.6.0-missing_default_props.patch |
41 |
|
Patch28: smeserver-qpsmtpd-2.6.0-fix_disabling_dmarc_reports.patch |
42 |
|
Patch29: smeserver-qpsmtpd-2.6.0-spf_and_dmarc_reject_off.patch |
43 |
|
Patch30: smeserver-qpsmtpd-2.6.0-disable_dmarc_report.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
46 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
74 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
75 |
|
|
76 |
%changelog |
%changelog |
77 |
|
* Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-30.sme |
78 |
|
- Turn DMARC reporting off by default [SME: 10303] |
79 |
|
|
80 |
|
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-29.sme |
81 |
|
- update patch smeserver-qpsmtpd-2.6.0-smtpd_to_qpsmtpd.patch [SME: 9478] |
82 |
|
- Greeting property was still attached to smtpd in a template |
83 |
|
|
84 |
|
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-28.sme |
85 |
|
- updated regex for RBL and SBL in smeserver-qpsmtpd-2.6.0-change_rbl_sbl_list_separator.patch |
86 |
|
- to take into account list using a subdomain [SME: 10123] |
87 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
88 |
|
by assuming the date is correct and changing the weekday. |
89 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
90 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
91 |
|
|
92 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-27.sme |
93 |
|
- Turn SPF and DMARC rejects off by default [SME: 9664] |
94 |
|
|
95 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-26.sme |
96 |
|
- Fix disabling DMARC reporting [SME: 9206] |
97 |
|
|
98 |
|
* Tue Jun 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-25.sme |
99 |
|
- Add missing tnef2mime and MaximumDateOffset to qpsmtpd [SME: 9560] |
100 |
|
|
101 |
|
* Fri May 27 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-24.sme |
102 |
|
- Create missing directories for DKIM keys [SME: 9496] |
103 |
|
- Create missing directory for the DMARC report database [SME: 9206] |
104 |
|
|
105 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-23.sme |
106 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9496] |
107 |
|
|
108 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-22.sme |
109 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
110 |
|
will still be splitted correctly [SME: 9496] |
111 |
|
|
112 |
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-21.sme |
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-21.sme |
113 |
- Fix a syntax error in qpsmtpd-print-dns script [SME: 9206] |
- Fix a syntax error in qpsmtpd-print-dns script [SME: 9206] |
114 |
|
|
245 |
* Fri Oct 1 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-10.sme |
* Fri Oct 1 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-10.sme |
246 |
- Fix RelayRequiresAuth for local network [SME: 5575] |
- Fix RelayRequiresAuth for local network [SME: 5575] |
247 |
|
|
248 |
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
249 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
250 |
- Make tls ciphers configurable [SME: 6241] |
- Make tls ciphers configurable [SME: 6241] |
251 |
|
|
252 |
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
253 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
254 |
- Require auth for all relays (local too) [SME: 5575] |
- Require auth for all relays (local too) [SME: 5575] |
255 |
|
|
256 |
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme |
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme |
754 |
- Make sure that empty templates-begin files exist in peers/{0,local} |
- Make sure that empty templates-begin files exist in peers/{0,local} |
755 |
templates directories. |
templates directories. |
756 |
|
|
757 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
758 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
759 |
- [0.0.4-12] |
- [0.0.4-12] |
760 |
- Fix up config/relayclients - need a dot after network blocks |
- Fix up config/relayclients - need a dot after network blocks |
761 |
|
|
762 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
763 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
764 |
- [0.0.4-11] |
- [0.0.4-11] |
765 |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
766 |
details about the account may have changed |
details about the account may have changed |
767 |
|
|
768 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
769 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
770 |
- [0.0.4-10] |
- [0.0.4-10] |
771 |
- Actually regenerate goodrcptto in the events mentioned in |
- Actually regenerate goodrcptto in the events mentioned in |
772 |
0.0.3-01 (typo in createlinks) |
0.0.3-01 (typo in createlinks) |
893 |
%patch22 -p1 |
%patch22 -p1 |
894 |
%patch23 -p1 |
%patch23 -p1 |
895 |
%patch24 -p1 |
%patch24 -p1 |
896 |
|
%patch25 -p1 |
897 |
|
%patch26 -p1 |
898 |
|
%patch27 -p1 |
899 |
|
%patch28 -p1 |
900 |
|
%patch29 -p1 |
901 |
|
%patch30 -p1 |
902 |
|
|
903 |
%build |
%build |
904 |
perl createlinks |
perl createlinks |
905 |
mkdir -p root/var/lib/qpsmtpd/karma |
mkdir -p root/var/lib/qpsmtpd/karma |
906 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
907 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
908 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
909 |
|
|
910 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
911 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |