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