/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd.spec
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.21 - (show annotations) (download)
Fri May 6 09:46:48 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-20_el7_sme
Changes since 1.20: +25 -2 lines
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-20.sme
- Enable DMARC checking and reporting [SME: 9206]
- Add helper to publish DKIM/DMARC/SPF policy [SME: 9496]
- Allow DKIM signing of outbound emails [SME: 9496]
- Possibility to reject on SPF failure [SME: 9479]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed