/[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.24 - (hide annotations) (download)
Fri May 6 22:50:10 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
Changes since 1.23: +12 -7 lines
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme
- Add missing patch for DKIM signing [SME: 9506]

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

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