Hmm I'm stuck here! I've got a domain (lets say domain foo) with the DNS on server "gold" In the DNS on server "gold" I have two A records. One pointing to www (server gold IP), and one to du1 (server silver IP) The MX record for the domain foo on server "gold" is pointing to server "du1". No users (exept the admin for domain foo) exist on server "gold" Now.. How do I get other non foo users who are on server "gold" to be able to send email's to users at foo? Problem now is that non foo users (who are on the "gold" server), get a "user unknown" error from server "gold" when emailing foo users. Emailing from (lets say Gmail) does work okay, so the setup is working.
You must configure your Postfix on server "gold" so that it isn't resposible for the domain foo anymore, i.e., you must remove foo from the mydestination parameter in /etc/postfix/main.cf.
Thank you falko, But.. In main.cf I have this: mydestinations = /etc/postfix/local-host-names In "local-host-names" it does show domain foo, but this file is "edited" by ISPconfig. When I remove domain foo from the "local-host-names", and when I make a change in ISPconfig, domain foo will (I think) be added again by ISPconfig.. Or.. Am I wrong thinking this?
If you want to remove this domain from the local-host-names file, you must set mailserver to external in the website and co-domain settings of this domain in ispconfig.