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

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

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


Revision 1.33 - (show annotations) (download)
Tue Jul 12 20:07:13 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-31_el6_sme
Changes since 1.32: +7 -2 lines
* Tue Jul 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-31.sme
- Turn SPF and DMARC rejects off by default [SME: 9654]

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

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