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