7 |
%define name qmail |
%define name qmail |
8 |
Name: %{name} |
Name: %{name} |
9 |
%define version 1.03 |
%define version 1.03 |
10 |
%define release 15 |
%define release 16 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
#Author: Daniel J. Bernstein |
#Author: Daniel J. Bernstein |
71 |
transparently by your current UAs. |
transparently by your current UAs. |
72 |
|
|
73 |
%changelog |
%changelog |
74 |
|
* Mon Mar 31 2009 Shad L. Lords <slords@mail.com> 1.03-16 |
75 |
|
- Create tcpto lockfile in post script [SME: 3055] |
76 |
|
|
77 |
* Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.03-15 |
* Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.03-15 |
78 |
- Increase the buffer size for DNS responses. Patch is from |
- Increase the buffer size for DNS responses. Patch is from |
79 |
http://www.ckdhr.com./ckd/qmail-103.patch [SME: 3827] |
http://www.ckdhr.com./ckd/qmail-103.patch [SME: 3827] |
285 |
done |
done |
286 |
|
|
287 |
mkfifo $RPM_BUILD_ROOT/var/qmail/queue/lock/trigger |
mkfifo $RPM_BUILD_ROOT/var/qmail/queue/lock/trigger |
|
dd bs=1024 count=1 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/tcpto |
|
288 |
dd bs=1024 count=0 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/sendmutex |
dd bs=1024 count=0 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/sendmutex |
289 |
|
|
290 |
# Create the relative installation directories for the symlinks. |
# Create the relative installation directories for the symlinks. |
351 |
user_check qmailr $qmailr $qmail /var/qmail /bin/false |
user_check qmailr $qmailr $qmail /var/qmail /bin/false |
352 |
user_check qmails $qmails $qmail /var/qmail /bin/false |
user_check qmails $qmails $qmail /var/qmail /bin/false |
353 |
|
|
354 |
|
%post |
355 |
|
dd bs=1024 count=1 if=/dev/zero of=$RPM_BUILD_ROOT/var/qmail/queue/lock/tcpto &> /dev/null |
356 |
|
chown $qmailr:$qmail /var/qmail/queue/lock/tcpto &> /dev/null |
357 |
|
chmod 644 /var/qmail/queue/lock/tcpto &> /dev/null |
358 |
|
exit 0 |
359 |
|
|
360 |
%clean |
%clean |
361 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
658 |
%attr(644,root,qmail) /var/qmail/man/man8/qmail-qmtpd.8 |
%attr(644,root,qmail) /var/qmail/man/man8/qmail-qmtpd.8 |
659 |
%attr(644,root,qmail) /var/qmail/man/man8/qmail-smtpd.8 |
%attr(644,root,qmail) /var/qmail/man/man8/qmail-smtpd.8 |
660 |
%attr(644,root,qmail) /var/qmail/man/man8/qmail-command.8 |
%attr(644,root,qmail) /var/qmail/man/man8/qmail-command.8 |
|
%attr(644,qmailr,qmail) /var/qmail/queue/lock/tcpto |
|
661 |
%attr(600,qmails,qmail) /var/qmail/queue/lock/sendmutex |
%attr(600,qmails,qmail) /var/qmail/queue/lock/sendmutex |
662 |
%attr(622,qmails,qmail) /var/qmail/queue/lock/trigger |
%attr(622,qmails,qmail) /var/qmail/queue/lock/trigger |
663 |
%attr(777,root,root) /usr/lib/sendmail |
%attr(777,root,root) /usr/lib/sendmail |