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