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