|
@@ -42,6 +42,10 @@ esac
|
|
|
echo "[ * ] Update /etc/apt/sources.list.d/hestia.list"
|
|
echo "[ * ] Update /etc/apt/sources.list.d/hestia.list"
|
|
|
sed -i "s|deb https://$RHOST/ $codename main|deb [arch=$ARCH] https://$RHOST/ $codename main|g" /etc/apt/sources.list.d/hestia.list
|
|
sed -i "s|deb https://$RHOST/ $codename main|deb [arch=$ARCH] https://$RHOST/ $codename main|g" /etc/apt/sources.list.d/hestia.list
|
|
|
|
|
|
|
|
|
|
+if [ -n "$IMAP_SYSTEM" ]; then
|
|
|
|
|
+ sed -i "s/mail_plugins = \$mail_plugins sieve/mail_plugins = \$mail_plugins quota sieve/g" /etc/dovecot/conf.d/15-lda.conf
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
if [ -n "$MAIL_SYSTEM" ]; then
|
|
if [ -n "$MAIL_SYSTEM" ]; then
|
|
|
echo "[ ! ] Update Exim config"
|
|
echo "[ ! ] Update Exim config"
|
|
|
if [ -f "/etc/exim4/exim4.conf.template" ]; then
|
|
if [ -f "/etc/exim4/exim4.conf.template" ]; then
|