1 |
# $Id: smeserver-qpsmtpd.spec,v 1.22 2016/05/06 21:28:42 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.30 2016/05/16 10:22: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 24 |
%define release 29 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
48 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
49 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
50 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
51 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
52 |
Requires: perl(Mail::DMARC) |
Requires: perl(Mail::DMARC) |
53 |
|
Requires: perl(DBD::SQLite) |
54 |
Requires: daemontools |
Requires: daemontools |
55 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
56 |
Requires: ipsvd |
Requires: ipsvd |
78 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
79 |
|
|
80 |
%changelog |
%changelog |
81 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
82 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
83 |
|
|
84 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
85 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
86 |
|
will still be splitted correctly [SME: 9506] |
87 |
|
|
88 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
89 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
90 |
|
|
91 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
92 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
93 |
|
|
94 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
95 |
|
- Add missing patch for DKIM signing [SME: 9506] |
96 |
|
- Create needed directories [SME: 9507] |
97 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
98 |
|
|
99 |
* 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 |
100 |
- Check SPF for inbound emails [SME: 9505] |
- Check SPF for inbound emails [SME: 9505] |
101 |
- Check DKIM for inbound emails [SME: 9504] |
- Check DKIM for inbound emails [SME: 9504] |
102 |
- 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) |
103 |
[SME: 9507] |
[SME: 9507] |
104 |
- Store and send DMARC aggregate reports [SME: 9507] |
- Store and send DMARC aggregate reports [SME: 9507] |
105 |
- Support DKIM signing for outbounb emails [SME: 9506] |
- Support DKIM signing for outbound emails [SME: 9506] |
106 |
|
|
107 |
* 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 |
108 |
- Use an additional badrcptto file list for external connections so |
- Use an additional badrcptto file list for external connections so |
844 |
%patch27 -p1 |
%patch27 -p1 |
845 |
%patch28 -p1 |
%patch28 -p1 |
846 |
%patch29 -p1 |
%patch29 -p1 |
847 |
|
%patch30 -p1 |
848 |
|
%patch31 -p1 |
849 |
|
%patch32 -p1 |
850 |
|
%patch33 -p1 |
851 |
|
%patch34 -p1 |
852 |
|
|
853 |
%build |
%build |
854 |
perl createlinks |
perl createlinks |
855 |
|
|
856 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
857 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
858 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
859 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
860 |
|
|
861 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
862 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
863 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |