1 |
# $Id: smeserver-qpsmtpd.spec,v 1.13 2016/01/13 17:47:36 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.12 2016/04/18 20:08:08 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 1 |
%define release 13 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: smeserver-qpsmtpd-2.6.0-PERMS.patch |
14 |
|
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
15 |
|
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
16 |
|
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 |
|
Patch11: smeserver-qpsmtpd-2.6.0-helo_default_to_rfc.patch |
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
27 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
28 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
29 |
|
Requires: perl(ClamAV::Client) |
30 |
Requires: daemontools |
Requires: daemontools |
31 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
32 |
Requires: ipsvd |
Requires: ipsvd |
54 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
55 |
|
|
56 |
%changelog |
%changelog |
57 |
|
* Wed Apr 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-13.sme |
58 |
|
- Use the helo plugin to check reverse DNS [SME: 2370] |
59 |
|
|
60 |
|
* Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-12.sme |
61 |
|
- Add support for uribl plugin, disabled by default [SME: 9467] |
62 |
|
|
63 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-11.sme |
64 |
|
- Change separator for SBList and RBLlist from : to , [SME: 8484] |
65 |
|
|
66 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-10.sme |
67 |
|
- Allow setting the karma negative value from the KarmaNegative prop |
68 |
|
[SME: 9462] |
69 |
|
|
70 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-9.sme |
71 |
|
- Fix max_size param for the clamdscan plugin [SME: 9465] |
72 |
|
|
73 |
|
* Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme |
74 |
|
- Use clamdscan plugin instead of clamav [SME: 9465] |
75 |
|
|
76 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
77 |
|
- Enable the bogus_bounce plugin [SME: 9464] |
78 |
|
|
79 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
80 |
|
- Enable the loadcheck plugin [SME: 9463] |
81 |
|
|
82 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
83 |
|
- Add support for the karma plugin, but keep it disabled by default |
84 |
|
[SME: 9462] |
85 |
|
|
86 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
87 |
|
- Create a dhparam for qpsmtpd [SME: 9461] |
88 |
|
|
89 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
90 |
|
- Adapt for qpsmtpd-0.96 (mainly plugin renamed) [SME: 9460] |
91 |
|
|
92 |
|
* Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
93 |
|
- fix warning on spool_dir perms [SME: 9408] |
94 |
|
- smeserver-qpsmtpd-2.6.0-PERMS.patch |
95 |
|
|
96 |
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
97 |
- Initial release to sme10 |
- Initial release to sme10 |
98 |
|
|
778 |
|
|
779 |
%prep |
%prep |
780 |
%setup |
%setup |
781 |
|
%patch0 -p1 |
782 |
|
%patch1 -p1 |
783 |
|
%patch2 -p1 |
784 |
|
%patch3 -p1 |
785 |
|
%patch4 -p1 |
786 |
|
%patch5 -p1 |
787 |
|
%patch6 -p1 |
788 |
|
%patch7 -p1 |
789 |
|
%patch8 -p1 |
790 |
|
%patch9 -p1 |
791 |
|
%patch10 -p1 |
792 |
|
%patch11 -p1 |
793 |
|
|
794 |
%build |
%build |
795 |
perl createlinks |
perl createlinks |
796 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
797 |
|
|
798 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
799 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
800 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
801 |
|
|
802 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
803 |
10check_earlytalker |
10earlytalker |
804 |
12count_unrecognized_commands |
12count_unrecognized_commands |
805 |
16require_resolvable_fromhost |
15helo |
806 |
|
16resolvable_fromhost |
807 |
|
18karma |
808 |
|
19loadcheck |
809 |
20rhsbl |
20rhsbl |
810 |
22dnsbl |
22dnsbl |
811 |
70spamassassin |
70spamassassin |
866 |
\ |
\ |
867 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
868 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
869 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
870 |
\ |
\ |
871 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
872 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |