ISPConfig creates virtual domain even when the mail server is external
We have a problem when we set a site to have an external mail server. The /etc/postfix/local-host-names file still has the domain listed as virtual. This prevents mail from the ispconfig server from reaching the intended recipients as it erroneously attempts to deliver the mail locally.
I have deleted the domains from the file local-host-names but whenver it is created these domains are re-inserted. Originally these site were set up with a local mail server and I changed the mx record, set the mail server to external and deleted any email user accounts. It seems to be a bug in that ispconfig does not remove the virtual domain from postfix.