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

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

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


Revision 1.22 - (hide annotations) (download)
Sat May 7 06:56:27 2016 UTC (8 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-21_el7_sme
Changes since 1.21: +7 -2 lines
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-21.sme
- Fix a syntax error in qpsmtpd-print-dns script [SME: 9206]

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

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