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