/[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.47 - (show annotations) (download)
Thu Sep 16 19:02:40 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_7_0-4_el7_sme
Changes since 1.46: +7 -2 lines
* Thu Sep 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-4.sme
- fix tnef2mime FATAL PLUGIN ERROR  [SME: 11648]

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

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