Detect if Dovecot IMAP server is specified to be installed instead of checking against Exim.
@@ -1503,7 +1503,7 @@ fi
# Configure Roundcube #
#----------------------------------------------------------#
-if [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
+if [ "$dovecot" = 'yes' ] && [ "$mysql" = 'yes' ]; then
if [ "$apache" = 'yes' ]; then
cp -f $hestiacp/roundcube/apache.conf /etc/roundcube/
ln -s /etc/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf
@@ -1457,7 +1457,7 @@ fi