/[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.44 - (show annotations) (download)
Wed Dec 16 16:49:35 2020 UTC (3 years, 6 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_7_0-1_el7_sme
Changes since 1.43: +16 -80 lines
Initial import

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

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