File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 10311031# Mail stack
10321032if [ " $exim " = ' yes' ]; then
10331033 echo " MAIL_SYSTEM='exim4'" >> $HESTIA /conf/hestia.conf
1034- echo " WEBMAIL_ALIAS='webmail'" >> $HESTIA /conf/hestia.conf
10351034 if [ " $clamd " = ' yes' ]; then
10361035 echo " ANTIVIRUS_SYSTEM='clamav-daemon'" >> $HESTIA /conf/hestia.conf
10371036 fi
@@ -1553,6 +1552,16 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
15531552 fi
15541553 fi
15551554 fi
1555+ # Configure webmail alias
1556+ echo " WEBMAIL_ALIAS='webmail'" >> $HESTIA /conf/hestia.conf
1557+
1558+ # Restart services
1559+ if [ " $apache " = ' yes' ]; then
1560+ service apache2 restart
1561+ fi
1562+ if [ " $nginx " = ' yes' ]; then
1563+ service nginx restart
1564+ fi
15561565fi
15571566
15581567
Original file line number Diff line number Diff line change @@ -1483,7 +1483,12 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
14831483 sed -i " s/localhost/$servername /g" /etc/roundcube/plugins/password/config.inc.php
14841484 mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
14851485
1486+ # Configure webmail alias
1487+ echo " WEBMAIL_ALIAS='webmail'" >> $HESTIA /conf/hestia.conf
1488+
14861489 phpenmod mcrypt > /dev/null 2>&1
1490+
1491+ # Restart services
14871492 if [ " $apache " = ' yes' ]; then
14881493 service apache2 restart
14891494 fi
You can’t perform that action at this time.
0 commit comments