!4 fix bug about print error message in install exim-clamav and exim-greylist
From: @Tom_zc Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e6f9180926
@ -4,7 +4,7 @@
|
|||||||
Summary: The exim mail transfer agent
|
Summary: The exim mail transfer agent
|
||||||
Name: exim
|
Name: exim
|
||||||
Version: 4.96
|
Version: 4.96
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: https://www.exim.org/
|
Url: https://www.exim.org/
|
||||||
|
|
||||||
@ -365,7 +365,7 @@ fi
|
|||||||
%post greylist
|
%post greylist
|
||||||
if [ ! -r %{_var}/spool/exim/db/greylist.db ]; then
|
if [ ! -r %{_var}/spool/exim/db/greylist.db ]; then
|
||||||
sqlite3 %{_var}/spool/exim/db/greylist.db < %{_sysconfdir}/exim/mk-greylist-db.sql
|
sqlite3 %{_var}/spool/exim/db/greylist.db < %{_sysconfdir}/exim/mk-greylist-db.sql
|
||||||
chown exim.exim %{_var}/spool/exim/db/greylist.db
|
chown exim:exim %{_var}/spool/exim/db/greylist.db
|
||||||
chmod 0660 %{_var}/spool/exim/db/greylist.db
|
chmod 0660 %{_var}/spool/exim/db/greylist.db
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -446,7 +446,7 @@ fi
|
|||||||
/bin/mkdir -pm 0750 %{_var}/run/clamd.exim
|
/bin/mkdir -pm 0750 %{_var}/run/clamd.exim
|
||||||
/bin/chown exim:exim %{_var}/run/clamd.exim
|
/bin/chown exim:exim %{_var}/run/clamd.exim
|
||||||
/bin/touch %{_var}/log/clamd.exim
|
/bin/touch %{_var}/log/clamd.exim
|
||||||
/bin/chown exim.exim %{_var}/log/clamd.exim
|
/bin/chown exim:exim %{_var}/log/clamd.exim
|
||||||
/sbin/restorecon %{_var}/log/clamd.exim
|
/sbin/restorecon %{_var}/log/clamd.exim
|
||||||
if [ $1 -eq 1 ] ; then
|
if [ $1 -eq 1 ] ; then
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
@ -482,6 +482,9 @@ fi
|
|||||||
%{_sysconfdir}/cron.daily/greylist-tidy.sh
|
%{_sysconfdir}/cron.daily/greylist-tidy.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 29 2023 zhuchao <tom_toworld@163.com> - 4.96-3
|
||||||
|
- DESC:fix bug about print error message in install exim-clamav and exim-greylist
|
||||||
|
|
||||||
* Thur Feb 16 2023 zhuchao <tom_toworld@163.com> - 4.96-2
|
* Thur Feb 16 2023 zhuchao <tom_toworld@163.com> - 4.96-2
|
||||||
- DESC:add build requirement init
|
- DESC:add build requirement init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user