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