1 |
# $Id: qpsmtpd.spec,v 1.8 2016/04/18 20:17:14 vip-ire Exp $ |
# $Id: qpsmtpd.spec,v 1.30 2021/11/16 23:13:14 jpp Exp $ |
2 |
|
|
3 |
Name: qpsmtpd |
Name: qpsmtpd |
4 |
Version: 0.96 |
Version: 0.96 |
5 |
Release: 4%{?dist} |
Release: 22%{?dist} |
6 |
Summary: qpsmtpd + qpsmtpd-apache |
Summary: qpsmtpd + qpsmtpd-apache |
7 |
License: MIT |
License: MIT |
8 |
Group: System Environment/Daemons |
Group: System Environment/Daemons |
13 |
BuildArch: noarch |
BuildArch: noarch |
14 |
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) |
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) |
15 |
Requires: perl(IO::Socket::SSL) >= 1.70 |
Requires: perl(IO::Socket::SSL) >= 1.70 |
16 |
|
Requires: perl(Data::Validate::Domain) |
17 |
Requires(pre): coreutils, shadow-utils, perl |
Requires(pre): coreutils, shadow-utils, perl |
18 |
|
|
19 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
33 |
Patch7: qpsmtpd-0.96-dont_log_credentials_except_in_debug.patch |
Patch7: qpsmtpd-0.96-dont_log_credentials_except_in_debug.patch |
34 |
Patch8: qpsmtpd-0.96-uribl_data_post.patch |
Patch8: qpsmtpd-0.96-uribl_data_post.patch |
35 |
Patch9: qpsmtpd-0.96-karma_strikes.patch |
Patch9: qpsmtpd-0.96-karma_strikes.patch |
36 |
|
Patch10: qpsmtpd-0.96-more_badrcptto.patch |
37 |
|
Patch11: qpsmtpd-0.96-karma_tlds_conf.patch |
38 |
|
Patch12: qpsmtpd-0.96-store_original_plugin_name.patch |
39 |
|
Patch13: qpsmtpd-0.96-fix_karma_tool_dir_path.patch |
40 |
|
Patch14: qpsmtpd-0.96-dkim_no_sign_for_others_on_symlinks.patch |
41 |
|
Patch15: qpsmtpd-0.96-fix_dmarc_reject.patch |
42 |
|
Patch16: qpsmtpd-0.96-add_dmarc_result_notes.patch |
43 |
|
Patch17: qpsmtpd-0.96-spf_on_no_dmarc_policy.patch |
44 |
|
Patch18: qpsmtpd-0.96-check_negative_karma_strikes.patch |
45 |
|
Patch19: qpsmtpd-0.96-addr_defined_before_use.patch |
46 |
|
Patch20: qpsmtpd-0.96-check_rua_is_defined.patch |
47 |
|
Patch21: qpsmtpd-0.96-remove_karma_rcpt_handler.patch |
48 |
|
Patch22: qpsmtpd-0.96-eval_dkim_policies.patch |
49 |
|
Patch23: qpsmtpd-0.96-uribl_validate_domains.patch |
50 |
|
Patch24: qpsmtpd-0.96-bz10112-whitelist.patch |
51 |
|
Patch25: qpsmtpd-0.96-SME10139-Message-Id.patch |
52 |
|
Patch26: qpsmtpd-0.96-bz10290-spamassassin-fetchmail.patch |
53 |
|
Patch27: qpsmtpd-0.96-bz10387-load_plugins-on-start.patch |
54 |
|
Patch28: qpsmtpd-0.96-bz12450-auth_imap-perport.patch |
55 |
|
|
56 |
%description |
%description |
57 |
qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core |
qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core |
83 |
%patch7 -p1 |
%patch7 -p1 |
84 |
%patch8 -p1 |
%patch8 -p1 |
85 |
%patch9 -p1 |
%patch9 -p1 |
86 |
|
%patch10 -p1 |
87 |
|
%patch11 -p1 |
88 |
|
%patch12 -p1 |
89 |
|
%patch13 -p1 |
90 |
|
%patch14 -p1 |
91 |
|
%patch15 -p1 |
92 |
|
%patch16 -p1 |
93 |
|
%patch17 -p1 |
94 |
|
%patch18 -p1 |
95 |
|
%patch19 -p1 |
96 |
|
%patch20 -p1 |
97 |
|
%patch21 -p1 |
98 |
|
%patch22 -p1 |
99 |
|
%patch23 -p1 |
100 |
|
%patch24 -p1 |
101 |
|
%patch25 -p1 |
102 |
|
%patch26 -p1 |
103 |
|
%patch27 -p1 |
104 |
|
%patch28 -p1 |
105 |
|
|
106 |
%build |
%build |
107 |
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
174 |
|
|
175 |
|
|
176 |
%changelog |
%changelog |
177 |
|
* Mon Dec 18 2023 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-22.sme |
178 |
|
- transpose auth_cvm behaviour to auth_imap [SME: 12450] |
179 |
|
ability to enable for ssmtp and not smtp |
180 |
|
|
181 |
|
* Tue Nov 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-21.sme |
182 |
|
- fix fetchmail patch to check local_ip [SME: 11763] |
183 |
|
|
184 |
|
* Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-20.sme |
185 |
|
- fix configuration not honoured on initial start [SME: 10387] |
186 |
|
commented out load_plugins see https://github.com/smtpd/qpsmtpd/issues/288. |
187 |
|
|
188 |
|
* Sun Mar 11 2018 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-19.sme |
189 |
|
- add support to force spamcheck on specific IP for fetchmail [SME: 10290] |
190 |
|
|
191 |
|
* Tue Mar 07 2017 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-18.sme |
192 |
|
- Removed Message-Id validation, as it rejects MS account validation email [SME: 10139] |
193 |
|
|
194 |
|
* Mon Feb 27 2017 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-17.sme |
195 |
|
- fix whitelist plugin to support helo with naughty rejecting at mail stage [SME: 10112] |
196 |
|
|
197 |
|
* Mon Jul 11 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-16.sme |
198 |
|
- Validate domains found in uribl with Data::Validate::Domain [SME: 9467] |
199 |
|
|
200 |
|
* Tue Jul 5 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-15.sme |
201 |
|
- Use eval to fetch dkim policies, prevent fatal errors in case of DNS |
202 |
|
timeout [SME: 9480] |
203 |
|
|
204 |
|
* Wed Jun 15 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-14.sme |
205 |
|
- Remove karma rcpt handling (buggy and doesn't make a lot of sense) |
206 |
|
[SME: 9462] |
207 |
|
|
208 |
|
* Sat May 28 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-13.sme |
209 |
|
- Check rua is defined before trying to parse it to prevent an error |
210 |
|
if a domain has a DMARC entry published with no rua [SME: 9206] |
211 |
|
|
212 |
|
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-12.sme |
213 |
|
- Fix error when RCPT TO is not valid [SME: 9460] |
214 |
|
|
215 |
|
* Mon May 9 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-11.sme |
216 |
|
- Fix karma logic by checking negative strikes [SME: 9462] |
217 |
|
|
218 |
|
* Sun May 8 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-10.sme |
219 |
|
- Remove previous patch, it was already applied [SME: 9462] |
220 |
|
|
221 |
|
* Sun May 8 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-9.sme |
222 |
|
- Backport a fix for karma_tool so it can find its database [SME: 9462] |
223 |
|
|
224 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-8.sme |
225 |
|
- Support dkim signing with symlinks [SME: 9496] |
226 |
|
- Fix DMARC rejects not working [SME: 9202] |
227 |
|
- Add DMARC results notes so further plugin can check it [SME: 9202] |
228 |
|
- Add possibility to reject solely on SPF result if no DMARC policy is published |
229 |
|
[SME: 9479] |
230 |
|
|
231 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-7.sme |
232 |
|
- Backport some minor patches from git head [SME: 9460] |
233 |
|
|
234 |
|
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-6.sme |
235 |
|
- badrcptto can now read another file container bad addresses [SME: 9460] |
236 |
|
[SME: 4597] |
237 |
|
|
238 |
|
* Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-5.sme |
239 |
|
- Fix a typo in previous patch [SME: 9462] |
240 |
|
|
241 |
* Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-4.sme |
* Thu Apr 21 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-4.sme |
242 |
- Backport the karma strikes param patch [SME: 9462] |
- Backport the karma strikes param patch [SME: 9462] |
243 |
|
|