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