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