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