|
6 | 6 | # https://www.hestiacp.com/ |
7 | 7 | # |
8 | 8 | # Currently Supported Versions: |
9 | | -# Debian 10, 11 12 |
| 9 | +# Debian 11 12 |
10 | 10 | # |
11 | 11 | # ======================================================== # |
12 | 12 |
|
@@ -1353,7 +1353,7 @@ if [ "$exim" = 'yes' ]; then |
1353 | 1353 | write_config_value "ANTIVIRUS_SYSTEM" "clamav-daemon" |
1354 | 1354 | fi |
1355 | 1355 | if [ "$spamd" = 'yes' ]; then |
1356 | | - if [ "$release" = '10' ] || [ "$release" = '11' ]; then |
| 1356 | + if [ "$release" = '11' ]; then |
1357 | 1357 | write_config_value "ANTISPAM_SYSTEM" "spamassassin" |
1358 | 1358 | else |
1359 | 1359 | write_config_value "ANTISPAM_SYSTEM" "spamd" |
@@ -1476,7 +1476,7 @@ $HESTIA/bin/v-change-sys-hostname $servername > /dev/null 2>&1 |
1476 | 1476 | # Configuring global OpenSSL options |
1477 | 1477 | echo "[ * ] Configuring OpenSSL to improve TLS performance..." |
1478 | 1478 | tls13_ciphers="TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384" |
1479 | | -if [ "$release" = "10" ] || [ "$release" = "11" ]; then |
| 1479 | +if [ "$release" = "11" ]; then |
1480 | 1480 | sed -i '/^system_default = system_default_sect$/a system_default = hestia_openssl_sect\n\n[hestia_openssl_sect]\nCiphersuites = '"$tls13_ciphers"'\nOptions = PrioritizeChaCha' /etc/ssl/openssl.cnf |
1481 | 1481 | elif [ "$release" = "12" ]; then |
1482 | 1482 | if ! grep -qw "^ssl_conf = ssl_sect$" /etc/ssl/openssl.cnf 2> /dev/null; then |
@@ -1727,11 +1727,6 @@ if [ "$proftpd" = 'yes' ]; then |
1727 | 1727 | cp -f $HESTIA_INSTALL_DIR/proftpd/proftpd.conf /etc/proftpd/ |
1728 | 1728 | cp -f $HESTIA_INSTALL_DIR/proftpd/tls.conf /etc/proftpd/ |
1729 | 1729 |
|
1730 | | - # Disable TLS 1.3 support for ProFTPD versions older than v1.3.7a |
1731 | | - if [ "$release" -eq 10 ]; then |
1732 | | - sed -i 's/TLSProtocol TLSv1.2 TLSv1.3/TLSProtocol TLSv1.2/' /etc/proftpd/tls.conf |
1733 | | - fi |
1734 | | - |
1735 | 1730 | update-rc.d proftpd defaults > /dev/null 2>&1 |
1736 | 1731 | systemctl start proftpd >> $LOG |
1737 | 1732 | check_result $? "proftpd start failed" |
@@ -1983,10 +1978,6 @@ if [ "$exim" = 'yes' ]; then |
1983 | 1978 | sed -i "s/#CLAMD/CLAMD/g" /etc/exim4/exim4.conf.template |
1984 | 1979 | fi |
1985 | 1980 |
|
1986 | | - if [ "$release" = 10 ]; then |
1987 | | - sed -i "/^smtputf8_advertise_hosts =/d" /etc/exim4/exim4.conf.template |
1988 | | - fi |
1989 | | - |
1990 | 1981 | # Generate SRS KEY If not support just created it will get ignored anyway |
1991 | 1982 | srs=$(gen_pass) |
1992 | 1983 | echo $srs > /etc/exim4/srs.conf |
|
2079 | 2070 | if [ "$spamd" = 'yes' ]; then |
2080 | 2071 | echo "[ * ] Configuring SpamAssassin..." |
2081 | 2072 | update-rc.d spamassassin defaults > /dev/null 2>&1 |
2082 | | - if [ "$release" = "10" ] || [ "$release" = "11" ]; then |
| 2073 | + if [ "$release" = "11" ]; then |
2083 | 2074 | update-rc.d spamassassin enable > /dev/null 2>&1 |
2084 | 2075 | systemctl start spamassassin >> $LOG |
2085 | 2076 | check_result $? "spamassassin start failed" |
|
0 commit comments