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