/[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.29 - (hide annotations) (download)
Sat May 7 06:52:02 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-27_el6_sme
Changes since 1.28: +7 -2 lines
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507]

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

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