Skip to content

Commit 86d6aa1

Browse files
committed
Fix error: Error: IMAP_SYSTEM is not enabled
On Exim only domains
1 parent 92c4c05 commit 86d6aa1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/v-delete-mail-domain

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ fi
7575

7676
# Delete webmail configuration if it exists
7777
if [ ! -z "$WEB_SYSTEM" ] || [ ! -z "$PROXY_SYSTEM" ]; then
78-
$BIN/v-delete-mail-domain-webmail $user $domain 'yes'
78+
if [ ! -z "$IMAP_SYSTEM" ]; then
79+
$BIN/v-delete-mail-domain-webmail $user $domain 'yes'
80+
fi
7981
fi
8082

8183
#----------------------------------------------------------#

0 commit comments

Comments
 (0)