1 |
# $Id: smeserver-qpsmtpd.spec,v 1.3 2016/04/16 11:39:00 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.11 2016/04/17 21:15:41 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.6.0 |
%define version 2.6.0 |
7 |
%define release 4 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
14 |
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
15 |
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
16 |
Patch3: smeserver-qpsmtpd-2.6.0-dhparam.patch |
Patch3: smeserver-qpsmtpd-2.6.0-dhparam.patch |
17 |
|
Patch4: smeserver-qpsmtpd-2.6.0-karma.patch |
18 |
|
Patch5: smeserver-qpsmtpd-2.6.0-loadcheck.patch |
19 |
|
Patch6: smeserver-qpsmtpd-2.6.0-bogus_bounce.patch |
20 |
|
Patch7: smeserver-qpsmtpd-2.6.0-use_clamdscan_plugin.patch |
21 |
|
Patch8: smeserver-qpsmtpd-2.6.0-set_karma_negative.patch |
22 |
|
Patch9: smeserver-qpsmtpd-2.6.0-change_rbl_sbl_list_separator.patch |
23 |
|
Patch10: smeserver-qpsmtpd-2.6.0-add_uribl_support.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
26 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
27 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
28 |
|
Requires: perl(ClamAV::Client) |
29 |
Requires: daemontools |
Requires: daemontools |
30 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
31 |
Requires: ipsvd |
Requires: ipsvd |
53 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-12.sme |
57 |
|
- Add support for uribl plugin, disabled by default [SME: 9467] |
58 |
|
|
59 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-11.sme |
60 |
|
- Change separator for SBList and RBLlist from : to , [SME: 8484] |
61 |
|
|
62 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-10.sme |
63 |
|
- Allow setting the karma negative value from the KarmaNegative prop |
64 |
|
[SME: 9462] |
65 |
|
|
66 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-9.sme |
67 |
|
- Fix max_size param for the clamdscan plugin [SME: 9465] |
68 |
|
|
69 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
70 |
|
- Use clamdscan plugin instead of clamav [SME: 9465] |
71 |
|
|
72 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
73 |
|
- Enable the bogus_bounce plugin [SME: 9464] |
74 |
|
|
75 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
76 |
|
- Enable the loadcheck plugin [SME: 9463] |
77 |
|
|
78 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
79 |
|
- Add support for the karma plugin, but keep it disabled by default |
80 |
|
[SME: 9462] |
81 |
|
|
82 |
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
83 |
- Create a dhparam for qpsmtpd [SME: 9461] |
- Create a dhparam for qpsmtpd [SME: 9461] |
84 |
|
|
778 |
%patch1 -p1 |
%patch1 -p1 |
779 |
%patch2 -p1 |
%patch2 -p1 |
780 |
%patch3 -p1 |
%patch3 -p1 |
781 |
|
%patch4 -p1 |
782 |
|
%patch5 -p1 |
783 |
|
%patch6 -p1 |
784 |
|
%patch7 -p1 |
785 |
|
%patch8 -p1 |
786 |
|
%patch9 -p1 |
787 |
|
%patch10 -p1 |
788 |
|
|
789 |
%build |
%build |
790 |
perl createlinks |
perl createlinks |
791 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
792 |
|
|
793 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
794 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
798 |
10earlytalker |
10earlytalker |
799 |
12count_unrecognized_commands |
12count_unrecognized_commands |
800 |
16resolvable_fromhost |
16resolvable_fromhost |
801 |
|
18karma |
802 |
|
19loadcheck |
803 |
20rhsbl |
20rhsbl |
804 |
22dnsbl |
22dnsbl |
805 |
70spamassassin |
70spamassassin |
860 |
\ |
\ |
861 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
862 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
863 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
864 |
\ |
\ |
865 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
866 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |