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