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