Skip to content

Commit 7508add

Browse files
authored
Merge pull request hestiacp#484 from hestiacp/bugfix/webmail
OCSP / Webmail - Refresh templates during upgrade
2 parents 0e2c29a + 4a7fc85 commit 7508add

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/upgrade/versions/latest.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,10 @@ if [ ! -z "$FIREWALL_EXTENSION" ]; then
6969
if ! cat /etc/fail2ban/jail.local | grep -q "recidive"; then
7070
echo -e "\n\n[recidive]\nenabled = true\naction = hestia[name=RECIDIVE]\nmaxretry = 3\nfindtime = 86400\nbantime = 864000" >> /etc/fail2ban/jail.local
7171
fi
72+
fi
73+
74+
# Update webmail templates to enable OCSP/SSL stapling
75+
if [ ! -z "$IMAP_SYSTEM" ]; then
76+
echo "(*) Enabling OCSP stapling support for webmail services..."
77+
$BIN/v-update-mail-templates > /dev/null 2>&1
7278
fi

0 commit comments

Comments
 (0)