/[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.20 - (hide annotations) (download)
Fri May 6 09:30:19 2016 UTC (8 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-19_el7_sme
Changes since 1.19: +7 -2 lines
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-19.sme
- Enable inbound dkim checking (without reject) [SME: 9480]

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

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