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