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