1 |
# $Id: smeserver-qpsmtpd.spec,v 1.17 2016/05/06 20:56:26 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.35 2017/02/27 18:47:02 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.4.0 |
%define version 2.4.0 |
7 |
%define release 19 |
%define release 34 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
28 |
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
29 |
Patch17: smeserver-qpsmtpd-2.4.0-use_clamdscan_plugin.patch |
Patch17: smeserver-qpsmtpd-2.4.0-use_clamdscan_plugin.patch |
30 |
Patch18: smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
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-dkim_signing.patch |
39 |
|
Patch27: smeserver-qpsmtpd-2.4.0-init_dmarc_report_db.patch |
40 |
|
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
41 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
52 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
53 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
54 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
55 |
|
Requires: perl(Mail::DMARC) |
56 |
|
Requires: perl(DBD::SQLite) |
57 |
Requires: daemontools |
Requires: daemontools |
58 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
59 |
Requires: ipsvd |
Requires: ipsvd |
81 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
82 |
|
|
83 |
%changelog |
%changelog |
84 |
|
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-34.sme |
85 |
|
- updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
86 |
|
- to take into account list using a subdomain [SME: 10116] |
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 Sep 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-32.sme |
93 |
|
- Set the default helo policy to lenient [SME: 9767] |
94 |
|
|
95 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme |
96 |
|
- Turn SPF and DMARC rejects off by default [SME: 9654] |
97 |
|
|
98 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme |
99 |
|
- Fix disabling DMARC reporting [SME: 9507] |
100 |
|
|
101 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
102 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
103 |
|
|
104 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
105 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
106 |
|
will still be splitted correctly [SME: 9506] |
107 |
|
|
108 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
109 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
110 |
|
|
111 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
112 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
113 |
|
|
114 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
115 |
|
- Add missing patch for DKIM signing [SME: 9506] |
116 |
|
- Create needed directories [SME: 9507] |
117 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
118 |
|
|
119 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
120 |
|
- Check SPF for inbound emails [SME: 9505] |
121 |
|
- Check DKIM for inbound emails [SME: 9504] |
122 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
123 |
|
[SME: 9507] |
124 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
125 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
126 |
|
|
127 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
128 |
|
- Use an additional badrcptto file list for external connections so |
129 |
|
local only pseudonymes work as expected [SME: 9503] |
130 |
|
|
131 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
132 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
133 |
|
|
134 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
135 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
136 |
|
to authenticate [SME: 9500] |
137 |
|
|
138 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
139 |
|
- Add support for the uribl plugin [SME: 9499] |
140 |
|
|
141 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
142 |
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
143 |
|
|
217 |
* 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 |
218 |
- Fix RelayRequiresAuth for local network [SME: 5575] |
- Fix RelayRequiresAuth for local network [SME: 5575] |
219 |
|
|
220 |
* 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 |
221 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
222 |
- Make tls ciphers configurable [SME: 6241] |
- Make tls ciphers configurable [SME: 6241] |
223 |
|
|
224 |
* 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 |
225 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
226 |
- Require auth for all relays (local too) [SME: 5575] |
- Require auth for all relays (local too) [SME: 5575] |
227 |
|
|
228 |
* 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 |
726 |
- Make sure that empty templates-begin files exist in peers/{0,local} |
- Make sure that empty templates-begin files exist in peers/{0,local} |
727 |
templates directories. |
templates directories. |
728 |
|
|
729 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
730 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
731 |
- [0.0.4-12] |
- [0.0.4-12] |
732 |
- Fix up config/relayclients - need a dot after network blocks |
- Fix up config/relayclients - need a dot after network blocks |
733 |
|
|
734 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
735 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
736 |
- [0.0.4-11] |
- [0.0.4-11] |
737 |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
738 |
details about the account may have changed |
details about the account may have changed |
739 |
|
|
740 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
741 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
742 |
- [0.0.4-10] |
- [0.0.4-10] |
743 |
- Actually regenerate goodrcptto in the events mentioned in |
- Actually regenerate goodrcptto in the events mentioned in |
744 |
0.0.3-01 (typo in createlinks) |
0.0.3-01 (typo in createlinks) |
858 |
%patch16 -p1 |
%patch16 -p1 |
859 |
%patch17 -p1 |
%patch17 -p1 |
860 |
%patch18 -p1 |
%patch18 -p1 |
861 |
|
%patch19 -p1 |
862 |
|
%patch20 -p1 |
863 |
|
%patch21 -p1 |
864 |
|
%patch22 -p1 |
865 |
|
%patch23 -p1 |
866 |
|
%patch24 -p1 |
867 |
|
%patch25 -p1 |
868 |
|
%patch26 -p1 |
869 |
|
%patch27 -p1 |
870 |
|
%patch28 -p1 |
871 |
|
%patch29 -p1 |
872 |
|
%patch30 -p1 |
873 |
|
%patch31 -p1 |
874 |
|
%patch32 -p1 |
875 |
|
%patch33 -p1 |
876 |
|
%patch34 -p1 |
877 |
|
%patch35 -p1 |
878 |
|
%patch36 -p1 |
879 |
|
%patch37 -p1 |
880 |
|
|
881 |
%build |
%build |
882 |
perl createlinks |
perl createlinks |
883 |
|
|
884 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
885 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
886 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
887 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
888 |
|
|
889 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
890 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
891 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
899 |
19loadcheck |
19loadcheck |
900 |
20rhsbl |
20rhsbl |
901 |
22dnsbl |
22dnsbl |
902 |
|
221spf |
903 |
|
223dmarc |
904 |
|
34badrcptto_ext |
905 |
70spamassassin |
70spamassassin |
906 |
" |
" |
907 |
|
|
911 |
done |
done |
912 |
|
|
913 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
914 |
|
34badrcptto |
915 |
65disclaimer |
65disclaimer |
916 |
" |
" |
917 |
|
|
962 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
963 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
964 |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
965 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
966 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
967 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
968 |
\ |
\ |
969 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
970 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |