I have two ISPconfig 3 servers on Centos 6.4 and Fedora 15 respectively. I have created a mail gateway using ISPConfig that talks to another ISPConfig install on the Mail Server, i.e. a private mail gateway that talks to a public mail server. Currently all our locally intended mail on the local machine goes first to the public server rather than being routed directly to the local recipient. The public server uses mycompany.com as the email domain, locally I have set a dummy domain called mycompany.net. Except for all mail going out it all works like a charm. Thanks, Alfred
Maybe you need to create an MX entry in ISPConfig (with a lower value than the public MX entry, and with the local un-routeable IP) for the local private mail server you want to reach. Postfix documentation is Greek to me, but one would think this might also be achieved in the transport table.
Try adding mycompany.net to mydestination parameter in the main.cf file from your private gateway. Cheers