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