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