Skip to content

Commit ce5093a

Browse files
committed
hestiacp#1886 Fix bug after rebuilding mail with Exim4
1 parent 2b1ba7f commit ce5093a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ rebuild_mail_domain_conf() {
580580

581581
# Removing configuration files if domain is suspended
582582
if [ "$SUSPENDED" = 'yes' ]; then
583-
rm -f /etc/exim/domains/$domain_idn
583+
rm -f /etc/$MAIL_SYSTEM/domains/$domain_idn
584584
rm -f /etc/dovecot/conf.d/domains/$domain_idn.conf
585585
fi
586586

0 commit comments

Comments
 (0)