Force Postfix to exclude one virtual domain
Maybe this is a strange question, but I'm using EHCP as a control panel for simple hosting on my server. In the setup of this it sets postfix to look at all the domains listed in the domains table of the EHCP database as local.
One of my domains has all of their mail managed by Google Apps. With the right MX records this is not a problem except when they try to use contact forms. Postfix looks at it's list of domains, sees that this domain is listed as a virtual domain, and then tries to send mail locally. It never looks for DNS info because it is always looking at the mysql-virtual-domains.cf file which looks up the active domain list for the control panel.
Is there any way to force postfix to not look at one domain as local? Any help would be appreciated.
Tags for this Thread