Skip to content

Commit 6c2eb8c

Browse files
author
Kristan Kenney
committed
Fix path issue in dovecot domain deletion
1 parent ffab67a commit 6c2eb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ del_mail_ssl_config() {
649649
rm -f $HOMEDIR/$user/conf/mail/$domain/ssl/*
650650

651651
# Remove dovecot configuration
652-
rm -f /etc/dovecot/conf.d/domains/mail.$domain.conf
652+
rm -f /etc/dovecot/conf.d/domains/$domain.conf
653653

654654
# Remove SSL vhost configuration
655655
rm -f $HOMEDIR/$user/conf/mail/$domain/*.*ssl.conf

0 commit comments

Comments
 (0)