Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3179 → Rev 3180

/alcasar.sh
208,6 → 208,8
fi
mode="update"
fi
else
license
fi
# Free /var (when updating) and test free space
[ -d /var/log/netflow ] && rm -rf /var/log/netflow # remove old porttracker RRD database
2083,7 → 2085,8
$SED "s?^mail.add_x_header =.*?mail.add_x_header = Off?g" /etc/php.d/05_mail.ini
[ -e /etc/postfix/main.cf.orig ] || cp /etc/postfix/main.cf /etc/postfix/main.cf.orig
$SED "s?^inet_protocols =.*?inet_protocols = ipv4?g" /etc/postfix/main.cf
$SED "s?^smtp_tls_security_level =.*?smtp_tls_security_level = encrypt?g" /etc/postfix/main.cf
$SED "s?^smtp_tls_security_level =.*?smtp_tls_security_level = encrypt?g" /etc/postfix/main.cf
$SED "s?^smtpd_banner =.*?smtpd_banner = $myhostname ESMTP?g" /etc/postfix/main.cf
cat << EOT >> /etc/postfix/main.cf
smtputf8_enable = no
smtp_use_tls = yes
2331,7 → 2334,7
exit 0
;;
-i | --install)
for func in license system_testing network_testing
for func in system_testing network_testing
do
header_install
$func