/[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.16 - (hide annotations) (download)
Fri Apr 22 08:38:15 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-16_el7_sme
Changes since 1.15: +10 -2 lines
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-16.sme
- Use an additional badrcptto file list for external connections so
  local only pseudonymes work as expected [SME: 9460] [SME: 4597]

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

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