Преглед изворни кода

Update webmail templates to enable OCSP/SSL stapling

Raphael Schneeberger пре 6 година
родитељ
комит
b08930f4aa
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      install/upgrade/versions/latest.sh

+ 6 - 0
install/upgrade/versions/latest.sh

@@ -70,3 +70,9 @@ if [ ! -z "$FIREWALL_EXTENSION" ]; then
         echo -e "\n\n[recidive]\nenabled  = true\nfilter   = recidive\naction   = hestia[name=HESTIA]\nlogpath  = /var/log/fail2ban.log\nmaxretry = 3\nfindtime = 86400\nbantime  = 864000" >> /etc/fail2ban/jail.local
     fi
 fi
+
+# Update webmail templates to enable OCSP/SSL stapling
+if [ ! -z "$IMAP_SYSTEM" ]; then
+    echo "(*) Enabling OCSP stapling support for webmail services..."
+    $BIN/v-update-mail-templates > /dev/null 2>&1
+fi