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

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

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


Revision 1.19 - (hide annotations) (download)
Fri May 6 09:27:09 2016 UTC (8 years, 1 month ago) by vip-ire
Branch: MAIN
Changes since 1.18: +2 -2 lines
Typo in changelog

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

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