Deleting virtual server doesn't update /etc/dovecot/dovecot.conf

1 post / 0 new
#1 Sat, 03/03/2018 - 11:06
c_prompt

Deleting virtual server doesn't update /etc/dovecot/dovecot.conf

Debian Linux 9, Webmin 1.872, Virtualmin 6.02-3, Dovecot IMAP/POP3 Server 2.2.27

Deleted a virtual server today and dovecot stopped working with an error referring me to /etc/dovecot/dovecot.conf. It appears the file didn't get updated when I deleted the sub-domain, instead leaving in the following:

local_name www.deleted_sub_domain {
  ssl_cert = </home/primary_website/domains/deleted_sub_domain/ssl.cert
  ssl_key = </home/primary_website/domains/deleted_sub_domain/ssl.key
}

It obviously choked because it couldn't find the SSL files. I'm assuming this is a bug. As an aside, before deleting the sub-domain, I had unchecked all enabled features in Edit Virtual Server but not sure if that had anything to do with the problem.