/[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.36 - (show annotations) (download)
Mon Feb 27 18:58:29 2017 UTC (7 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-34_el6_sme
Changes since 1.35: +17 -8 lines
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-34.sme
- updated regex for SBList in smeserver-qpsmtpd-2.4.0-change_rbl_sbl_list_separator.patch
- to take into account list using a subdomain [SME: 10116]
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
  by assuming the date is correct and changing the weekday.
  Thu May 11 2005 --> Thu May 05 2005 or Wed May 11 2005 or Thu May 12 2005 or ....
  Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or ....

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

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