/[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.23 - (hide annotations) (download)
Mon May 16 10:19:41 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-22_el7_sme
Changes since 1.22: +8 -2 lines
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-22.sme
- In qpsmtpd-print-dns set DKIM options after the public key so the string
  will still be splitted correctly [SME: 9496]

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

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