1 |
# $Id: smeserver-qpsmtpd.spec,v 1.9 2014/12/03 23:53:41 stephdl Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.36 2017/02/27 18:58:29 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 11 |
%define release 35 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch7: smeserver-qpsmtpd-2.4.0-allow_relayclients_wo_authentications.patch |
20 |
Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch |
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-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.83 |
Requires: qpsmtpd >= 0.96 |
52 |
|
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 |
73 |
Requires: perl-IO-stringy |
Requires: perl-IO-stringy |
74 |
Requires: perl-File-MMagic |
Requires: perl-File-MMagic |
75 |
Requires: perl-MIME-tools |
Requires: perl-MIME-tools |
76 |
|
Conflicts: smeserver-wbl < 0.3.0-14 |
77 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
78 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
79 |
AutoReqProv: no |
AutoReqProv: no |
82 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
83 |
|
|
84 |
%changelog |
%changelog |
85 |
|
* Sat May 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-35.sme |
86 |
|
- prevent incoming email to stop if smeserver-wbl is installed and not updated [SME: 10276] |
87 |
|
|
88 |
|
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-34.sme |
89 |
|
- updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch |
90 |
|
- to take into account list using a subdomain [SME: 10116] |
91 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
92 |
|
by assuming the date is correct and changing the weekday. |
93 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
94 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
95 |
|
|
96 |
|
* Tue Sep 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-32.sme |
97 |
|
- Set the default helo policy to lenient [SME: 9767] |
98 |
|
|
99 |
|
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme |
100 |
|
- Turn SPF and DMARC rejects off by default [SME: 9654] |
101 |
|
|
102 |
|
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-30.sme |
103 |
|
- Fix disabling DMARC reporting [SME: 9507] |
104 |
|
|
105 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-29.sme |
106 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9506] |
107 |
|
|
108 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-28.sme |
109 |
|
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
110 |
|
will still be splitted correctly [SME: 9506] |
111 |
|
|
112 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
113 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
114 |
|
|
115 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
116 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
117 |
|
|
118 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
119 |
|
- Add missing patch for DKIM signing [SME: 9506] |
120 |
|
- Create needed directories [SME: 9507] |
121 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
122 |
|
|
123 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
124 |
|
- Check SPF for inbound emails [SME: 9505] |
125 |
|
- Check DKIM for inbound emails [SME: 9504] |
126 |
|
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks) |
127 |
|
[SME: 9507] |
128 |
|
- Store and send DMARC aggregate reports [SME: 9507] |
129 |
|
- Support DKIM signing for outbound emails [SME: 9506] |
130 |
|
|
131 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme |
132 |
|
- Use an additional badrcptto file list for external connections so |
133 |
|
local only pseudonymes work as expected [SME: 9503] |
134 |
|
|
135 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-22.sme |
136 |
|
- Enable the bogus_bounce plugin [SME: 9501] |
137 |
|
|
138 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-21.sme |
139 |
|
- Use the naughty plugin to defer rejections, leaving users an opportunity |
140 |
|
to authenticate [SME: 9500] |
141 |
|
|
142 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-20.sme |
143 |
|
- Add support for the uribl plugin [SME: 9499] |
144 |
|
|
145 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-19.sme |
146 |
|
- Change separator for SBList and RBLlist from : to , [SME: 9498] |
147 |
|
|
148 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
149 |
|
- Switch to the clamdscan plugin [SME: 9497] |
150 |
|
|
151 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
152 |
|
- Enabe the loadcheck plugin [SME: 9508] |
153 |
|
|
154 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
155 |
|
- Add support for the karma plugin [SME: 9502] |
156 |
|
|
157 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
158 |
|
- Work with qpsmtpd 0.96 [SME: 8861] |
159 |
|
|
160 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
161 |
|
- Expand all ssl related conf in ssl-update [SME: 9152] |
162 |
|
|
163 |
|
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
164 |
|
- Hook into a new ssl-update event [SME: 9152] |
165 |
|
|
166 |
|
* Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
167 |
|
- Allow setting SSL protocols from DB [SME: 9162] |
168 |
|
|
169 |
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme |
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme |
170 |
- Add domain part to bcc user if missing [SME: 8990] |
- Add domain part to bcc user if missing [SME: 8990] |
171 |
|
|
221 |
* 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 |
222 |
- Fix RelayRequiresAuth for local network [SME: 5575] |
- Fix RelayRequiresAuth for local network [SME: 5575] |
223 |
|
|
224 |
* 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 |
225 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
226 |
- Make tls ciphers configurable [SME: 6241] |
- Make tls ciphers configurable [SME: 6241] |
227 |
|
|
228 |
* 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 |
229 |
|
Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... |
230 |
- Require auth for all relays (local too) [SME: 5575] |
- Require auth for all relays (local too) [SME: 5575] |
231 |
|
|
232 |
* 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 |
730 |
- Make sure that empty templates-begin files exist in peers/{0,local} |
- Make sure that empty templates-begin files exist in peers/{0,local} |
731 |
templates directories. |
templates directories. |
732 |
|
|
733 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
734 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
735 |
- [0.0.4-12] |
- [0.0.4-12] |
736 |
- Fix up config/relayclients - need a dot after network blocks |
- Fix up config/relayclients - need a dot after network blocks |
737 |
|
|
738 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
739 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
740 |
- [0.0.4-11] |
- [0.0.4-11] |
741 |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
742 |
details about the account may have changed |
details about the account may have changed |
743 |
|
|
744 |
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Wed May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
745 |
|
Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or .... |
746 |
- [0.0.4-10] |
- [0.0.4-10] |
747 |
- Actually regenerate goodrcptto in the events mentioned in |
- Actually regenerate goodrcptto in the events mentioned in |
748 |
0.0.3-01 (typo in createlinks) |
0.0.3-01 (typo in createlinks) |
852 |
%patch6 -p1 |
%patch6 -p1 |
853 |
%patch7 -p1 |
%patch7 -p1 |
854 |
%patch8 -p1 |
%patch8 -p1 |
855 |
|
%patch9 -p1 |
856 |
|
%patch10 -p1 |
857 |
|
%patch11 -p1 |
858 |
|
%patch12 -p1 |
859 |
|
%patch13 -p1 |
860 |
|
%patch14 -p1 |
861 |
|
%patch15 -p1 |
862 |
|
%patch16 -p1 |
863 |
|
%patch17 -p1 |
864 |
|
%patch18 -p1 |
865 |
|
%patch19 -p1 |
866 |
|
%patch20 -p1 |
867 |
|
%patch21 -p1 |
868 |
|
%patch22 -p1 |
869 |
|
%patch23 -p1 |
870 |
|
%patch24 -p1 |
871 |
|
%patch25 -p1 |
872 |
|
%patch26 -p1 |
873 |
|
%patch27 -p1 |
874 |
|
%patch28 -p1 |
875 |
|
%patch29 -p1 |
876 |
|
%patch30 -p1 |
877 |
|
%patch31 -p1 |
878 |
|
%patch32 -p1 |
879 |
|
%patch33 -p1 |
880 |
|
%patch34 -p1 |
881 |
|
%patch35 -p1 |
882 |
|
%patch36 -p1 |
883 |
|
%patch37 -p1 |
884 |
|
|
885 |
%build |
%build |
886 |
perl createlinks |
perl createlinks |
887 |
|
|
888 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
889 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
890 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
891 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
892 |
|
|
893 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
894 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
895 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
896 |
|
|
897 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
898 |
10check_earlytalker |
09karma |
899 |
|
10earlytalker |
900 |
12count_unrecognized_commands |
12count_unrecognized_commands |
901 |
16require_resolvable_fromhost |
15helo |
902 |
|
16resolvable_fromhost |
903 |
|
19loadcheck |
904 |
20rhsbl |
20rhsbl |
905 |
22dnsbl |
22dnsbl |
906 |
|
221spf |
907 |
|
223dmarc |
908 |
|
34badrcptto_ext |
909 |
70spamassassin |
70spamassassin |
910 |
" |
" |
911 |
|
|
915 |
done |
done |
916 |
|
|
917 |
DISABLE_EXTERNAL=" |
DISABLE_EXTERNAL=" |
918 |
|
34badrcptto |
919 |
65disclaimer |
65disclaimer |
920 |
" |
" |
921 |
|
|
965 |
\ |
\ |
966 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
967 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
968 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
969 |
|
--dir /var/lib/qpsmtpd/dmarc "attr(2750,qpsmtpd,qpsmtpd)" \ |
970 |
|
--dir /home/e-smith/dkim_keys "attr(2750,root,qpsmtpd)" \ |
971 |
|
--dir /var/service/qpsmtpd/config/dkim "attr(2750,qpsmtpd,qpsmtpd)" \ |
972 |
\ |
\ |
973 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
974 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |