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

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

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


Revision 1.27 - (show annotations) (download)
Fri Jun 17 21:16:30 2016 UTC (8 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-26_el7_sme
Changes since 1.26: +7 -2 lines
* Fri Jun 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-26.sme
- Fix disabling DMARC reporting [SME: 9206]

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

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