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