/[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.17 - (hide annotations) (download)
Fri Apr 22 21:23:33 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-17_el7_sme
Changes since 1.16: +7 -2 lines
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-17.sme
- Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478]

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

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