1 |
|
# $Id$ |
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 1.2.1 |
%define version 2.2.0 |
7 |
%define release 39 |
%define release 1 |
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.gz |
Source: %{name}-%{version}.tar.gz |
|
Patch0: smeserver-qpsmtpd-1.2.1-LiteralIP.patch |
|
|
Patch1: smeserver-qpsmtpd-1.2.1-badrcptto-hosts.patch |
|
|
Patch2: smeserver-qpsmtpd-1.2.1-check_smtp_forward.patch |
|
|
Patch3: smeserver-qpsmtpd-1.2.1-enable_check_smtp_forward.patch |
|
|
Patch4: smeserver-qpsmtpd-1.2.1-bcc_mode.patch |
|
|
Patch5: smeserver-qpsmtpd-1.2.1-peers_plugin.patch |
|
|
Patch6: smeserver-qpsmtpd-1.2.1-peers_plugin.patch2 |
|
|
Patch7: smeserver-qpsmtpd-1.2.1-usepeers.patch |
|
|
Patch8: smeserver-qpsmtpd-1.2.1-usepeers.patch2 |
|
|
Patch9: smeserver-qpsmtpd-1.2.1-rcpthosts_regenerated.patch |
|
|
Patch10: smeserver-qpsmtpd-1.2.1-mergetnef2mime.patch |
|
|
Patch11: smeserver-qpsmtpd-1.2.1-usepeers.patch3 |
|
|
Patch12: smeserver-qpsmtpd-1.2.1-usepeers.patch4 |
|
|
Patch13: smeserver-qpsmtpd-1.2.1-control1.patch |
|
|
Patch14: smeserver-qpsmtpd-1.2.1-control1.patch3 |
|
|
Patch15: smeserver-qpsmtpd-1.2.1-peersinit.patch |
|
|
Patch16: smeserver-qpsmtpd-1.2.1-rblsbl.patch |
|
|
Patch17: smeserver-qpsmtpd-1.2.1-peersauth.patch |
|
|
Patch18: smeserver-qpsmtpd-1.2.1-peersauth.patch2 |
|
|
Patch19: smeserver-qpsmtpd-1.2.1-badmailfrom.patch |
|
|
Patch20: smeserver-qpsmtpd-1.2.1-nowhitelist.patch |
|
|
Patch21: smeserver-qpsmtpd-1.2.1-dkim.patch |
|
|
Patch22: smeserver-qpsmtpd-1.2.1-keeptnef.patch |
|
|
Patch23: smeserver-qpsmtpd-1.2.1-softlimit.patch |
|
|
Patch24: smeserver-qpsmtpd-1.2.1-rcpthost.patch |
|
|
Patch25: smeserver-qpsmtpd-1.2.1-logterse.patch |
|
|
Patch26: smeserver-qpsmtpd-1.2.1-logterse_stats.patch |
|
|
Patch27: smeserver-qpsmtpd-1.2.1-qplogsumm.patch |
|
|
Patch28: smeserver-qpsmtpd-1.2.1-logterse.patch2 |
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
Requires: qpsmtpd >= 0.32-4.el4.sme |
Requires: qpsmtpd >= 0.40 |
15 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
16 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
|
Conflicts: qpsmtpd >= 0.33 |
|
17 |
Requires: daemontools |
Requires: daemontools |
18 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
19 |
Requires: ipsvd |
Requires: ipsvd |
40 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
44 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
45 |
|
|
46 |
|
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-57 |
47 |
|
- Fix migrate fragment for zen.spamhaus.org [SME: 2116] |
48 |
|
|
49 |
|
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-56 |
50 |
|
- Migrate sbl-xbl.spamhaus.org to zen.spamhaus.org [SME: 2116] |
51 |
|
- Remove blackhole.securitysage.com [SME: 4623] |
52 |
|
|
53 |
|
* Wed Jul 23 2008 Gavin Weight <gweight@gmail.com> 1.2.1-55 |
54 |
|
- Fix empty lines and add feature to specify disclaimer directory. |
55 |
|
(thanks, Federico Simoncelli). [SME: 3244] |
56 |
|
|
57 |
|
* Thu Apr 17 2008 Gavin Weight <gweight@gmail.com> 1.2.1-54 |
58 |
|
- Migrate ordb.net entries away. [SME: 4214] |
59 |
|
|
60 |
|
* Tue Jan 29 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.1-53 |
61 |
|
- Enable auth plugin for local connections. [SME: 2631] |
62 |
|
|
63 |
|
* Thu Jan 10 2008 Gavin Weight <gweight@gmail.com> 1.2.1-52 |
64 |
|
- Fix divide by zero error on log rotate. [SME: 3620] |
65 |
|
|
66 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.1-51 |
67 |
|
- check_smtp_forward changed from loginfo to logdebug [SME: 3471] |
68 |
|
|
69 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.1-50 |
70 |
|
- disable qplogsumm by deafult [SME: 3727] |
71 |
|
|
72 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.1-49 |
73 |
|
- rename template-begin fragments [SME: 2333] |
74 |
|
|
75 |
|
* Mon Oct 29 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-48 |
76 |
|
- Add badrcptto_pattern rule to block "null" recipient addresses. |
77 |
|
[SME: 3476] |
78 |
|
|
79 |
|
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-47 |
80 |
|
- Add configurable timeouts during SMTP command parsing and message |
81 |
|
body receipt. [SME: 3377] |
82 |
|
|
83 |
|
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-46 |
84 |
|
- Disconnect immediately if dnsbl plugin rejects recipient addresses |
85 |
|
(and therefore would never accept the message). [SME: 3352] |
86 |
|
|
87 |
|
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-45 |
88 |
|
- Configure hosts_allow plugin, which use the pre_connection hook |
89 |
|
and therefore needs to be done before the 'peers' plugin. |
90 |
|
[SME: 3352] |
91 |
|
|
92 |
|
* Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-44 |
93 |
|
- Fix rbl migrate fragment (thanks, Mike McCarn). [SME: 3229] |
94 |
|
|
95 |
|
* Sun Jun 17 2007 Shad L. Lords <slords@mail.com> 1.2.1-43 |
96 |
|
- Updates for disclaimer plugin [SME: 2648] |
97 |
|
|
98 |
|
* Sat Jun 16 2007 Shad L. Lords <slords@mail.com> 1.2.1-42 |
99 |
|
- Add disclaimer plugin disabled by default [SME: 2648] |
100 |
|
|
101 |
|
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-41 |
102 |
|
- Update for new features in qpsmtpd v0.40 |
103 |
|
|
104 |
|
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-40 |
105 |
|
- Remove conflicts qpsmtpd >= 0.33 |
106 |
|
|
107 |
* Sat Jun 9 2007 Shad L. Lords <slords@mail.com> 1.2.1-39 |
* Sat Jun 9 2007 Shad L. Lords <slords@mail.com> 1.2.1-39 |
108 |
- Update to correct version of qplogsumm.pl [SME: 2971] |
- Update to correct version of qplogsumm.pl [SME: 2971] |
109 |
|
|
632 |
|
|
633 |
%prep |
%prep |
634 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
|
%patch22 -p1 |
|
|
%patch23 -p1 |
|
|
%patch24 -p1 |
|
|
%patch25 -p1 |
|
|
%patch26 -p1 |
|
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
635 |
|
|
636 |
%build |
%build |
637 |
perl createlinks |
perl createlinks |
665 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
666 |
|
|
667 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
|
05auth_cvm_unix_local |
|
668 |
10check_earlytalker |
10check_earlytalker |
669 |
12count_unrecognized_commands |
12count_unrecognized_commands |
670 |
16require_resolvable_fromhost |
16require_resolvable_fromhost |
678 |
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
679 |
done |
done |
680 |
|
|
681 |
|
DISABLE_EXTERNAL=" |
682 |
|
65disclaimer |
683 |
|
" |
684 |
|
|
685 |
|
for file in $DISABLE_EXTERNAL |
686 |
|
do |
687 |
|
echo "# $file disabled for external connections" > $PEERS_CONFIG/0/$file |
688 |
|
done |
689 |
|
|
690 |
( |
( |
691 |
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
692 |
for file in * |
for file in * |