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