Skip to content

Commit 914f355

Browse files
committed
Add upgrade notices
For ClamAV and Exim
1 parent 90f1343 commit 914f355

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install/upgrade/versions/1.4.0.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ if [ "$MAIL_SYSTEM" == "exim4" ]; then
6464
echo ' If you want to use the Hestia smtp relay feature,'
6565
echo ' please review the /etc/exim4/exim4.conf.template'
6666
echo ' file and resolve any conflicts.'
67+
$HESTIA/bin/v-add-user-notification admin 'Manual intervention required to enable SMTP Relay' 'ERROR: Manual intervention required to enable SMTP Relay: <br />Exim only supports one plaintext authenticator. If you want to use the Hestia smtp relay feature, please review the /etc/exim4/exim4.conf.template file and resolve any conflicts.'
6768
else
6869
disable_smtp_relay=false
6970
fi
@@ -181,6 +182,7 @@ fi
181182
# Update ClamAV configuration file
182183
if [ -f "/etc/clamav/clamd.conf" ]; then
183184
cp -f $HESTIA_INSTALL_DIR/clamav/clamd.conf /etc/clamav/
185+
$HESTIA/bin/v-add-user-notification admin 'ClamAV config has been overwritten' 'Warning: If you have manualy changed /etc/clamav/clamd.conf and any changes you made will be lost an backup has been created in the /root/hst_backups folder with the original config. If you have not changed the config file you can ignore this message'
184186
fi
185187

186188
##### COMMANDS FOR V1.5.X

0 commit comments

Comments
 (0)