/[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.29 - (show annotations) (download)
Tue Jul 12 20:15:33 2016 UTC (7 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-27_el7_sme
Changes since 1.28: +2 -2 lines
Fix wrong bug ref

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

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