use setuidgid and multilog from /usr/bin [SME: 12566]

This commit is contained in:
Trevor Batley 2024-03-30 18:28:36 +11:00
parent 6d496a39e6
commit 4a07442755
3 changed files with 10 additions and 7 deletions

View File

@ -30,14 +30,14 @@ fi
if [ $status = "enabled" ]; then
exec \
/usr/local/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \
/usr/bin/setuidgid smelog \
/usr/bin/multilog t s5000000 \
n${num:-10} \
!/usr/local/bin/qplogsumm.pl /var/log/qpsmtpd
else
exec \
/usr/local/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \
/usr/bin/setuidgid smelog \
/usr/bin/multilog t s5000000 \
n${num:-10} \
/var/log/qpsmtpd
fi

View File

@ -24,7 +24,7 @@
num=`/sbin/e-smith/config getprop sqpsmtpd KeepLogFiles`
exec \
/usr/local/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \
/usr/bin/setuidgid smelog \
/usr/bin/multilog t s5000000 \
n${num:-10} \
/var/log/sqpsmtpd

View File

@ -4,7 +4,7 @@ Summary: SME Server qpsmtpd module
%define name smeserver-qpsmtpd
Name: %{name}
%define version 11.0.0
%define release 3
%define release 4
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -47,6 +47,9 @@ AutoReqProv: no
SME Server qpsmtpd smtpd module
%changelog
* Sat Mar 30 2024 Trevor Batley <trevor@batley.id.au> 11.0.0-4.sme
- use setuidgid and multilog from /usr/bin [SME: 12566]
* Sat Mar 23 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-3.sme
- fix missing provides smeserver-smtpd [SME: 12521]