how: domain / DNS on one server. Email on other

Discussion in 'Installation/Configuration' started by edge, Apr 20, 2007.

  1. edge

    edge Active Member Moderator

    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.
    Last edited: Apr 20, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    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/
  3. edge

    edge Active Member Moderator

    Thank you falko,

    But.. In 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?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  5. edge

    edge Active Member Moderator

    Me stupid.. Why did I not think of this!

    Thank you.. All is working fine now.

Share This Page