1 |
snetram |
1.28 |
# $Id: smeserver-qpsmtpd.spec,v 1.27 2009/11/06 08:11:11 snetram Exp $ |
2 |
slords |
1.22 |
|
3 |
slords |
1.1 |
Summary: SME Server qpsmtpd module |
4 |
|
|
%define name smeserver-qpsmtpd |
5 |
|
|
Name: %{name} |
6 |
slords |
1.22 |
%define version 2.2.0 |
7 |
snetram |
1.28 |
%define release 5 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
slords |
1.23 |
Patch1: smeserver-qpsmtpd-2.2.0-qpsmtpd83.patch |
14 |
snetram |
1.26 |
Patch2: smeserver-qpsmtpd-2.2.0-spamsubject.patch |
15 |
snetram |
1.28 |
Patch3: smeserver-qpsmtpd-2.2.0-expand-template.patch |
16 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
slords |
1.23 |
Requires: qpsmtpd >= 0.83 |
18 |
slords |
1.1 |
Requires: perl(Mail::DKIM) |
19 |
|
|
Requires: perl(Mail::DKIM::DkSignature) |
20 |
|
|
Requires: daemontools |
21 |
|
|
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
22 |
|
|
Requires: ipsvd |
23 |
|
|
Requires: e-smith-lib >= 1.16.0-08 |
24 |
|
|
Obsoletes: e-smith-obtuse-smtpd |
25 |
|
|
Obsoletes: e-smith-qmail-smtpd |
26 |
|
|
Obsoletes: e-smith-mailfront |
27 |
|
|
Obsoletes: e-smith-ssl-mailfront |
28 |
|
|
Provides: e-smith-smtpd |
29 |
|
|
Obsoletes: e-smith-qpsmtpd |
30 |
|
|
Provides: e-smith-qpsmtpd |
31 |
|
|
Obsoletes: smeserver-qpsmtpd-tnef2mime |
32 |
|
|
Provides: smeserver-qpsmtpd-tnef2mime |
33 |
|
|
Requires: e-smith-base >= 4.15.2 |
34 |
|
|
Requires: perl-Convert-TNEF |
35 |
|
|
Requires: perl-IO-stringy |
36 |
|
|
Requires: perl-File-MMagic |
37 |
|
|
Requires: perl-MIME-tools |
38 |
|
|
BuildArchitectures: noarch |
39 |
|
|
BuildRequires: e-smith-devtools |
40 |
|
|
AutoReqProv: no |
41 |
|
|
|
42 |
|
|
%description |
43 |
|
|
SME Server qpsmtpd smtpd module |
44 |
|
|
|
45 |
|
|
%changelog |
46 |
snetram |
1.28 |
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
47 |
|
|
- Tie template fragment into event system to have it expanded [SME: 5031] |
48 |
|
|
|
49 |
snetram |
1.26 |
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-4.sme |
50 |
snetram |
1.27 |
- Add qpsmtpd template fragment for custom SPAM subject prefix [SME: 5031] |
51 |
snetram |
1.26 |
|
52 |
slords |
1.24 |
* Thu Oct 29 2009 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
53 |
|
|
- Add hooks cleanout back in in so auth works. |
54 |
|
|
|
55 |
slords |
1.23 |
* Thu Oct 29 2009 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
56 |
|
|
- Add compatibility with qpsmtpd 0.83 [SME: 5543] |
57 |
|
|
- Add tls to base config [SME: 1076] |
58 |
|
|
|
59 |
slords |
1.22 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
60 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
61 |
|
|
|
62 |
slords |
1.21 |
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-57 |
63 |
|
|
- Fix migrate fragment for zen.spamhaus.org [SME: 2116] |
64 |
|
|
|
65 |
slords |
1.20 |
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-56 |
66 |
|
|
- Migrate sbl-xbl.spamhaus.org to zen.spamhaus.org [SME: 2116] |
67 |
|
|
- Remove blackhole.securitysage.com [SME: 4623] |
68 |
|
|
|
69 |
bytegw |
1.18 |
* Wed Jul 23 2008 Gavin Weight <gweight@gmail.com> 1.2.1-55 |
70 |
bytegw |
1.19 |
- Fix empty lines and add feature to specify disclaimer directory. |
71 |
|
|
(thanks, Federico Simoncelli). [SME: 3244] |
72 |
bytegw |
1.18 |
|
73 |
bytegw |
1.17 |
* Thu Apr 17 2008 Gavin Weight <gweight@gmail.com> 1.2.1-54 |
74 |
|
|
- Migrate ordb.net entries away. [SME: 4214] |
75 |
|
|
|
76 |
bytegw |
1.16 |
* Tue Jan 29 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.1-53 |
77 |
|
|
- Enable auth plugin for local connections. [SME: 2631] |
78 |
|
|
|
79 |
|
|
* Thu Jan 10 2008 Gavin Weight <gweight@gmail.com> 1.2.1-52 |
80 |
bytegw |
1.15 |
- Fix divide by zero error on log rotate. [SME: 3620] |
81 |
|
|
|
82 |
bytegw |
1.16 |
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.2.1-51 |
83 |
bytegw |
1.14 |
- check_smtp_forward changed from loginfo to logdebug [SME: 3471] |
84 |
|
|
|
85 |
bytegw |
1.13 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.1-50 |
86 |
bytegw |
1.16 |
- disable qplogsumm by deafult [SME: 3727] |
87 |
bytegw |
1.13 |
|
88 |
bytegw |
1.12 |
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.1-49 |
89 |
|
|
- rename template-begin fragments [SME: 2333] |
90 |
|
|
|
91 |
bytegw |
1.16 |
* Mon Oct 29 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-48 |
92 |
bytegw |
1.12 |
- Add badrcptto_pattern rule to block "null" recipient addresses. |
93 |
|
|
[SME: 3476] |
94 |
|
|
|
95 |
slords |
1.11 |
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-47 |
96 |
|
|
- Add configurable timeouts during SMTP command parsing and message |
97 |
|
|
body receipt. [SME: 3377] |
98 |
|
|
|
99 |
slords |
1.10 |
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-46 |
100 |
|
|
- Disconnect immediately if dnsbl plugin rejects recipient addresses |
101 |
|
|
(and therefore would never accept the message). [SME: 3352] |
102 |
|
|
|
103 |
slords |
1.9 |
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-45 |
104 |
|
|
- Configure hosts_allow plugin, which use the pre_connection hook |
105 |
|
|
and therefore needs to be done before the 'peers' plugin. |
106 |
|
|
[SME: 3352] |
107 |
|
|
|
108 |
slords |
1.8 |
* Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-44 |
109 |
|
|
- Fix rbl migrate fragment (thanks, Mike McCarn). [SME: 3229] |
110 |
|
|
|
111 |
slords |
1.7 |
* Sun Jun 17 2007 Shad L. Lords <slords@mail.com> 1.2.1-43 |
112 |
|
|
- Updates for disclaimer plugin [SME: 2648] |
113 |
|
|
|
114 |
slords |
1.6 |
* Sat Jun 16 2007 Shad L. Lords <slords@mail.com> 1.2.1-42 |
115 |
|
|
- Add disclaimer plugin disabled by default [SME: 2648] |
116 |
|
|
|
117 |
slords |
1.3 |
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-41 |
118 |
|
|
- Update for new features in qpsmtpd v0.40 |
119 |
|
|
|
120 |
slords |
1.2 |
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-40 |
121 |
|
|
- Remove conflicts qpsmtpd >= 0.33 |
122 |
|
|
|
123 |
slords |
1.1 |
* Sat Jun 9 2007 Shad L. Lords <slords@mail.com> 1.2.1-39 |
124 |
|
|
- Update to correct version of qplogsumm.pl [SME: 2971] |
125 |
|
|
|
126 |
|
|
* Fri Jun 08 2007 Shad L. Lords <slords@mail.com> 1.2.1-38 |
127 |
|
|
- Add qplogsumm.pl to package for logging [SME: 2971] |
128 |
|
|
|
129 |
|
|
* Fri Jun 08 2007 Stephen Noble <support@dungog.net> 1.2.1-37 |
130 |
|
|
- Bump |
131 |
|
|
|
132 |
|
|
* Fri Jun 08 2007 Stephen Noble <support@dungog.net> 1.2.1-36 |
133 |
|
|
- Cumulative statistics for qpsmtpd using logterse [SME: 2971] |
134 |
|
|
|
135 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
136 |
|
|
- Clean up spec so package can be built by koji/plague |
137 |
|
|
|
138 |
|
|
* Tue Apr 10 2007 Shad L. Lords <slords@mail.com> 1.2.1-35 |
139 |
|
|
- Add logterse plugin and reduce logging level [SME: 2875] |
140 |
|
|
|
141 |
|
|
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.2.1-34 |
142 |
|
|
- Remove templates2events link for rcpthosts [SME: 2716] |
143 |
|
|
|
144 |
|
|
* Wed Mar 07 2007 Shad L. Lords <slords@mail.com> 1.2.1-33 |
145 |
|
|
- Add db entry for soft memory limits [SME: 2308] |
146 |
|
|
|
147 |
|
|
* Sat Jan 27 2007 Shad L. Lords <slords@mail.com> 1.2.1-32 |
148 |
|
|
- Keep TNEF attachment if contains special lookout stuff [SME: 2339] |
149 |
|
|
|
150 |
|
|
* Tue Jan 23 2007 Shad L. Lords <slords@mail.com> 1.2.1-31 |
151 |
|
|
- Add DomainKey and DKIM signing plugin |
152 |
|
|
|
153 |
|
|
* Thu Jan 18 2007 Shad L. Lords <slords@mail.com> 1.2.1-30 |
154 |
|
|
- Remove whitelist_soft plugin usage [SME: 2322] |
155 |
|
|
|
156 |
|
|
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.2.1-29 |
157 |
|
|
- Rename badmailfrom template to 10sample [SME: 2279] |
158 |
|
|
|
159 |
|
|
* Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.2.1-28 |
160 |
|
|
- Fix peers plugin to hook new methods [SME: 2091] |
161 |
|
|
|
162 |
|
|
* Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.2.1-27 |
163 |
|
|
- Make smtp auth use local plugins [SME: 2091] |
164 |
|
|
|
165 |
|
|
* Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.2.1-26 |
166 |
|
|
- Migrate ordb.org entries away. [SME: 2274] |
167 |
|
|
- Clean-up SBL and RBL lists to use be in the correct place and use |
168 |
|
|
recognized lists. |
169 |
|
|
|
170 |
|
|
* Thu Dec 28 2006 Shad L. Lords <slords@mail.com> 1.2.1-25 |
171 |
|
|
- Reverse last change and fix correctly by passing peers/0 to |
172 |
|
|
the inital peers plugin [SME: 2167] |
173 |
|
|
|
174 |
|
|
* Tue Dec 26 2006 Shad L. Lords <slords@mail.com> 1.2.1-24 |
175 |
|
|
- Update peers to exit gracefully if no config passed [SME: 2167] |
176 |
|
|
|
177 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
178 |
|
|
- Update to new release naming. No functional changes. |
179 |
|
|
- Make Packager generic |
180 |
|
|
|
181 |
|
|
* Fri Dec 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-23 |
182 |
|
|
- Re-enable these by default for local connections as they already |
183 |
|
|
check for relayclient() for relevant sections: [SME: 1893] |
184 |
|
|
30check_badmailfrom |
185 |
|
|
33check_badrcptto_patterns |
186 |
|
|
34check_badrcptto |
187 |
|
|
38check_goodrcptto |
188 |
|
|
|
189 |
|
|
* Fri Dec 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-22 |
190 |
|
|
- Replace config/peers/0 and config/peers/local template directory |
191 |
|
|
symlinks with a tree of symlinks. Disable the following plugins |
192 |
|
|
for local connections: [SME: 1893] |
193 |
|
|
10check_earlytalker |
194 |
|
|
12count_unrecognized_commands |
195 |
|
|
16require_resolvable_fromhost |
196 |
|
|
20rhsbl |
197 |
|
|
22dnsbl |
198 |
|
|
30check_badmailfrom |
199 |
|
|
33check_badrcptto_patterns |
200 |
|
|
34check_badrcptto |
201 |
|
|
38check_goodrcptto |
202 |
|
|
70spamassassin |
203 |
|
|
|
204 |
|
|
* Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-21 |
205 |
|
|
- Fix last change to use SIGUSR1, not SIGHUP, and only for qpsmtpd. |
206 |
|
|
The peers directories are shared between qpsmtpd and sqpsmtpd [SME: 1893] |
207 |
|
|
|
208 |
|
|
* Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-20 |
209 |
|
|
- Regenerate peers directories in network-{create,delete} [SME: 1893] |
210 |
|
|
|
211 |
|
|
* Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-19 |
212 |
|
|
- Update e-smith-lib requires to pick up configure_peers() change [SME: 1893] |
213 |
|
|
- Add control/1 script and call from run script to configure peers [SME: 1893] |
214 |
|
|
|
215 |
|
|
* Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-18 |
216 |
|
|
- Ensure config directory resolves for sqpsmtpd service [SME: 1893] |
217 |
|
|
|
218 |
|
|
* Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-17 |
219 |
|
|
- Create config/peers directory [SME: 1893] |
220 |
|
|
|
221 |
|
|
* Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-16 |
222 |
|
|
- Expand config/peers/local in the relevant events [SME: 1893] |
223 |
|
|
- TODO: Generate peers links for local networks |
224 |
|
|
|
225 |
|
|
* Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-15 |
226 |
|
|
- Remove peers/0 templates.metadata file |
227 |
|
|
- Create config/peers templates directories |
228 |
|
|
- Symlink config/peers/{0,local} to ../plugins |
229 |
|
|
- To override local qpsmtpd config, create custom template for |
230 |
|
|
/var/service/qpsmtpd/config/peers/local [SME: 1893] |
231 |
|
|
|
232 |
|
|
* Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-14 |
233 |
|
|
- Merge in smeserver-qpsmtpd-tnef2mime [SME: 2087] |
234 |
|
|
|
235 |
|
|
* Mon Nov 20 2006 Gavin Weight <gweight@gmail.com> 1.2.1-13 |
236 |
|
|
- Fix rcpthosts to regenerate on ip-change. [SME: 1926] |
237 |
|
|
|
238 |
|
|
* Fri Nov 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-12 |
239 |
|
|
- Correct last patch (wrong templates.metadata file) [SME: 1893] |
240 |
|
|
- Expand config/peers/0 in the relevant events |
241 |
|
|
|
242 |
|
|
* Fri Nov 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-11 |
243 |
|
|
- Enable Charlie's peers plugin [SME: 1893] |
244 |
|
|
Use templates.metadata to provide backwards compatibility with |
245 |
|
|
add-on template fragments (at least for the first pass) |
246 |
|
|
config/peers/0 is generated from existing config/plugins template |
247 |
|
|
config/plugins is now a static file which just loads the peers plugin |
248 |
|
|
- TODO: Generate local plugins file(s) with different config |
249 |
|
|
|
250 |
|
|
* Sun Oct 22 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.1-10 |
251 |
|
|
- Fix RE used to strip octets from IP address in peers plugin. [SME: 1893] |
252 |
|
|
|
253 |
|
|
* Fri Sep 08 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.1-09 |
254 |
|
|
- Add 'peers' plugin code. [SME: 1893] |
255 |
|
|
|
256 |
|
|
* Thu Aug 24 2006 Filippo Carletti <carletti@mobilia.it> 1.2.1-08 |
257 |
|
|
- Add option for stealth mail logging. To enable: |
258 |
|
|
- config setprop qpsmtpd BccMode bcc [SME: 1876] |
259 |
|
|
|
260 |
|
|
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-07 |
261 |
|
|
- Enable check_smtp_forward if any domains are being forwarded |
262 |
|
|
to internal mail servers [SME: 1850] |
263 |
|
|
|
264 |
|
|
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-06 |
265 |
|
|
- Add check_smtp_forward plugin which contacts the internal mail |
266 |
|
|
server(s) to determine whether the mail would be accepted. If |
267 |
|
|
so, just let it queue normally |
268 |
|
|
- TODO: Add configuration to plugins file if required [SME: 1850] |
269 |
|
|
|
270 |
|
|
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-05 |
271 |
|
|
- Revert last change. Enhancing the smtp-forward plugin to handle |
272 |
|
|
multiple internal mail servers for different domains is too |
273 |
|
|
complex. Let's let qmail do that work. [SME: 710] |
274 |
|
|
|
275 |
|
|
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-04 |
276 |
|
|
- Re-enable smtp-forward plugin requiring version which declines if |
277 |
|
|
the connection is from a relayclient, to allow fallthrough to standard |
278 |
|
|
qmail-queue plugin. |
279 |
|
|
- Add default/failsafe queue/qmail-queue plugin [SME: 710] |
280 |
|
|
|
281 |
|
|
* Thu Jul 27 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-03 |
282 |
|
|
- Remove hosts from badrcptto - we only handle domains [SME: 1777] |
283 |
|
|
|
284 |
|
|
* Sat Jul 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-02 |
285 |
|
|
- Allow mail to [$ExternalIP] to support postmaster@[$ExternalIP] [SME: 1675] |
286 |
|
|
|
287 |
|
|
* Sat Jul 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-01 |
288 |
|
|
- Roll tarball with patches to 1.2.0-10 |
289 |
|
|
|
290 |
|
|
* Thu Jun 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-10 |
291 |
|
|
- Change default smtpgreeting to $SystemName.$DomainName [SME: 1325] |
292 |
|
|
|
293 |
|
|
* Thu Jun 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-09 |
294 |
|
|
- Template /var/service/qpsmtpd/config/smtpgreeting, defaulting to |
295 |
|
|
$DomainName. To set a custom greeting, set $smtpd{Greeting} [SME: 1325] |
296 |
|
|
|
297 |
|
|
* Mon Jun 26 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-08 |
298 |
|
|
- Expand badrcptto on group create/modifiy/delete events [SME: 1632] |
299 |
|
|
|
300 |
|
|
* Wed Jun 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07 |
301 |
|
|
- Remove configuration for klez_filter scanner as it duplicates |
302 |
|
|
work of the pattern_filter [SME: 1620] |
303 |
|
|
|
304 |
|
|
* Tue Jun 20 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-06 |
305 |
|
|
- Expand goodrcptto on group create/modifiy/delete events [SME: 1616] |
306 |
|
|
|
307 |
|
|
* Mon Jun 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-05 |
308 |
|
|
- Improve peformance of pattern_filter plugin [SME: 1532] |
309 |
|
|
- TODO: Remove obsolete code and comments from that plugin |
310 |
|
|
|
311 |
|
|
* Wed May 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-04 |
312 |
|
|
- Allow all mail for domains which are being forwarded to internal |
313 |
|
|
mail servers [SME: 1253] |
314 |
|
|
|
315 |
|
|
* Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-03 |
316 |
|
|
- Revert back to loglevel 8 from 6. [SME: 503] |
317 |
|
|
|
318 |
|
|
* Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-02 |
319 |
|
|
- Disable use of smtp-forward plugin (probably temporarily) in |
320 |
|
|
DelegateMailServer mode, to avoid mail looping problem. Always |
321 |
|
|
use qmail-queue plugin (for now). [SME: 1121] |
322 |
|
|
|
323 |
|
|
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
324 |
|
|
- Roll stable stream version. [SME: 1016] |
325 |
|
|
|
326 |
|
|
* Fri Feb 17 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.2-04 |
327 |
|
|
- Exempt local networks from dnsbl lookup. [SME: 830] |
328 |
|
|
|
329 |
|
|
* Fri Feb 10 2006 <gordonr@gormand.com.au> 1.0.2-03 |
330 |
|
|
- Call queue/smtp-forward to connect to DelegateMailServer |
331 |
|
|
instead of queueing locally when DelegateMailServer is set [SME: 710] |
332 |
|
|
|
333 |
|
|
* Mon Feb 6 2006 <charlie_brady@mitel.com> 1.0.2-02 |
334 |
|
|
- Enable resolvable_fromhost check by default, and add |
335 |
|
|
whitelistsenders config for local domains. [SME: 638] |
336 |
|
|
|
337 |
|
|
* Sun Feb 5 2006 <charlie_brady@mitel.com> 1.0.2-01 |
338 |
|
|
- Roll new tarball. [SME: 651] |
339 |
|
|
|
340 |
|
|
* Sun Feb 5 2006 <charlie_brady@mitel.com> 1.0.1-21 |
341 |
|
|
- Remove unused patterns.default remnants. Ensure that all |
342 |
|
|
templates2expand directories are populated only by createlinks |
343 |
|
|
script. [SME: 651] |
344 |
|
|
|
345 |
|
|
* Sat Feb 4 2006 <charlie_brady@mitel.com> 1.0.1-20 |
346 |
|
|
- Expand badhelo template during ip-change event, and remove |
347 |
|
|
bogus expansions /var/qmail/control/badhelo templates. [SME: 651] |
348 |
|
|
|
349 |
|
|
* Fri Feb 3 2006 Shad L. Lords <slords@mail.com> 1.0.1-19 |
350 |
|
|
- Add missing template-begin file in rhsbl directory [SME: 596] |
351 |
|
|
|
352 |
|
|
* Fri Feb 3 2006 <carletti@mobilia.it> 1.0.1-18 |
353 |
|
|
- Expand config/relayclients in network-(create|delete) events |
354 |
|
|
[SME: 649] |
355 |
|
|
|
356 |
|
|
* Thu Feb 2 2006 <charlie_brady@mitel.com> 1.0.1-17 |
357 |
|
|
- Add template for invalid_resolvable_fromhost configuration file |
358 |
|
|
[SME: 638] |
359 |
|
|
|
360 |
|
|
* Mon Jan 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.1-16 |
361 |
|
|
- Fix warnings during template expansion, if spamassassin and/or clamd |
362 |
|
|
is not installed/configured. Remove dependencies on packages which |
363 |
|
|
are optional. Ensure that clamav group exists before installation. |
364 |
|
|
Remove one redundant template fragment (which consisted of only comments). |
365 |
|
|
[SME: 606] |
366 |
|
|
|
367 |
|
|
* Sat Jan 28 2006 Shad L. Lords <slords@mail.com> 1.0.1-15 |
368 |
|
|
- Add support for rhsbl entries to db [SME: 596] |
369 |
|
|
|
370 |
|
|
* Thu Jan 26 2006 Charlie Brady <charlieb@e-smith.com> 1.0.1-14 |
371 |
|
|
- Remove remnant mailrules.default templates and template |
372 |
|
|
expansions. [SME: 454] |
373 |
|
|
|
374 |
|
|
* Wed Jan 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-13 |
375 |
|
|
- Add defaults qpsmtpd{Bcc} == disabled and qpsmtpd{BccUser} == maillog |
376 |
|
|
- To enable mail logging: |
377 |
|
|
- Create maillog user |
378 |
|
|
- config setprop qpsmtpd Bcc enabled |
379 |
|
|
- signal-event email-update [SME: 13] |
380 |
|
|
|
381 |
|
|
* Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-12 |
382 |
|
|
- Really reduce default qpsmtpd{LogLevel} to LOGINFO (6) [SME: 503] |
383 |
|
|
|
384 |
|
|
* Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-11 |
385 |
|
|
- Reduce default qpsmtpd{LogLevel} to LOGINFO (7) [SME: 503] |
386 |
|
|
|
387 |
|
|
* Thu Jan 12 2006 Charlie Brady <charlieb@e-smith.com> 1.0.1-10 |
388 |
|
|
- Fix goodrcptto and mailrules templates for single domain |
389 |
|
|
pseudonym entries. [SME: 368] |
390 |
|
|
|
391 |
|
|
* Thu Oct 13 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-09 |
392 |
|
|
- Default RequireResolvableFromHost to "no" [SF: 1269382] |
393 |
|
|
|
394 |
|
|
* Thu Oct 13 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-08 |
395 |
|
|
- SIGHUP [s]qpsmtpd to re-read config in email-update [SF: 1252072] |
396 |
|
|
|
397 |
|
|
* Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-07 |
398 |
|
|
- And finally, the env directory [SF: 1313800] |
399 |
|
|
|
400 |
|
|
* Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-06 |
401 |
|
|
- And the config directory [SF: 1313800] |
402 |
|
|
|
403 |
|
|
* Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-05 |
404 |
|
|
- Need to create ssl directory to allow template expansion [SF: 1313800] |
405 |
|
|
|
406 |
|
|
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-04 |
407 |
|
|
- And the path to the runenv directory [SF: 1313800] |
408 |
|
|
|
409 |
|
|
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-03 |
410 |
|
|
- And fix up path to config directory [SF: 1313800] |
411 |
|
|
|
412 |
|
|
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-02 |
413 |
|
|
- Remove symlinks from sqpsmtpd directory [SF: 1313800] |
414 |
|
|
|
415 |
|
|
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-01 |
416 |
|
|
- Roll new tarball, including patches to 1.0.0-11 |
417 |
|
|
|
418 |
|
|
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11 |
419 |
|
|
- Added missing = to max_size parameter for clamav plugin [SF: 1308976] |
420 |
|
|
|
421 |
|
|
* Thu Oct 6 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-10 |
422 |
|
|
- Added db defaults for qpsmtpd{LogLevel}=='8' and |
423 |
|
|
$qpsmtpd{RequireResolvableFromHost}=='yes' [SF: 1314202] |
424 |
|
|
|
425 |
|
|
* Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-09 |
426 |
|
|
- Allow mail to root@domain. If you want to block it, |
427 |
|
|
db accounts setprop root Visible internal [SF: 1252375] |
428 |
|
|
|
429 |
|
|
* Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-08 |
430 |
|
|
- And pick correct value from clamav entry: [SF: 1245756] |
431 |
|
|
$qpsmtpd{MaxScannerSize} || $clamav{StreamMaxLength} || "25M"; |
432 |
|
|
|
433 |
|
|
* Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-07 |
434 |
|
|
- Configure qpsmtpd{MaxScannerSize}, defaulting to 25MBytes [SF: 1245756] |
435 |
|
|
|
436 |
|
|
* Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-06 |
437 |
|
|
- Set separate softlimit values for data/stack/locked [SF: 1298123] |
438 |
|
|
|
439 |
|
|
* Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-05 |
440 |
|
|
- Set memory_threshold to 1 so that qpsmtpd writes all mail messages |
441 |
|
|
to disk so that scanners can look at them. Default is 10K [SF: 1298343] |
442 |
|
|
|
443 |
|
|
* Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-04 |
444 |
|
|
- Updated Requires for qpsmtpd to 0.31 [SF: 1231314] |
445 |
|
|
- Change paths to match Peter Holtzer's RPMs - /usr/share/qpsmtpd/ |
446 |
|
|
instead of /usr/lib/qpsmtpd [SF: 1231314] |
447 |
|
|
- Updated Requires for plugins to pick up new paths [SF: 1231314] |
448 |
|
|
- Remove symlinks from /var/service[s]qpsmtpd since they can |
449 |
|
|
now be done with environment or qpsmtpd config variables [SF: 1231314] |
450 |
|
|
- Remove plugins auth/cvm_unix_local, check_norelay and |
451 |
|
|
check_badrcptto_patterns which are now in the qpsmtpd tarball [SF: 1231314] |
452 |
|
|
|
453 |
|
|
* Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-03 |
454 |
|
|
- Fix sqpsmtpd script to call sslio with -u and -U args [SF: 1257284] |
455 |
|
|
|
456 |
|
|
* Wed Aug 24 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-02 |
457 |
|
|
- Configure qpsmtpd{RBLList} with comma separator, but allow |
458 |
|
|
either since people are used to colons and we then don't have |
459 |
|
|
to do a db migration for beta1 -> beta2 [SF: 1267737] |
460 |
|
|
|
461 |
|
|
* Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
462 |
|
|
- [1.0.0-01] |
463 |
|
|
- Package renamed to smeserver-qpsmtpd |
464 |
|
|
|
465 |
|
|
* Thu Aug 18 2005 Shad L. Lords <slords@mail.com> |
466 |
|
|
- [0.0.4-27sme01] |
467 |
|
|
- Change e-smith-clamav to smeserver-clamav |
468 |
|
|
|
469 |
|
|
* Thu Aug 18 2005 Gordon Rowell <gordonr@gormand.com.au> |
470 |
|
|
- [0.0.4-27] |
471 |
|
|
- Expand goodrcptto in domain-* events [SF: 1257199] |
472 |
|
|
|
473 |
|
|
* Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com> |
474 |
|
|
- [0.0.4-26] |
475 |
|
|
- Fix uid/gid which sslio wrapper runs as for sqpsmtpd. [SF: 1257284] |
476 |
|
|
- Add Requires headers for e-smith-clamav and e-smith-spamassassin. |
477 |
|
|
|
478 |
|
|
* Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com> |
479 |
|
|
- [0.0.4-25] |
480 |
|
|
- Change name of plugins RPM in Requires: header. [SF: 1242326] |
481 |
|
|
|
482 |
|
|
* Wed Jul 27 2005 Gordon Rowell <gordonr@gormand.com.au> |
483 |
|
|
- [0.0.4-24] |
484 |
|
|
- Enabled check_basicheaders, requiring a From and Date header. |
485 |
|
|
- Configure db default smtpd{MaxDateOffset}==0. Set it to a non-zero |
486 |
|
|
value (e.g. 366) to reject mail with silly dates. |
487 |
|
|
[SF: 1244977] |
488 |
|
|
|
489 |
|
|
* Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com> |
490 |
|
|
- [0.0.4-23] |
491 |
|
|
- Remove explicit pathnames in db opens. [SF: 1216546 (Shad)] |
492 |
|
|
|
493 |
|
|
* Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com> |
494 |
|
|
- [0.0.4-22] |
495 |
|
|
- Fix metadata OUTPUT_PATH to OUTPUT_FILENAME [SF: 1237193] |
496 |
|
|
|
497 |
|
|
* Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com> |
498 |
|
|
- [0.0.4-21] |
499 |
|
|
- Fix up db default qpsmtpd{tnef2mime} -> smtpd{tnef2mime} so it is |
500 |
|
|
actually enabled by default [SF:1227668 (Shad)] |
501 |
|
|
|
502 |
|
|
* Wed Jul 13 2005 Charlie Brady <charlieb@e-smith.com> |
503 |
|
|
- [0.0.4-20] |
504 |
|
|
- Fix errors in SSL PEM file template expansion [SF: 1237193] |
505 |
|
|
|
506 |
|
|
* Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com> |
507 |
|
|
- [0.0.4-19] |
508 |
|
|
- Added Michael Weinberger's smeserver-qpsmtpd-tnef2mime - [SF:1227668] |
509 |
|
|
- Added config db defaults to enable plugin |
510 |
|
|
|
511 |
|
|
* Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com> |
512 |
|
|
- [0.0.4-18] |
513 |
|
|
- Remove bogus /var/service/qpsmtpd/peers/{0,local} |
514 |
|
|
directories (this time for sure, Rocky!) [SF: 1210727] |
515 |
|
|
|
516 |
|
|
* Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com> |
517 |
|
|
- [0.0.4-17] |
518 |
|
|
- Small patch from Gordon to fix cvs interaction. |
519 |
|
|
|
520 |
|
|
* Mon Jun 13 2005 Charlie Brady <charlieb@e-smith.com> |
521 |
|
|
- [0.0.4-16] |
522 |
|
|
- Add Obsoletes header for e-smith-ssl-mailfront. [SF: 1219069] |
523 |
|
|
|
524 |
|
|
* Sun Jun 12 2005 Charlie Brady <charlieb@e-smith.com> |
525 |
|
|
- [0.0.4-15] |
526 |
|
|
- Remove bogus /var/service/qpsmtpd/peers/{0,local} |
527 |
|
|
directories, and fix typo. [SF: 1210727] |
528 |
|
|
|
529 |
|
|
* Tue May 31 2005 Charlie Brady <charlieb@e-smith.com> |
530 |
|
|
- [0.0.4-14] |
531 |
|
|
- Fix location of templates-begin files. [SF: 1210727] |
532 |
|
|
|
533 |
|
|
* Tue May 24 2005 Charlie Brady <charlieb@e-smith.com> |
534 |
|
|
- [0.0.4-13] |
535 |
|
|
- Add "access" default property for qpsmtpd and sqpsmtpd services. |
536 |
|
|
[SF: 1205847] |
537 |
|
|
- Make sure that empty templates-begin files exist in peers/{0,local} |
538 |
|
|
templates directories. |
539 |
|
|
|
540 |
|
|
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
541 |
|
|
- [0.0.4-12] |
542 |
|
|
- Fix up config/relayclients - need a dot after network blocks |
543 |
|
|
|
544 |
|
|
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
545 |
|
|
- [0.0.4-11] |
546 |
|
|
- Also regenerate goodrcptto in {user,pseudonym}-modify, since |
547 |
|
|
details about the account may have changed |
548 |
|
|
|
549 |
|
|
* Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au> |
550 |
|
|
- [0.0.4-10] |
551 |
|
|
- Actually regenerate goodrcptto in the events mentioned in |
552 |
|
|
0.0.3-01 (typo in createlinks) |
553 |
|
|
|
554 |
|
|
* Fri May 06 2005 Charlie Brady <charlieb@e-smith.com> |
555 |
|
|
- [0.0.4-09] |
556 |
|
|
- Add type and status defaults for qpsmtpd and sqpsmtpd services. |
557 |
|
|
|
558 |
|
|
* Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-08 |
559 |
|
|
- Fixed up SMTP Authentication status mismatch |
560 |
|
|
|
561 |
|
|
* Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-07 |
562 |
|
|
- Clean up configuration, using "runenv" file for each service |
563 |
|
|
- Check various properties to determine whether to enable plugins |
564 |
|
|
|
565 |
|
|
* Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-06 |
566 |
|
|
- Move mailpatterns defaults to e-smith-email |
567 |
|
|
|
568 |
|
|
* Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-05 |
569 |
|
|
- New arguments to auth_cvm_unix_local to allow AUTH to be |
570 |
|
|
enabled/disabled for smtp or ssmtp: |
571 |
|
|
enable_smtp no enable_ssmtpd yes |
572 |
|
|
- Checks config db defaults for [s]smtpd{Authentication} |
573 |
|
|
|
574 |
|
|
* Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-04 |
575 |
|
|
- Remove spurious return statement |
576 |
|
|
|
577 |
|
|
* Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-03 |
578 |
|
|
- Fix auth_cvm_unix_local to actually check with CVM |
579 |
|
|
- TODO: auth-cram-md5 and auth-local (?) |
580 |
|
|
|
581 |
|
|
* Sat Apr 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-02 |
582 |
|
|
- Check for relayclient in check_badrcptto_patterns |
583 |
|
|
- Actually check that the user exists in the prototype auth module |
584 |
|
|
|
585 |
|
|
* Sat Apr 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-01 |
586 |
|
|
- Added Provides: e-smith-smtpd to ease migration from e-smith-mailfront |
587 |
|
|
|
588 |
|
|
* Sat Apr 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-04 |
589 |
|
|
- Move badrcpto_patterns into a configuration file |
590 |
|
|
- Updated comment blocks in plugins |
591 |
|
|
- Parameterised a number of qpsmtpd config files |
592 |
|
|
- TODO: Database defaults, finalise parameterisation |
593 |
|
|
|
594 |
|
|
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-03 |
595 |
|
|
- Renamed auth module to auth_cvm_unix_local |
596 |
|
|
|
597 |
|
|
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-02 |
598 |
|
|
- Added auth_cvm-unix-local for AUTH LOGIN and AUTH PLAIN |
599 |
|
|
- TODO: Actually check with CVM - currently uses colon separated |
600 |
|
|
plain text config/flat_auth_pw |
601 |
|
|
|
602 |
|
|
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-01 |
603 |
|
|
- Regenerate goodrcptto in {user,pseudonym}-{create,delete} |
604 |
|
|
- thanks Paul Nesbit |
605 |
|
|
- Split qpsmtpd-plugins-openfusion into separate RPM |
606 |
|
|
- Note: mailer-daemon now works due to change I suggested in |
607 |
|
|
check_goodrcptto: match on full string, then match again on |
608 |
|
|
string with extension stripped - thanks Gavin Carr |
609 |
|
|
- Unset RELAYCLIENT in check_norelay (probably not required) |
610 |
|
|
|
611 |
|
|
* Tue Apr 26 2005 Gordon Rowell <gordonr@gormand.com.au> |
612 |
|
|
- [0.0.2-03] |
613 |
|
|
- Pass correct parameter to check_goodrcptto |
614 |
|
|
- TODO: mailer-daemon is currently being denied due to goodrcptto |
615 |
|
|
extension folding |
616 |
|
|
|
617 |
|
|
* Tue Apr 26 2005 Gordon Rowell <gordonr@gormand.com.au> |
618 |
|
|
- [0.0.2-02] |
619 |
|
|
- Added plugins/check_badrcptto_patterns to check for bang, shriek |
620 |
|
|
and double at paths. |
621 |
|
|
- Added plugins/check_norelay to allow specific hosts to be denied relaying |
622 |
|
|
|
623 |
|
|
* Tue Apr 26 2005 Gordon Rowell <gordonr@gormand.com.au> |
624 |
|
|
- [0.0.2-01] |
625 |
|
|
- Added plugins/virus/patterns_filter, based on Gavin Carr's exe_filter, |
626 |
|
|
but without the dependency on Email::MIME. This is a simple-minded |
627 |
|
|
filter, which doesn't care about MIME boundaries (as per the |
628 |
|
|
mailfront version). |
629 |
|
|
|
630 |
|
|
* Mon Apr 25 2005 Gordon Rowell <gordonr@gormand.com.au> |
631 |
|
|
- [0.0.1-03] |
632 |
|
|
- Fixed path to clamav socket in 80clamdscan (currently unused) |
633 |
|
|
- Parameterised many of the templates |
634 |
|
|
- TODO: Need to parameterise rshbl |
635 |
|
|
- Added a set of qpsmtpd plugins from Gavin Carr of OpenFusion: |
636 |
|
|
http://www.openfusion.com.au/labs/qpsmtpd/ |
637 |
|
|
- TODO: Need norelayclient setting (to deny relay from router) |
638 |
|
|
- TODO: sqpsmtpd needs testing - fails with (maybe just from stunnel client) |
639 |
|
|
"421 See http://smtpd.develooper.com/barelf.html" |
640 |
|
|
|
641 |
|
|
* Thu Apr 21 2005 Gordon Rowell <gordonr@gormand.com.au> |
642 |
|
|
- [0.0.1-02] |
643 |
|
|
- Initial cut of sqpsmtpd |
644 |
|
|
|
645 |
|
|
* Thu Apr 21 2005 Gordon Rowell <gordonr@gormand.com.au> |
646 |
|
|
- [0.0.1-01] |
647 |
|
|
- Initial packaging |
648 |
|
|
|
649 |
|
|
%prep |
650 |
|
|
%setup |
651 |
slords |
1.23 |
%patch1 -p1 |
652 |
snetram |
1.26 |
%patch2 -p1 |
653 |
snetram |
1.28 |
%patch3 -p1 |
654 |
slords |
1.1 |
|
655 |
|
|
%build |
656 |
|
|
perl createlinks |
657 |
|
|
|
658 |
|
|
mkdir -p root/service |
659 |
|
|
mkdir -p root/var/spool/qpsmtpd |
660 |
|
|
|
661 |
|
|
for service in qpsmtpd sqpsmtpd |
662 |
|
|
do |
663 |
|
|
ln -s /var/service/$service root/service/$service |
664 |
|
|
|
665 |
|
|
mkdir -p root/var/service/$service/supervise |
666 |
|
|
touch root/var/service/$service/down |
667 |
|
|
mkdir -p root/var/service/$service/log/supervise |
668 |
|
|
mkdir -p root/var/log/$service |
669 |
|
|
done |
670 |
|
|
|
671 |
|
|
for dir in env config peers ssl config/peers |
672 |
|
|
do |
673 |
|
|
mkdir -p root/var/service/qpsmtpd/$dir |
674 |
|
|
done |
675 |
|
|
|
676 |
|
|
ln -s ../qpsmtpd/config root/var/service/sqpsmtpd/config |
677 |
slords |
1.23 |
ln -s ../qpsmtpd/ssl root/var/service/sqpsmtpd/ssl |
678 |
slords |
1.1 |
|
679 |
|
|
mkdir -p root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local} |
680 |
|
|
touch root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local}/template-begin |
681 |
|
|
touch root/etc/e-smith/templates/var/service/qpsmtpd/config/rhsbl_zones/template-begin |
682 |
|
|
|
683 |
|
|
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
684 |
|
|
mkdir -p $PEERS_CONFIG/0 |
685 |
|
|
mkdir -p $PEERS_CONFIG/local |
686 |
|
|
|
687 |
|
|
DISABLE_LOCAL=" |
688 |
|
|
10check_earlytalker |
689 |
|
|
12count_unrecognized_commands |
690 |
|
|
16require_resolvable_fromhost |
691 |
|
|
20rhsbl |
692 |
|
|
22dnsbl |
693 |
|
|
70spamassassin |
694 |
|
|
" |
695 |
|
|
|
696 |
|
|
for file in $DISABLE_LOCAL |
697 |
|
|
do |
698 |
|
|
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
699 |
|
|
done |
700 |
|
|
|
701 |
slords |
1.6 |
DISABLE_EXTERNAL=" |
702 |
|
|
65disclaimer |
703 |
|
|
" |
704 |
|
|
|
705 |
|
|
for file in $DISABLE_EXTERNAL |
706 |
|
|
do |
707 |
|
|
echo "# $file disabled for external connections" > $PEERS_CONFIG/0/$file |
708 |
|
|
done |
709 |
|
|
|
710 |
slords |
1.1 |
( |
711 |
|
|
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
712 |
|
|
for file in * |
713 |
|
|
do |
714 |
|
|
[ -e ../peers/0/$file ] || |
715 |
|
|
ln -s ../../plugins/$file ../peers/0/$file |
716 |
|
|
[ -e ../peers/local/$file ] || |
717 |
|
|
ln -s ../../plugins/$file ../peers/local/$file |
718 |
|
|
done |
719 |
|
|
) |
720 |
|
|
|
721 |
|
|
%install |
722 |
|
|
rm -rf $RPM_BUILD_ROOT |
723 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
724 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
725 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
726 |
|
|
--dir /var/service/qpsmtpd "attr(1755,root,root)" \ |
727 |
|
|
--file /var/service/qpsmtpd/down "attr(0644,root,root)" \ |
728 |
|
|
--file /var/service/qpsmtpd/run "attr(0755,root,root)" \ |
729 |
|
|
--file /var/service/qpsmtpd/control/1 "attr(0755,root,root)" \ |
730 |
|
|
--dir /var/service/qpsmtpd/supervise "attr(0700,root,root)" \ |
731 |
|
|
--dir /var/service/qpsmtpd/env "attr(0755,root,root)" \ |
732 |
|
|
--file /var/service/qpsmtpd/env/PATH "attr(0644,root,root)" \ |
733 |
|
|
--dir /var/service/qpsmtpd/log "attr(1755,root,root)" \ |
734 |
|
|
--file /var/service/qpsmtpd/log/run "attr(0755,root,root)" \ |
735 |
|
|
--dir /var/service/qpsmtpd/log/supervise "attr(0700,root,root)" \ |
736 |
|
|
--dir /var/log/qpsmtpd "attr(2750,smelog,smelog)" \ |
737 |
|
|
\ |
738 |
|
|
--dir /var/service/sqpsmtpd "attr(1755,root,root)" \ |
739 |
|
|
--file /var/service/sqpsmtpd/down "attr(0644,root,root)" \ |
740 |
|
|
--file /var/service/sqpsmtpd/run "attr(0755,root,root)" \ |
741 |
|
|
--dir /var/service/sqpsmtpd/supervise "attr(0700,root,root)" \ |
742 |
|
|
--dir /var/service/sqpsmtpd/env "attr(0755,root,root)" \ |
743 |
|
|
--file /var/service/sqpsmtpd/env/PATH "attr(0644,root,root)" \ |
744 |
|
|
--dir /var/service/sqpsmtpd/log "attr(1755,root,root)" \ |
745 |
|
|
--file /var/service/sqpsmtpd/log/run "attr(0755,root,root)" \ |
746 |
|
|
--dir /var/service/sqpsmtpd/log/supervise "attr(0700,root,root)" \ |
747 |
|
|
--dir /var/log/sqpsmtpd "attr(2750,smelog,smelog)" \ |
748 |
|
|
\ |
749 |
|
|
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
750 |
|
|
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
751 |
|
|
\ |
752 |
|
|
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
753 |
|
|
> %{name}-%{version}-%{release}-filelist |
754 |
|
|
|
755 |
|
|
%pre |
756 |
|
|
/sbin/e-smith/create-system-user qpsmtpd 453 \ |
757 |
|
|
'qpsmtpd system user' /var/service/qpsmtpd /bin/false |
758 |
|
|
/usr/sbin/groupadd -r clamav 2>/dev/null || : |
759 |
|
|
|
760 |
|
|
TEMPLATES_DIR=/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
761 |
|
|
|
762 |
|
|
[ -L $TEMPLATES_DIR/0 ] && rm -f $TEMPLATES_DIR/0 |
763 |
|
|
[ -L $TEMPLATES_DIR/local ] && rm -f $TEMPLATES_DIR/local |
764 |
|
|
true |
765 |
|
|
|
766 |
|
|
%post |
767 |
|
|
|
768 |
|
|
%clean |
769 |
|
|
rm -rf $RPM_BUILD_ROOT |
770 |
|
|
|
771 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
772 |
|
|
%defattr(-,root,root) |