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

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

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


Revision 1.9 - (show annotations) (download)
Thu Sep 6 22:27:23 2007 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-1_2_1-45_el4_sme
Changes since 1.8: +8 -1 lines
Update packages

1 Summary: SME Server qpsmtpd module
2 %define name smeserver-qpsmtpd
3 Name: %{name}
4 %define version 1.2.1
5 %define release 45
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Networking/Daemons
10 Source: %{name}-%{version}.tar.gz
11 Patch0: smeserver-qpsmtpd-1.2.1-LiteralIP.patch
12 Patch1: smeserver-qpsmtpd-1.2.1-badrcptto-hosts.patch
13 Patch2: smeserver-qpsmtpd-1.2.1-check_smtp_forward.patch
14 Patch3: smeserver-qpsmtpd-1.2.1-enable_check_smtp_forward.patch
15 Patch4: smeserver-qpsmtpd-1.2.1-bcc_mode.patch
16 Patch5: smeserver-qpsmtpd-1.2.1-peers_plugin.patch
17 Patch6: smeserver-qpsmtpd-1.2.1-peers_plugin.patch2
18 Patch7: smeserver-qpsmtpd-1.2.1-usepeers.patch
19 Patch8: smeserver-qpsmtpd-1.2.1-usepeers.patch2
20 Patch9: smeserver-qpsmtpd-1.2.1-rcpthosts_regenerated.patch
21 Patch10: smeserver-qpsmtpd-1.2.1-mergetnef2mime.patch
22 Patch11: smeserver-qpsmtpd-1.2.1-usepeers.patch3
23 Patch12: smeserver-qpsmtpd-1.2.1-usepeers.patch4
24 Patch13: smeserver-qpsmtpd-1.2.1-control1.patch
25 Patch14: smeserver-qpsmtpd-1.2.1-control1.patch3
26 Patch15: smeserver-qpsmtpd-1.2.1-peersinit.patch
27 Patch16: smeserver-qpsmtpd-1.2.1-rblsbl.patch
28 Patch17: smeserver-qpsmtpd-1.2.1-peersauth.patch
29 Patch18: smeserver-qpsmtpd-1.2.1-peersauth.patch2
30 Patch19: smeserver-qpsmtpd-1.2.1-badmailfrom.patch
31 Patch20: smeserver-qpsmtpd-1.2.1-nowhitelist.patch
32 Patch21: smeserver-qpsmtpd-1.2.1-dkim.patch
33 Patch22: smeserver-qpsmtpd-1.2.1-keeptnef.patch
34 Patch23: smeserver-qpsmtpd-1.2.1-softlimit.patch
35 Patch24: smeserver-qpsmtpd-1.2.1-rcpthost.patch
36 Patch25: smeserver-qpsmtpd-1.2.1-logterse.patch
37 Patch26: smeserver-qpsmtpd-1.2.1-logterse_stats.patch
38 Patch27: smeserver-qpsmtpd-1.2.1-qplogsumm.patch
39 Patch28: smeserver-qpsmtpd-1.2.1-logterse.patch2
40 Patch29: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch
41 Patch30: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch2
42 Patch31: smeserver-qpsmtpd-1.2.1-disclaimer.patch
43 Patch32: smeserver-qpsmtpd-1.2.1-disclaimer.patch2
44 Patch33: smeserver-qpsmtpd-1.2.1-rblsbl.patch2
45 Patch34: smeserver-qpsmtpd-1.2.1-hosts_allow.patch
46 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
47 Requires: qpsmtpd >= 0.40
48 Requires: perl(Mail::DKIM)
49 Requires: perl(Mail::DKIM::DkSignature)
50 Requires: daemontools
51 Requires: qpsmtpd-plugins >= 0.0.1-sme04
52 Requires: ipsvd
53 Requires: e-smith-lib >= 1.16.0-08
54 Obsoletes: e-smith-obtuse-smtpd
55 Obsoletes: e-smith-qmail-smtpd
56 Obsoletes: e-smith-mailfront
57 Obsoletes: e-smith-ssl-mailfront
58 Provides: e-smith-smtpd
59 Obsoletes: e-smith-qpsmtpd
60 Provides: e-smith-qpsmtpd
61 Obsoletes: smeserver-qpsmtpd-tnef2mime
62 Provides: smeserver-qpsmtpd-tnef2mime
63 Requires: e-smith-base >= 4.15.2
64 Requires: perl-Convert-TNEF
65 Requires: perl-IO-stringy
66 Requires: perl-File-MMagic
67 Requires: perl-MIME-tools
68 BuildArchitectures: noarch
69 BuildRequires: e-smith-devtools
70 AutoReqProv: no
71
72 %description
73 SME Server qpsmtpd smtpd module
74
75 %changelog
76 * Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-45
77 - Configure hosts_allow plugin, which use the pre_connection hook
78 and therefore needs to be done before the 'peers' plugin.
79 [SME: 3352]
80
81 * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.1-44
82 - Fix rbl migrate fragment (thanks, Mike McCarn). [SME: 3229]
83
84 * Sun Jun 17 2007 Shad L. Lords <slords@mail.com> 1.2.1-43
85 - Updates for disclaimer plugin [SME: 2648]
86
87 * Sat Jun 16 2007 Shad L. Lords <slords@mail.com> 1.2.1-42
88 - Add disclaimer plugin disabled by default [SME: 2648]
89
90 * Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-41
91 - Update for new features in qpsmtpd v0.40
92
93 * Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-40
94 - Remove conflicts qpsmtpd >= 0.33
95
96 * Sat Jun 9 2007 Shad L. Lords <slords@mail.com> 1.2.1-39
97 - Update to correct version of qplogsumm.pl [SME: 2971]
98
99 * Fri Jun 08 2007 Shad L. Lords <slords@mail.com> 1.2.1-38
100 - Add qplogsumm.pl to package for logging [SME: 2971]
101
102 * Fri Jun 08 2007 Stephen Noble <support@dungog.net> 1.2.1-37
103 - Bump
104
105 * Fri Jun 08 2007 Stephen Noble <support@dungog.net> 1.2.1-36
106 - Cumulative statistics for qpsmtpd using logterse [SME: 2971]
107
108 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
109 - Clean up spec so package can be built by koji/plague
110
111 * Tue Apr 10 2007 Shad L. Lords <slords@mail.com> 1.2.1-35
112 - Add logterse plugin and reduce logging level [SME: 2875]
113
114 * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.2.1-34
115 - Remove templates2events link for rcpthosts [SME: 2716]
116
117 * Wed Mar 07 2007 Shad L. Lords <slords@mail.com> 1.2.1-33
118 - Add db entry for soft memory limits [SME: 2308]
119
120 * Sat Jan 27 2007 Shad L. Lords <slords@mail.com> 1.2.1-32
121 - Keep TNEF attachment if contains special lookout stuff [SME: 2339]
122
123 * Tue Jan 23 2007 Shad L. Lords <slords@mail.com> 1.2.1-31
124 - Add DomainKey and DKIM signing plugin
125
126 * Thu Jan 18 2007 Shad L. Lords <slords@mail.com> 1.2.1-30
127 - Remove whitelist_soft plugin usage [SME: 2322]
128
129 * Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.2.1-29
130 - Rename badmailfrom template to 10sample [SME: 2279]
131
132 * Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.2.1-28
133 - Fix peers plugin to hook new methods [SME: 2091]
134
135 * Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.2.1-27
136 - Make smtp auth use local plugins [SME: 2091]
137
138 * Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.2.1-26
139 - Migrate ordb.org entries away. [SME: 2274]
140 - Clean-up SBL and RBL lists to use be in the correct place and use
141 recognized lists.
142
143 * Thu Dec 28 2006 Shad L. Lords <slords@mail.com> 1.2.1-25
144 - Reverse last change and fix correctly by passing peers/0 to
145 the inital peers plugin [SME: 2167]
146
147 * Tue Dec 26 2006 Shad L. Lords <slords@mail.com> 1.2.1-24
148 - Update peers to exit gracefully if no config passed [SME: 2167]
149
150 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
151 - Update to new release naming. No functional changes.
152 - Make Packager generic
153
154 * Fri Dec 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-23
155 - Re-enable these by default for local connections as they already
156 check for relayclient() for relevant sections: [SME: 1893]
157 30check_badmailfrom
158 33check_badrcptto_patterns
159 34check_badrcptto
160 38check_goodrcptto
161
162 * Fri Dec 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-22
163 - Replace config/peers/0 and config/peers/local template directory
164 symlinks with a tree of symlinks. Disable the following plugins
165 for local connections: [SME: 1893]
166 10check_earlytalker
167 12count_unrecognized_commands
168 16require_resolvable_fromhost
169 20rhsbl
170 22dnsbl
171 30check_badmailfrom
172 33check_badrcptto_patterns
173 34check_badrcptto
174 38check_goodrcptto
175 70spamassassin
176
177 * Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-21
178 - Fix last change to use SIGUSR1, not SIGHUP, and only for qpsmtpd.
179 The peers directories are shared between qpsmtpd and sqpsmtpd [SME: 1893]
180
181 * Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-20
182 - Regenerate peers directories in network-{create,delete} [SME: 1893]
183
184 * Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-19
185 - Update e-smith-lib requires to pick up configure_peers() change [SME: 1893]
186 - Add control/1 script and call from run script to configure peers [SME: 1893]
187
188 * Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-18
189 - Ensure config directory resolves for sqpsmtpd service [SME: 1893]
190
191 * Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-17
192 - Create config/peers directory [SME: 1893]
193
194 * Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-16
195 - Expand config/peers/local in the relevant events [SME: 1893]
196 - TODO: Generate peers links for local networks
197
198 * Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-15
199 - Remove peers/0 templates.metadata file
200 - Create config/peers templates directories
201 - Symlink config/peers/{0,local} to ../plugins
202 - To override local qpsmtpd config, create custom template for
203 /var/service/qpsmtpd/config/peers/local [SME: 1893]
204
205 * Wed Nov 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-14
206 - Merge in smeserver-qpsmtpd-tnef2mime [SME: 2087]
207
208 * Mon Nov 20 2006 Gavin Weight <gweight@gmail.com> 1.2.1-13
209 - Fix rcpthosts to regenerate on ip-change. [SME: 1926]
210
211 * Fri Nov 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-12
212 - Correct last patch (wrong templates.metadata file) [SME: 1893]
213 - Expand config/peers/0 in the relevant events
214
215 * Fri Nov 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-11
216 - Enable Charlie's peers plugin [SME: 1893]
217 Use templates.metadata to provide backwards compatibility with
218 add-on template fragments (at least for the first pass)
219 config/peers/0 is generated from existing config/plugins template
220 config/plugins is now a static file which just loads the peers plugin
221 - TODO: Generate local plugins file(s) with different config
222
223 * Sun Oct 22 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.1-10
224 - Fix RE used to strip octets from IP address in peers plugin. [SME: 1893]
225
226 * Fri Sep 08 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.1-09
227 - Add 'peers' plugin code. [SME: 1893]
228
229 * Thu Aug 24 2006 Filippo Carletti <carletti@mobilia.it> 1.2.1-08
230 - Add option for stealth mail logging. To enable:
231 - config setprop qpsmtpd BccMode bcc [SME: 1876]
232
233 * Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-07
234 - Enable check_smtp_forward if any domains are being forwarded
235 to internal mail servers [SME: 1850]
236
237 * Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-06
238 - Add check_smtp_forward plugin which contacts the internal mail
239 server(s) to determine whether the mail would be accepted. If
240 so, just let it queue normally
241 - TODO: Add configuration to plugins file if required [SME: 1850]
242
243 * Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-05
244 - Revert last change. Enhancing the smtp-forward plugin to handle
245 multiple internal mail servers for different domains is too
246 complex. Let's let qmail do that work. [SME: 710]
247
248 * Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-04
249 - Re-enable smtp-forward plugin requiring version which declines if
250 the connection is from a relayclient, to allow fallthrough to standard
251 qmail-queue plugin.
252 - Add default/failsafe queue/qmail-queue plugin [SME: 710]
253
254 * Thu Jul 27 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-03
255 - Remove hosts from badrcptto - we only handle domains [SME: 1777]
256
257 * Sat Jul 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-02
258 - Allow mail to [$ExternalIP] to support postmaster@[$ExternalIP] [SME: 1675]
259
260 * Sat Jul 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.1-01
261 - Roll tarball with patches to 1.2.0-10
262
263 * Thu Jun 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-10
264 - Change default smtpgreeting to $SystemName.$DomainName [SME: 1325]
265
266 * Thu Jun 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-09
267 - Template /var/service/qpsmtpd/config/smtpgreeting, defaulting to
268 $DomainName. To set a custom greeting, set $smtpd{Greeting} [SME: 1325]
269
270 * Mon Jun 26 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-08
271 - Expand badrcptto on group create/modifiy/delete events [SME: 1632]
272
273 * Wed Jun 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07
274 - Remove configuration for klez_filter scanner as it duplicates
275 work of the pattern_filter [SME: 1620]
276
277 * Tue Jun 20 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-06
278 - Expand goodrcptto on group create/modifiy/delete events [SME: 1616]
279
280 * Mon Jun 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-05
281 - Improve peformance of pattern_filter plugin [SME: 1532]
282 - TODO: Remove obsolete code and comments from that plugin
283
284 * Wed May 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-04
285 - Allow all mail for domains which are being forwarded to internal
286 mail servers [SME: 1253]
287
288 * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-03
289 - Revert back to loglevel 8 from 6. [SME: 503]
290
291 * Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-02
292 - Disable use of smtp-forward plugin (probably temporarily) in
293 DelegateMailServer mode, to avoid mail looping problem. Always
294 use qmail-queue plugin (for now). [SME: 1121]
295
296 * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
297 - Roll stable stream version. [SME: 1016]
298
299 * Fri Feb 17 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.2-04
300 - Exempt local networks from dnsbl lookup. [SME: 830]
301
302 * Fri Feb 10 2006 <gordonr@gormand.com.au> 1.0.2-03
303 - Call queue/smtp-forward to connect to DelegateMailServer
304 instead of queueing locally when DelegateMailServer is set [SME: 710]
305
306 * Mon Feb 6 2006 <charlie_brady@mitel.com> 1.0.2-02
307 - Enable resolvable_fromhost check by default, and add
308 whitelistsenders config for local domains. [SME: 638]
309
310 * Sun Feb 5 2006 <charlie_brady@mitel.com> 1.0.2-01
311 - Roll new tarball. [SME: 651]
312
313 * Sun Feb 5 2006 <charlie_brady@mitel.com> 1.0.1-21
314 - Remove unused patterns.default remnants. Ensure that all
315 templates2expand directories are populated only by createlinks
316 script. [SME: 651]
317
318 * Sat Feb 4 2006 <charlie_brady@mitel.com> 1.0.1-20
319 - Expand badhelo template during ip-change event, and remove
320 bogus expansions /var/qmail/control/badhelo templates. [SME: 651]
321
322 * Fri Feb 3 2006 Shad L. Lords <slords@mail.com> 1.0.1-19
323 - Add missing template-begin file in rhsbl directory [SME: 596]
324
325 * Fri Feb 3 2006 <carletti@mobilia.it> 1.0.1-18
326 - Expand config/relayclients in network-(create|delete) events
327 [SME: 649]
328
329 * Thu Feb 2 2006 <charlie_brady@mitel.com> 1.0.1-17
330 - Add template for invalid_resolvable_fromhost configuration file
331 [SME: 638]
332
333 * Mon Jan 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.0.1-16
334 - Fix warnings during template expansion, if spamassassin and/or clamd
335 is not installed/configured. Remove dependencies on packages which
336 are optional. Ensure that clamav group exists before installation.
337 Remove one redundant template fragment (which consisted of only comments).
338 [SME: 606]
339
340 * Sat Jan 28 2006 Shad L. Lords <slords@mail.com> 1.0.1-15
341 - Add support for rhsbl entries to db [SME: 596]
342
343 * Thu Jan 26 2006 Charlie Brady <charlieb@e-smith.com> 1.0.1-14
344 - Remove remnant mailrules.default templates and template
345 expansions. [SME: 454]
346
347 * Wed Jan 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-13
348 - Add defaults qpsmtpd{Bcc} == disabled and qpsmtpd{BccUser} == maillog
349 - To enable mail logging:
350 - Create maillog user
351 - config setprop qpsmtpd Bcc enabled
352 - signal-event email-update [SME: 13]
353
354 * Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-12
355 - Really reduce default qpsmtpd{LogLevel} to LOGINFO (6) [SME: 503]
356
357 * Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-11
358 - Reduce default qpsmtpd{LogLevel} to LOGINFO (7) [SME: 503]
359
360 * Thu Jan 12 2006 Charlie Brady <charlieb@e-smith.com> 1.0.1-10
361 - Fix goodrcptto and mailrules templates for single domain
362 pseudonym entries. [SME: 368]
363
364 * Thu Oct 13 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-09
365 - Default RequireResolvableFromHost to "no" [SF: 1269382]
366
367 * Thu Oct 13 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-08
368 - SIGHUP [s]qpsmtpd to re-read config in email-update [SF: 1252072]
369
370 * Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-07
371 - And finally, the env directory [SF: 1313800]
372
373 * Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-06
374 - And the config directory [SF: 1313800]
375
376 * Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-05
377 - Need to create ssl directory to allow template expansion [SF: 1313800]
378
379 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-04
380 - And the path to the runenv directory [SF: 1313800]
381
382 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-03
383 - And fix up path to config directory [SF: 1313800]
384
385 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-02
386 - Remove symlinks from sqpsmtpd directory [SF: 1313800]
387
388 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-01
389 - Roll new tarball, including patches to 1.0.0-11
390
391 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
392 - Added missing = to max_size parameter for clamav plugin [SF: 1308976]
393
394 * Thu Oct 6 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-10
395 - Added db defaults for qpsmtpd{LogLevel}=='8' and
396 $qpsmtpd{RequireResolvableFromHost}=='yes' [SF: 1314202]
397
398 * Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-09
399 - Allow mail to root@domain. If you want to block it,
400 db accounts setprop root Visible internal [SF: 1252375]
401
402 * Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-08
403 - And pick correct value from clamav entry: [SF: 1245756]
404 $qpsmtpd{MaxScannerSize} || $clamav{StreamMaxLength} || "25M";
405
406 * Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-07
407 - Configure qpsmtpd{MaxScannerSize}, defaulting to 25MBytes [SF: 1245756]
408
409 * Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-06
410 - Set separate softlimit values for data/stack/locked [SF: 1298123]
411
412 * Thu Sep 22 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-05
413 - Set memory_threshold to 1 so that qpsmtpd writes all mail messages
414 to disk so that scanners can look at them. Default is 10K [SF: 1298343]
415
416 * Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-04
417 - Updated Requires for qpsmtpd to 0.31 [SF: 1231314]
418 - Change paths to match Peter Holtzer's RPMs - /usr/share/qpsmtpd/
419 instead of /usr/lib/qpsmtpd [SF: 1231314]
420 - Updated Requires for plugins to pick up new paths [SF: 1231314]
421 - Remove symlinks from /var/service[s]qpsmtpd since they can
422 now be done with environment or qpsmtpd config variables [SF: 1231314]
423 - Remove plugins auth/cvm_unix_local, check_norelay and
424 check_badrcptto_patterns which are now in the qpsmtpd tarball [SF: 1231314]
425
426 * Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-03
427 - Fix sqpsmtpd script to call sslio with -u and -U args [SF: 1257284]
428
429 * Wed Aug 24 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-02
430 - Configure qpsmtpd{RBLList} with comma separator, but allow
431 either since people are used to colons and we then don't have
432 to do a db migration for beta1 -> beta2 [SF: 1267737]
433
434 * Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au>
435 - [1.0.0-01]
436 - Package renamed to smeserver-qpsmtpd
437
438 * Thu Aug 18 2005 Shad L. Lords <slords@mail.com>
439 - [0.0.4-27sme01]
440 - Change e-smith-clamav to smeserver-clamav
441
442 * Thu Aug 18 2005 Gordon Rowell <gordonr@gormand.com.au>
443 - [0.0.4-27]
444 - Expand goodrcptto in domain-* events [SF: 1257199]
445
446 * Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com>
447 - [0.0.4-26]
448 - Fix uid/gid which sslio wrapper runs as for sqpsmtpd. [SF: 1257284]
449 - Add Requires headers for e-smith-clamav and e-smith-spamassassin.
450
451 * Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com>
452 - [0.0.4-25]
453 - Change name of plugins RPM in Requires: header. [SF: 1242326]
454
455 * Wed Jul 27 2005 Gordon Rowell <gordonr@gormand.com.au>
456 - [0.0.4-24]
457 - Enabled check_basicheaders, requiring a From and Date header.
458 - Configure db default smtpd{MaxDateOffset}==0. Set it to a non-zero
459 value (e.g. 366) to reject mail with silly dates.
460 [SF: 1244977]
461
462 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
463 - [0.0.4-23]
464 - Remove explicit pathnames in db opens. [SF: 1216546 (Shad)]
465
466 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
467 - [0.0.4-22]
468 - Fix metadata OUTPUT_PATH to OUTPUT_FILENAME [SF: 1237193]
469
470 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
471 - [0.0.4-21]
472 - Fix up db default qpsmtpd{tnef2mime} -> smtpd{tnef2mime} so it is
473 actually enabled by default [SF:1227668 (Shad)]
474
475 * Wed Jul 13 2005 Charlie Brady <charlieb@e-smith.com>
476 - [0.0.4-20]
477 - Fix errors in SSL PEM file template expansion [SF: 1237193]
478
479 * Tue Jul 12 2005 Charlie Brady <charlieb@e-smith.com>
480 - [0.0.4-19]
481 - Added Michael Weinberger's smeserver-qpsmtpd-tnef2mime - [SF:1227668]
482 - Added config db defaults to enable plugin
483
484 * Thu Jun 16 2005 Charlie Brady <charlieb@e-smith.com>
485 - [0.0.4-18]
486 - Remove bogus /var/service/qpsmtpd/peers/{0,local}
487 directories (this time for sure, Rocky!) [SF: 1210727]
488
489 * Tue Jun 14 2005 Charlie Brady <charlieb@e-smith.com>
490 - [0.0.4-17]
491 - Small patch from Gordon to fix cvs interaction.
492
493 * Mon Jun 13 2005 Charlie Brady <charlieb@e-smith.com>
494 - [0.0.4-16]
495 - Add Obsoletes header for e-smith-ssl-mailfront. [SF: 1219069]
496
497 * Sun Jun 12 2005 Charlie Brady <charlieb@e-smith.com>
498 - [0.0.4-15]
499 - Remove bogus /var/service/qpsmtpd/peers/{0,local}
500 directories, and fix typo. [SF: 1210727]
501
502 * Tue May 31 2005 Charlie Brady <charlieb@e-smith.com>
503 - [0.0.4-14]
504 - Fix location of templates-begin files. [SF: 1210727]
505
506 * Tue May 24 2005 Charlie Brady <charlieb@e-smith.com>
507 - [0.0.4-13]
508 - Add "access" default property for qpsmtpd and sqpsmtpd services.
509 [SF: 1205847]
510 - Make sure that empty templates-begin files exist in peers/{0,local}
511 templates directories.
512
513 * Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au>
514 - [0.0.4-12]
515 - Fix up config/relayclients - need a dot after network blocks
516
517 * Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au>
518 - [0.0.4-11]
519 - Also regenerate goodrcptto in {user,pseudonym}-modify, since
520 details about the account may have changed
521
522 * Thu May 11 2005 Gordon Rowell <gordonr@gormand.com.au>
523 - [0.0.4-10]
524 - Actually regenerate goodrcptto in the events mentioned in
525 0.0.3-01 (typo in createlinks)
526
527 * Fri May 06 2005 Charlie Brady <charlieb@e-smith.com>
528 - [0.0.4-09]
529 - Add type and status defaults for qpsmtpd and sqpsmtpd services.
530
531 * Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-08
532 - Fixed up SMTP Authentication status mismatch
533
534 * Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-07
535 - Clean up configuration, using "runenv" file for each service
536 - Check various properties to determine whether to enable plugins
537
538 * Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-06
539 - Move mailpatterns defaults to e-smith-email
540
541 * Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-05
542 - New arguments to auth_cvm_unix_local to allow AUTH to be
543 enabled/disabled for smtp or ssmtp:
544 enable_smtp no enable_ssmtpd yes
545 - Checks config db defaults for [s]smtpd{Authentication}
546
547 * Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-04
548 - Remove spurious return statement
549
550 * Wed May 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-03
551 - Fix auth_cvm_unix_local to actually check with CVM
552 - TODO: auth-cram-md5 and auth-local (?)
553
554 * Sat Apr 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-02
555 - Check for relayclient in check_badrcptto_patterns
556 - Actually check that the user exists in the prototype auth module
557
558 * Sat Apr 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.4-01
559 - Added Provides: e-smith-smtpd to ease migration from e-smith-mailfront
560
561 * Sat Apr 30 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-04
562 - Move badrcpto_patterns into a configuration file
563 - Updated comment blocks in plugins
564 - Parameterised a number of qpsmtpd config files
565 - TODO: Database defaults, finalise parameterisation
566
567 * Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-03
568 - Renamed auth module to auth_cvm_unix_local
569
570 * Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-02
571 - Added auth_cvm-unix-local for AUTH LOGIN and AUTH PLAIN
572 - TODO: Actually check with CVM - currently uses colon separated
573 plain text config/flat_auth_pw
574
575 * Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.3-01
576 - Regenerate goodrcptto in {user,pseudonym}-{create,delete}
577 - thanks Paul Nesbit
578 - Split qpsmtpd-plugins-openfusion into separate RPM
579 - Note: mailer-daemon now works due to change I suggested in
580 check_goodrcptto: match on full string, then match again on
581 string with extension stripped - thanks Gavin Carr
582 - Unset RELAYCLIENT in check_norelay (probably not required)
583
584 * Tue Apr 26 2005 Gordon Rowell <gordonr@gormand.com.au>
585 - [0.0.2-03]
586 - Pass correct parameter to check_goodrcptto
587 - TODO: mailer-daemon is currently being denied due to goodrcptto
588 extension folding
589
590 * Tue Apr 26 2005 Gordon Rowell <gordonr@gormand.com.au>
591 - [0.0.2-02]
592 - Added plugins/check_badrcptto_patterns to check for bang, shriek
593 and double at paths.
594 - Added plugins/check_norelay to allow specific hosts to be denied relaying
595
596 * Tue Apr 26 2005 Gordon Rowell <gordonr@gormand.com.au>
597 - [0.0.2-01]
598 - Added plugins/virus/patterns_filter, based on Gavin Carr's exe_filter,
599 but without the dependency on Email::MIME. This is a simple-minded
600 filter, which doesn't care about MIME boundaries (as per the
601 mailfront version).
602
603 * Mon Apr 25 2005 Gordon Rowell <gordonr@gormand.com.au>
604 - [0.0.1-03]
605 - Fixed path to clamav socket in 80clamdscan (currently unused)
606 - Parameterised many of the templates
607 - TODO: Need to parameterise rshbl
608 - Added a set of qpsmtpd plugins from Gavin Carr of OpenFusion:
609 http://www.openfusion.com.au/labs/qpsmtpd/
610 - TODO: Need norelayclient setting (to deny relay from router)
611 - TODO: sqpsmtpd needs testing - fails with (maybe just from stunnel client)
612 "421 See http://smtpd.develooper.com/barelf.html"
613
614 * Thu Apr 21 2005 Gordon Rowell <gordonr@gormand.com.au>
615 - [0.0.1-02]
616 - Initial cut of sqpsmtpd
617
618 * Thu Apr 21 2005 Gordon Rowell <gordonr@gormand.com.au>
619 - [0.0.1-01]
620 - Initial packaging
621
622 %prep
623 %setup
624 %patch0 -p1
625 %patch1 -p1
626 %patch2 -p1
627 %patch3 -p1
628 %patch4 -p1
629 %patch5 -p1
630 %patch6 -p1
631 %patch7 -p1
632 %patch8 -p1
633 %patch9 -p1
634 %patch10 -p1
635 %patch11 -p1
636 %patch12 -p1
637 %patch13 -p1
638 %patch14 -p1
639 %patch15 -p1
640 %patch16 -p1
641 %patch17 -p1
642 %patch18 -p1
643 %patch19 -p1
644 %patch20 -p1
645 %patch21 -p1
646 %patch22 -p1
647 %patch23 -p1
648 %patch24 -p1
649 %patch25 -p1
650 %patch26 -p1
651 %patch27 -p1
652 %patch28 -p1
653 %patch29 -p1
654 %patch30 -p1
655 %patch31 -p1
656 %patch32 -p1
657 %patch33 -p1
658 %patch34 -p1
659
660 %build
661 perl createlinks
662
663 mkdir -p root/service
664 mkdir -p root/var/spool/qpsmtpd
665
666 for service in qpsmtpd sqpsmtpd
667 do
668 ln -s /var/service/$service root/service/$service
669
670 mkdir -p root/var/service/$service/supervise
671 touch root/var/service/$service/down
672 mkdir -p root/var/service/$service/log/supervise
673 mkdir -p root/var/log/$service
674 done
675
676 for dir in env config peers ssl config/peers
677 do
678 mkdir -p root/var/service/qpsmtpd/$dir
679 done
680
681 ln -s ../qpsmtpd/config root/var/service/sqpsmtpd/config
682
683 mkdir -p root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local}
684 touch root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local}/template-begin
685 touch root/etc/e-smith/templates/var/service/qpsmtpd/config/rhsbl_zones/template-begin
686
687 PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers
688 mkdir -p $PEERS_CONFIG/0
689 mkdir -p $PEERS_CONFIG/local
690
691 DISABLE_LOCAL="
692 05auth_cvm_unix_local
693 10check_earlytalker
694 12count_unrecognized_commands
695 16require_resolvable_fromhost
696 20rhsbl
697 22dnsbl
698 70spamassassin
699 "
700
701 for file in $DISABLE_LOCAL
702 do
703 echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file
704 done
705
706 DISABLE_EXTERNAL="
707 65disclaimer
708 "
709
710 for file in $DISABLE_EXTERNAL
711 do
712 echo "# $file disabled for external connections" > $PEERS_CONFIG/0/$file
713 done
714
715 (
716 cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins
717 for file in *
718 do
719 [ -e ../peers/0/$file ] ||
720 ln -s ../../plugins/$file ../peers/0/$file
721 [ -e ../peers/local/$file ] ||
722 ln -s ../../plugins/$file ../peers/local/$file
723 done
724 )
725
726 %install
727 rm -rf $RPM_BUILD_ROOT
728 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
729 rm -f %{name}-%{version}-%{release}-filelist
730 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
731 --dir /var/service/qpsmtpd "attr(1755,root,root)" \
732 --file /var/service/qpsmtpd/down "attr(0644,root,root)" \
733 --file /var/service/qpsmtpd/run "attr(0755,root,root)" \
734 --file /var/service/qpsmtpd/control/1 "attr(0755,root,root)" \
735 --dir /var/service/qpsmtpd/supervise "attr(0700,root,root)" \
736 --dir /var/service/qpsmtpd/env "attr(0755,root,root)" \
737 --file /var/service/qpsmtpd/env/PATH "attr(0644,root,root)" \
738 --dir /var/service/qpsmtpd/log "attr(1755,root,root)" \
739 --file /var/service/qpsmtpd/log/run "attr(0755,root,root)" \
740 --dir /var/service/qpsmtpd/log/supervise "attr(0700,root,root)" \
741 --dir /var/log/qpsmtpd "attr(2750,smelog,smelog)" \
742 \
743 --dir /var/service/sqpsmtpd "attr(1755,root,root)" \
744 --file /var/service/sqpsmtpd/down "attr(0644,root,root)" \
745 --file /var/service/sqpsmtpd/run "attr(0755,root,root)" \
746 --dir /var/service/sqpsmtpd/supervise "attr(0700,root,root)" \
747 --dir /var/service/sqpsmtpd/env "attr(0755,root,root)" \
748 --file /var/service/sqpsmtpd/env/PATH "attr(0644,root,root)" \
749 --dir /var/service/sqpsmtpd/log "attr(1755,root,root)" \
750 --file /var/service/sqpsmtpd/log/run "attr(0755,root,root)" \
751 --dir /var/service/sqpsmtpd/log/supervise "attr(0700,root,root)" \
752 --dir /var/log/sqpsmtpd "attr(2750,smelog,smelog)" \
753 \
754 --file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \
755 --dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \
756 \
757 --file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \
758 > %{name}-%{version}-%{release}-filelist
759
760 %pre
761 /sbin/e-smith/create-system-user qpsmtpd 453 \
762 'qpsmtpd system user' /var/service/qpsmtpd /bin/false
763 /usr/sbin/groupadd -r clamav 2>/dev/null || :
764
765 TEMPLATES_DIR=/etc/e-smith/templates/var/service/qpsmtpd/config/peers
766
767 [ -L $TEMPLATES_DIR/0 ] && rm -f $TEMPLATES_DIR/0
768 [ -L $TEMPLATES_DIR/local ] && rm -f $TEMPLATES_DIR/local
769 true
770
771 %post
772
773 %clean
774 rm -rf $RPM_BUILD_ROOT
775
776 %files -f %{name}-%{version}-%{release}-filelist
777 %defattr(-,root,root)

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