1 |
# $Id: smeserver-qpsmtpd.spec,v 1.22 2016/05/06 21:28:42 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.39 2017/05/20 11:14:10 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 24 |
%define release 38 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
35 |
Patch23: smeserver-qpsmtpd-2.4.0-inbound_spf.patch |
Patch23: smeserver-qpsmtpd-2.4.0-inbound_spf.patch |
36 |
Patch24: smeserver-qpsmtpd-2.4.0-inbound_dkim.patch |
Patch24: smeserver-qpsmtpd-2.4.0-inbound_dkim.patch |
37 |
Patch25: smeserver-qpsmtpd-2.4.0-inbound_dmarc.patch |
Patch25: smeserver-qpsmtpd-2.4.0-inbound_dmarc.patch |
38 |
Patch26: smeserver-qpsmtpd-2.4.0-init_dmarc_report_db.patch |
Patch26: smeserver-qpsmtpd-2.4.0-dkim_signing.patch |
39 |
Patch27: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
Patch27: smeserver-qpsmtpd-2.4.0-init_dmarc_report_db.patch |
40 |
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
41 |
Patch29: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
Patch29: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
42 |
|
Patch30: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
43 |
|
Patch31: smeserver-qpsmtpd-2.4.0-PERMS.patch |
44 |
|
Patch32: smeserver-qpsmtpd-2.4.0-fix_syntax_in_print_dns.patch |
45 |
|
Patch33: smeserver-qpsmtpd-2.4.0-set_dkim_option_after_key.patch |
46 |
|
Patch34: smeserver-qpsmtpd-2.4.0-remove_o_and_r_dkim_fields.patch |
47 |
|
Patch35: smeserver-qpsmtpd-2.4.0-fix_disabling_dmarc_reports.patch |
48 |
|
Patch36: smeserver-qpsmtpd-2.4.0-spf_and_dmarc_reject_off.patch |
49 |
|
Patch37: smeserver-qpsmtpd-2.4.0-default_helo_policy_lenient.patch |
50 |
|
Patch38: smeserver-qpsmtpd-2.6.0-disable_dmarc_report.patch |
51 |
|
Patch39: smeserver-qpsmtpd-2.6.0-log_dmarc_send_reports_output.patch |
52 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
53 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
54 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
55 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
56 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
57 |
Requires: perl(Mail::DMARC) |
Requires: perl(Mail::DMARC) |
58 |
|
Requires: perl(DBD::SQLite) |
59 |
Requires: daemontools |
Requires: daemontools |
60 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
61 |
Requires: ipsvd |
Requires: ipsvd |
75 |
Requires: perl-IO-stringy |
Requires: perl-IO-stringy |
76 |
Requires: perl-File-MMagic |
Requires: perl-File-MMagic |
77 |
Requires: perl-MIME-tools |
Requires: perl-MIME-tools |
78 |
|
Conflicts: smeserver-wbl < 0.3.0-14 |
79 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
80 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
81 |
AutoReqProv: no |
AutoReqProv: no |
84 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
85 |
|
|
86 |
%changelog |
%changelog |
87 |
|
* Thu Aug 3 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-38.sme |
88 |
|
- Log DMARC reporting in syslog instead of sending email to the admin. |
89 |
|
Also suppress SSL connection failed warnings [SME: 10401] |
90 |
|
|
91 |
|
* Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-37.sme |
92 |
|
- Turn DMARC reporting off by default [SME: 10320] |
93 |
|
|
94 |
|
* Sat May 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-36.sme |
95 |
|
- prevent incoming email to stop if smeserver-wbl is installed and not updated [SME: 10276] |
96 |
|
|
97 |
|
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-34.sme |
98 |
|
- updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
99 |
|
- to take into account list using a subdomain [SME: 10116] |
100 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
101 |
|
by assuming the date is correct and changing the weekday. |
102 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
103 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
104 |
|
|
105 |
|
* Tue Sep 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-32.sme |
106 |
|
- Set the default helo policy to lenient [SME: 9767] |
107 |
|
|
108 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme |
109 |
|
- Turn SPF and DMARC rejects off by default [SME: 9654] |
110 |
|
|
111 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme |
112 |
|
- Fix disabling DMARC reporting [SME: 9507] |
113 |
|
|
114 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
115 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
116 |
|
|
117 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
118 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
119 |
|
will still be splitted correctly [SME: 9506] |
120 |
|
|
121 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
122 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
123 |
|
|
124 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
125 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
126 |
|
|
127 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
128 |
|
- Add missing patch for DKIM signing [SME: 9506] |
129 |
|
- Create needed directories [SME: 9507] |
130 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
131 |
|
|
132 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
133 |
- Check SPF for inbound emails [SME: 9505] |
- Check SPF for inbound emails [SME: 9505] |
134 |
- Check DKIM for inbound emails [SME: 9504] |
- Check DKIM for inbound emails [SME: 9504] |
135 |
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
136 |
[SME: 9507] |
[SME: 9507] |
137 |
- Store and send DMARC aggregate reports [SME: 9507] |
- Store and send DMARC aggregate reports [SME: 9507] |
138 |
- Support DKIM signing for outbounb emails [SME: 9506] |
- Support DKIM signing for outbound emails [SME: 9506] |
139 |
|
|
140 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
141 |
- Use an additional badrcptto file list for external connections so |
- Use an additional badrcptto file list for external connections so |
230 |
* 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 |
231 |
- Fix RelayRequiresAuth for local network [SME: 5575] |
- Fix RelayRequiresAuth for local network [SME: 5575] |
232 |
|
|
233 |
* 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 |
234 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
235 |
- Make tls ciphers configurable [SME: 6241] |
- Make tls ciphers configurable [SME: 6241] |
236 |
|
|
237 |
* 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 |
238 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
239 |
- Require auth for all relays (local too) [SME: 5575] |
- Require auth for all relays (local too) [SME: 5575] |
240 |
|
|
241 |
* 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 |
739 |
- Make sure that empty templates-begin files exist in peers/{0,local} |
- Make sure that empty templates-begin files exist in peers/{0,local} |
740 |
templates directories. |
templates directories. |
741 |
|
|
742 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
743 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
744 |
- [0.0.4-12] |
- [0.0.4-12] |
745 |
- Fix up config/relayclients - need a dot after network blocks |
- Fix up config/relayclients - need a dot after network blocks |
746 |
|
|
747 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
748 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
749 |
- [0.0.4-11] |
- [0.0.4-11] |
750 |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
751 |
details about the account may have changed |
details about the account may have changed |
752 |
|
|
753 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
754 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
755 |
- [0.0.4-10] |
- [0.0.4-10] |
756 |
- Actually regenerate goodrcptto in the events mentioned in |
- Actually regenerate goodrcptto in the events mentioned in |
757 |
0.0.3-01 (typo in createlinks) |
0.0.3-01 (typo in createlinks) |
882 |
%patch27 -p1 |
%patch27 -p1 |
883 |
%patch28 -p1 |
%patch28 -p1 |
884 |
%patch29 -p1 |
%patch29 -p1 |
885 |
|
%patch30 -p1 |
886 |
|
%patch31 -p1 |
887 |
|
%patch32 -p1 |
888 |
|
%patch33 -p1 |
889 |
|
%patch34 -p1 |
890 |
|
%patch35 -p1 |
891 |
|
%patch36 -p1 |
892 |
|
%patch37 -p1 |
893 |
|
%patch38 -p1 |
894 |
|
%patch39 -p1 |
895 |
|
|
896 |
%build |
%build |
897 |
perl createlinks |
perl createlinks |
898 |
|
|
899 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
900 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
901 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
902 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
903 |
|
|
904 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
905 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
906 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |