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