1 |
# $Id: e-smith-qmail.spec,v 1.1 2016/02/05 21:46:43 stephdl Exp $ |
2 |
|
3 |
Summary: startup scripts for Dan Bernstein's qmail package |
4 |
%define name e-smith-qmail |
5 |
Name: %{name} |
6 |
%define version 2.6.0 |
7 |
%define release 2 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-qmail-2.6.0-smtpd_to_qpsmtpd.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
16 |
BuildArchitectures: noarch |
17 |
Requires: qmail |
18 |
Requires: dot-forward |
19 |
Requires: fastforward |
20 |
Requires: runit |
21 |
Requires: e-smith-email |
22 |
Requires: qmail >= 1.03-17 |
23 |
Provides: e-smith-mta |
24 |
Conflicts: runit < 1.7 |
25 |
Obsoletes: qmail-initscripts |
26 |
Obsoletes: qmail-workaround |
27 |
AutoReqProv: no |
28 |
|
29 |
%changelog |
30 |
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
31 |
- Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478] |
32 |
|
33 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
34 |
- Initial release to sme10 |
35 |
|
36 |
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
37 |
- Simplify qmail concurrency templates [SME: 7750] |
38 |
|
39 |
* Thu May 23 2013 chris burnat <devlist@burnat.com> 2.4.0-5.sme |
40 |
- Modify domain style pseudonym pointing to user with dot in name, by Filippo Carletti [SME: 7614] |
41 |
|
42 |
* Wed May 15 2013 chris burnat <devlist@burnat.com> 2.4.0-4.sme |
43 |
- Reverse change in Template Qmail MaxMessageSize [SME: 7393] |
44 |
|
45 |
* Fri May 03 2013 chris burnat <devlist@burnat.com> 2.4.0-3.sme |
46 |
- Reverse Allow groups with dots [SME 6694] and modify domain style pseudonyms to point to the correct user, by Filippo Carletti [SME: 7572] |
47 |
|
48 |
* Thu Feb 21 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme |
49 |
- Template Qmail MaxMessageSize [SME: 7393] |
50 |
|
51 |
* Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
52 |
- Roll new stream for sme9 |
53 |
|
54 |
* Sun Jan 15 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
55 |
- Allow groups with dots, by Filippo Carletti [SME: 6694] |
56 |
|
57 |
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme |
58 |
- Read number of log files to keep from the DB [SME: 5855] |
59 |
|
60 |
* Sat Sep 05 2009 Gavin Weight <gweight@gmail.com> 2.2.0-4 |
61 |
- SMTPSmartHost template incorrectly uses brackets to avoid MX lookups. [SME: 5456] |
62 |
|
63 |
* Mon May 18 2009 Gavin Weight <gweight@gmail.com> 2.2.0-3 |
64 |
- smtproutes template incorrectly uses brackets to avoid MX lookups. [SME: 5257] |
65 |
|
66 |
* Tue May 12 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2 |
67 |
- Remove qmail-workaround and obsolete it after patch to treat 0.0.0.0 as a |
68 |
local ip [SME: 5171] |
69 |
|
70 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
71 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
72 |
|
73 |
* Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.10.0-16 |
74 |
- Create tcpto lockfile in run script [SME: 3055] |
75 |
|
76 |
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.10.0-15 |
77 |
- Domain catchall Redirection to Account [SME:1922] |
78 |
|
79 |
* Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com> |
80 |
- Apply a code tidyup patch from Gordon. [SME: 871] |
81 |
|
82 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
83 |
- Clean up spec so package can be built by koji/plague |
84 |
|
85 |
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.10.0-13 |
86 |
- Change ownership/perms on /var/qmail/alias directory [SME: 2709] |
87 |
|
88 |
* Thu Feb 15 2007 Charlie Brady <charlie_brady@mitel.com> |
89 |
- Use sv rather than deprecated runsvctrl in ip-up script. [SME: 2486] |
90 |
|
91 |
* Mon Jan 22 2007 Shad L. Lords <slords@mail.com> 1.10.0-11 |
92 |
- Allow admin user to be configured via users panel. [SME: 827] |
93 |
|
94 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
95 |
- Update to new release naming. No functional changes. |
96 |
- Make Packager generic |
97 |
|
98 |
* Fri Aug 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-10 |
99 |
- Force creation of junkmail folder as some users like to delete |
100 |
it [SME: 1130] |
101 |
|
102 |
* Mon Aug 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-09 |
103 |
- Allow optional EveryoneEmail property of user and 'admin' accounts |
104 |
If set to 'no', do not include this user in the shared/everyone |
105 |
email alias [SME: 1842] |
106 |
|
107 |
* Thu Aug 3 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-08 |
108 |
- Allow optional $smtpd{HeloHost} value for configuring HELO host, |
109 |
defaulting to $DomainName [SME: 1790] |
110 |
|
111 |
* Thu Jun 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-07 |
112 |
- Default qmail{MaxMessageSize} to 15,000,000 bytes [SME: 1624] |
113 |
|
114 |
* Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-06 |
115 |
- Bump version only [SME: 1415] |
116 |
|
117 |
* Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-05sme01 |
118 |
- Allow optional MailServer property of domains db records and |
119 |
deliver mail in this order of preference: |
120 |
- As per the MailServer property of the domain |
121 |
- $DelegateMailServer |
122 |
- localhost (i.e. locally) |
123 |
NOTE: |
124 |
- If DelegateMailServer is not set, the users must exist on the |
125 |
gateway or mail will be rejected |
126 |
- If DelegateMailServer is set, all mail for the domain will be |
127 |
forwarded to the relevant internal mail server [SME: 1253] |
128 |
|
129 |
* Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-04sme01 |
130 |
- Remove virtualdomains entries for hosts db entries. We only |
131 |
handle mail for domains without customisation [SME: 1415] |
132 |
|
133 |
* Sat Apr 8 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-03 |
134 |
- Update group .qmail files when deleting/modifying users. [SME: 1200] |
135 |
|
136 |
* Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02 |
137 |
- Use shared library to block 0.0.0.0 MX mail loops. [SME: 1116] |
138 |
|
139 |
* Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-01 |
140 |
- Roll stable stream version. [SME: 1016] |
141 |
|
142 |
* Fri Mar 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.9.1-05 |
143 |
- Add ~alias/.qmail-shared-default symlink. [SME: 764] |
144 |
|
145 |
* Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-04 |
146 |
- Fix migration when AdminEmail is not set. [SME: 818] |
147 |
|
148 |
* Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-03 |
149 |
- Use standard user .qmail template for admin user. Migrate |
150 |
AdminEmail setting to $admin{ForwardAddress}. [SME: 818] |
151 |
|
152 |
* Tue Jan 24 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-02 |
153 |
- Fix duplicate symlink creation attempt in bootstrap-console-save |
154 |
directory (during RPM build). [SME: 555] |
155 |
|
156 |
* Wed Jan 11 2006 Gordon Rowell <gordonr@gormand.com.au> 1.9.1-01 |
157 |
- Roll patches to 1.9.0-16 |
158 |
- Change ~alias/.qmail{default,localdelivery-default,shared} into |
159 |
directory templates [SME: 440] |
160 |
|
161 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-16 |
162 |
- Bump release number only |
163 |
|
164 |
* Tue Nov 22 2005 Charlie Brady <charlieb@e-smith.com> |
165 |
- [1.9.0-15] |
166 |
- Fix broken symlink in group-delete event. Delete -default .qmail file |
167 |
when deleting group. [SF: 1363973] |
168 |
|
169 |
* Tue Nov 1 2005 Charlie Brady <charlieb@e-smith.com> |
170 |
- [1.9.0-14] |
171 |
- Improve /var/qmail/users/assign/70pseudonyms error handling. [SF: 1337029] |
172 |
- Fix error text from 60users template fragment. [SF: 1345206] |
173 |
|
174 |
* Fri Oct 21 2005 Gordon Rowell <gordonr@e-smith.com> |
175 |
- [1.9.0-13] |
176 |
- Add quotes around 'Recipient unknown' when calling bouncesaying. |
177 |
Otherwise we're trying to call a program called 'unknown' [SF: 1334002] |
178 |
|
179 |
* Wed Oct 19 2005 Charlie Brady <charlieb@e-smith.com> |
180 |
- [1.9.0-12] |
181 |
- Ensure failsafe .qmail file if EmailForward property is not set. |
182 |
[SF: 1330452] |
183 |
|
184 |
* Fri Oct 7 2005 Charlie Brady <charlieb@e-smith.com> |
185 |
- [1.9.0-11] |
186 |
- Expand virtualdomains in pseudonym-* events. Replace use of control/1 |
187 |
by generic actions, plus qmail-newu symlinked into event directories. |
188 |
[SF: 1311349] |
189 |
|
190 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au> |
191 |
- [1.9.0-10] |
192 |
- Split up templates-user/.qmail into fragments which return |
193 |
one or zero lines. It's much cleaner and helps with add-ons. |
194 |
Move .qmail/20Forward -> 70Forward to leave more room for |
195 |
add-ons [SF: 1252336] |
196 |
- Minor fixups - thanks Stephen Noble [SF: 1252336] |
197 |
- TODO: Remove the 10Filter stuff and migrate |
198 |
qmail{DeliveryInstruction} and qmail{DeliveryType} |
199 |
|
200 |
* Mon Sep 19 2005 Gordon Rowell <gordonr@e-smith.com> |
201 |
- [1.9.0-09] |
202 |
- Correct /var/qmail/users/assign/50system fragment so that |
203 |
mail for system accounts is delivered to admin [SF: 1284311] |
204 |
|
205 |
* Tue Sep 13 2005 Gordon Rowell <gordonr@gormand.com.au> |
206 |
- [1.9.0-08] |
207 |
- Add extension address handling for pseudonyms and groups. |
208 |
[SF: 1286823] |
209 |
|
210 |
* Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com> |
211 |
- [1.9.0-07] |
212 |
- Make correct /service symlink, so that a runit finds the |
213 |
run files. [SF: 1264668] |
214 |
|
215 |
* Wed Aug 10 2005 Shad Lords <slords@mail.com> |
216 |
- [1.9.0-06] |
217 |
- Add empty template-begin header for users/assign |
218 |
- Add requires for e-smith-email |
219 |
- Add provides e-smith-mta |
220 |
|
221 |
* Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com> |
222 |
- [1.9.0-05] |
223 |
- Add in all qmail specific code from e-smith-email. [SF: 1255261] |
224 |
|
225 |
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
226 |
- [1.9.0-04] |
227 |
- Remove dangling conf-migrate-* symlink [charlieb MN00062545] |
228 |
|
229 |
* Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com> |
230 |
- [1.9.0-03] |
231 |
- Remove no longer needed conf-migrate-* action [charlieb MN00062545] |
232 |
- Replace deprecated Copyright header with License header. |
233 |
|
234 |
* Thu Feb 12 2004 Michael Soulier <msoulier@e-smith.com> |
235 |
- [1.9.0-02] |
236 |
- Updating with esmith::Build::CreateLinks, and the new genfilelist options. |
237 |
- Yanked migrate-qmail-logfiles, as it was causing problems. |
238 |
[msoulier dpar-20522] |
239 |
|
240 |
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
241 |
- [1.9.0-01] |
242 |
- rolling to dev - 1.9.0 |
243 |
|
244 |
* Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com> |
245 |
- [1.8.0-02] |
246 |
- Adding K* init symlinks in runlevels 0, 1 and 6. [msoulier 9761] |
247 |
|
248 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
249 |
- [1.8.0-01] |
250 |
- Changing version to stable stream number - 1.8.0 |
251 |
|
252 |
* Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com> |
253 |
- [1.7.0-01] |
254 |
- Rolling development stream version to 1.7.0 |
255 |
|
256 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
257 |
- [1.6.0-01] |
258 |
- Roll to maintained version number to 1.6.0 |
259 |
|
260 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
261 |
- [1.6.0-01] |
262 |
- Roll to maintained version number to 1.6.0 |
263 |
|
264 |
* Wed Aug 21 2002 Charlie Brady <charlieb@e-smith.com> |
265 |
- [1.5.1-01] |
266 |
- Remove bogus e-smith-base dependency, which shows as an unmet |
267 |
dependency on our workstations. |
268 |
- Add rc7.d symlink [charlieb 4458] |
269 |
|
270 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
271 |
- [1.5.0-01] |
272 |
- Changing version to development stream number to 1.5.0 |
273 |
|
274 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
275 |
- [1.4.0-01] |
276 |
- Changing version to maintained stream number to 1.4.0 |
277 |
|
278 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
279 |
- [1.3.9-01] |
280 |
- RPM rebuild forced by cvsroot2rpm |
281 |
|
282 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
283 |
- [1.3.8-01] |
284 |
- testing co2rpm --force |
285 |
|
286 |
* Thu May 23 2002 Charlie Brady <charlieb@e-smith.com> |
287 |
- [1.3.7-01] |
288 |
- Remove world read and execute permission from qmail log directory. |
289 |
|
290 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
291 |
- [1.3.6-01] |
292 |
- /supervise/qmail -> /service/qmail [gordonr 3044] |
293 |
|
294 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
295 |
- [1.3.5-01] |
296 |
- Added /bin, /usr/bin and /usr/local/bin to qmail's path [gordonr 3044] |
297 |
|
298 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
299 |
- [1.3.4-01] |
300 |
- And create /var/log/qmail [gordonr 3044] |
301 |
|
302 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
303 |
- [1.3.3-01] |
304 |
- And create directory for pipes to be written to [gordonr 3044] |
305 |
|
306 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
307 |
- [1.3.2-01] |
308 |
- Created pipes, symlinks and empty files in SPEC file [gordonr 3044] |
309 |
|
310 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
311 |
- [1.3.1-01] |
312 |
- Initial CVS import |
313 |
|
314 |
* Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com> |
315 |
- [1.3.0-01] |
316 |
- rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-02. |
317 |
|
318 |
* Fri Aug 17 2001 gordonr |
319 |
- [1.2.0-02] |
320 |
- Autorebuild by rebuildRPM |
321 |
|
322 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
323 |
- [1.2.0-01] |
324 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-04. |
325 |
|
326 |
* Tue May 1 2001 Peter Samuel <peters@e-smith.com> |
327 |
- [1.1.0-04] |
328 |
- added /var/log/qmail to filelist |
329 |
|
330 |
* Tue May 1 2001 Peter Samuel <peters@e-smith.com> |
331 |
- [1.1.0-03] |
332 |
- added migrate-qmail-logfiles action to post-upgrade |
333 |
|
334 |
* Mon Apr 30 2001 Peter Samuel <peters@e-smith.com> |
335 |
- [1.1.0-02] |
336 |
- added conf-migrate-qmail-variables actions to migrate qmail.init |
337 |
configuration variable to qmail |
338 |
- added e-smith header to files |
339 |
|
340 |
* Mon Apr 30 2001 Peter Samuel <peters@e-smith.com> |
341 |
- [1.1.0-01] |
342 |
- initial release |
343 |
|
344 |
%description |
345 |
Startup scripts for Dan Bernstein's qmail package. |
346 |
|
347 |
%prep |
348 |
%setup |
349 |
%patch0 -p1 |
350 |
|
351 |
%build |
352 |
perl createlinks |
353 |
|
354 |
%install |
355 |
rm -rf $RPM_BUILD_ROOT |
356 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
357 |
rm -f %{name}-%{version}-%{release}-filelist |
358 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
359 |
--dir '/var/service/qmail' 'attr(1755,root,root)' \ |
360 |
--file '/var/service/qmail/down' 'attr(0644,root,root)' \ |
361 |
--file '/var/service/qmail/run' 'attr(0755,root,root)' \ |
362 |
--file '/var/service/qmail/control/1' 'attr(0750,root,root)' \ |
363 |
--dir '/var/service/qmail/supervise' 'attr(0700,root,root)' \ |
364 |
--dir '/var/service/qmail/log' 'attr(0755,root,root)' \ |
365 |
--file '/var/service/qmail/log/run' 'attr(0755,root,root)' \ |
366 |
--dir '/var/service/qmail/log/supervise' 'attr(0700,root,root)' \ |
367 |
--dir '/var/log/qmail' 'attr(2750,qmaill,nofiles)' \ |
368 |
--dir '/var/qmail/alias' 'attr(2755,alias,qmail)' \ |
369 |
> %{name}-%{version}-%{release}-filelist |
370 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
371 |
|
372 |
%clean |
373 |
rm -rf $RPM_BUILD_ROOT |
374 |
|
375 |
%pre |
376 |
%preun |
377 |
%post |
378 |
%postun |
379 |
|
380 |
%files -f %{name}-%{version}-%{release}-filelist |
381 |
%defattr(-,root,root) |