Browse Source

Enhance webmail security

Alexandros Ioannides 6 years ago
parent
commit
5d1536e1fc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      install/upgrade/versions/1.0.2.sh

+ 3 - 0
install/upgrade/versions/1.0.2.sh

@@ -63,3 +63,6 @@ if [ ! -z "$IMAP_SYSTEM" ]; then
     echo "(*) Enabling OCSP stapling support for webmail services..."
     $BIN/v-update-mail-templates > /dev/null 2>&1
 fi 
+
+# Enhance webmail security
+sed -i "s/config|temp|logs/README.md|config|temp|logs|bin|SQL|INSTALL|LICENSE|CHANGELOG|UPGRADING/g" /etc/nginx/conf.d/webmail.inc