Explicitly enabled sm-client statistics
Related: rhbz#890585
This commit is contained in:
parent
d58bf044a1
commit
e82e93f31a
@ -17,7 +17,7 @@
|
|||||||
Summary: A widely used Mail Transport Agent (MTA)
|
Summary: A widely used Mail Transport Agent (MTA)
|
||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.15.2
|
Version: 8.15.2
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
License: Sendmail
|
License: Sendmail
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.sendmail.org/
|
URL: http://www.sendmail.org/
|
||||||
@ -424,6 +424,8 @@ done
|
|||||||
|
|
||||||
touch %{buildroot}%{maildir}/aliasesdb-stamp
|
touch %{buildroot}%{maildir}/aliasesdb-stamp
|
||||||
|
|
||||||
|
touch %{buildroot}%{spooldir}/clientmqueue/sm-client.st
|
||||||
|
|
||||||
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/sendmail
|
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/sendmail
|
||||||
%if 0%{?fedora} < 23
|
%if 0%{?fedora} < 23
|
||||||
install -p -m 755 %{SOURCE9} %{buildroot}%{_initrddir}/sendmail
|
install -p -m 755 %{SOURCE9} %{buildroot}%{_initrddir}/sendmail
|
||||||
@ -556,6 +558,14 @@ exit 0
|
|||||||
%{_libdir}/sasl2/Sendmail.conf ] && mv -f %{_libdir}/sasl2/Sendmail.conf \
|
%{_libdir}/sasl2/Sendmail.conf ] && mv -f %{_libdir}/sasl2/Sendmail.conf \
|
||||||
%{_sysconfdir}/sasl2 2>/dev/null || :
|
%{_sysconfdir}/sasl2 2>/dev/null || :
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Create sm-client.st if it doesn't exist
|
||||||
|
if [ ! -f %{spooldir}/clientmqueue/sm-client.st ]; then
|
||||||
|
touch %{spooldir}/clientmqueue/sm-client.st
|
||||||
|
chown smmsp:smmsp %{spooldir}/clientmqueue/sm-client.st
|
||||||
|
chmod 0660 %{spooldir}/clientmqueue/sm-client.st
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -663,6 +673,8 @@ fi
|
|||||||
%ghost %{maildir}/domaintable.db
|
%ghost %{maildir}/domaintable.db
|
||||||
%ghost %{maildir}/mailertable.db
|
%ghost %{maildir}/mailertable.db
|
||||||
|
|
||||||
|
%ghost %{spooldir}/clientmqueue/sm-client.st
|
||||||
|
|
||||||
%{_unitdir}/sendmail.service
|
%{_unitdir}/sendmail.service
|
||||||
%{_unitdir}/sm-client.service
|
%{_unitdir}/sm-client.service
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/sendmail
|
%config(noreplace) %{_sysconfdir}/sysconfig/sendmail
|
||||||
@ -719,6 +731,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 23 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-15
|
||||||
|
- Explicitly enabled sm-client statistics
|
||||||
|
Related: rhbz#890585
|
||||||
|
|
||||||
* Thu Feb 23 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-14
|
* Thu Feb 23 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-14
|
||||||
- Also removed the systemd restart limit from the sm-client service
|
- Also removed the systemd restart limit from the sm-client service
|
||||||
Related: rhbz#1422771
|
Related: rhbz#1422771
|
||||||
|
Loading…
Reference in New Issue
Block a user