/[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.25 - (show annotations) (download)
Fri May 27 06:37:29 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-24_el7_sme
Changes since 1.24: +9 -2 lines
* Fri May 27 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-24.sme
- Create missing directories for DKIM keys [SME: 9496]
- Create missing directory for the DMARC report database [SME: 9206]

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

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