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