/[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.26 - (hide annotations) (download)
Fri May 6 22:54:11 2016 UTC (8 years, 1 month ago) by vip-ire
Branch: MAIN
Changes since 1.25: +2 -1 lines
Add missing run time dep on perl(DBD::SQLite)

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

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