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

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

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


Revision 1.27 - (hide annotations) (download)
Fri May 6 22:55:06 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-25_el6_sme
Changes since 1.26: +3 -1 lines
Update changelog

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

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