/[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.23 - (hide annotations) (download)
Fri May 6 22:12:06 2016 UTC (8 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-24_el6_sme
Changes since 1.22: +30 -2 lines
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme
- Check SPF for inbound emails [SME: 9505]
- Check DKIM for inbound emails [SME: 9504]
- Check DMARC for inbound emails (based on the previous SPF and DKIM checks)
  [SME: 9507]
- Store and send DMARC aggregate reports [SME: 9507]
- Support DKIM signing for outbounb emails [SME: 9506]

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

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