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