Fix error on writing postfix 'master.conf' file. Synchronise Package indexes befor downloading debian packages.
This commit is contained in:
parent
e87398cdbe
commit
55bc28b403
@ -2342,7 +2342,7 @@ for _pkg in $_needed_packages_clamav ; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [[ -n "$needed_packages_clamav" ]]; then
|
if [[ -n "$needed_packages_clamav" ]]; then
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y install $needed_packages_clamav > /dev/null 2> $tmp_err_msg
|
DEBIAN_FRONTEND=noninteractive apt-get -y install $needed_packages_clamav > $tmp_err_msg 2>&1
|
||||||
if [[ $? -eq 0 ]] ; then
|
if [[ $? -eq 0 ]] ; then
|
||||||
echo_ok
|
echo_ok
|
||||||
else
|
else
|
||||||
@ -3601,6 +3601,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
if $smtps_present && echo "$_line" | grep -i -E "^smtps\s+" > /dev/null 2>&1 ; then
|
if $smtps_present && echo "$_line" | grep -i -E "^smtps\s+" > /dev/null 2>&1 ; then
|
||||||
|
_found=true
|
||||||
cat >> $postfix_master_cf << EOF
|
cat >> $postfix_master_cf << EOF
|
||||||
smtps inet n - y - - smtpd
|
smtps inet n - y - - smtpd
|
||||||
-o content_filter=amavisfeed:[127.0.0.1]:10024
|
-o content_filter=amavisfeed:[127.0.0.1]:10024
|
||||||
|
Loading…
Reference in New Issue
Block a user