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