emailing from 2 servers

Discussion in 'Installation/Configuration' started by chief, Nov 23, 2015.

  1. chief

    chief Member HowtoForge Supporter

    I have installed 2 servers locally behind a smoothwall firewall. i have 5 external IP's
    internally - 1 IP is and the other is
    my firewall then forwards all traffic to the server's.
    My problem, domain1 on server1 returns an error when sending an email to domain1 on server2

    Diagnostic-Code: smtp; 450 4.7.1 Client host rejected: cannot find your
    hostname, []
    but if i login to the sever and do "dig" it returns the external IP and and vice versa.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to set the hostnames of the two servers in both /etc/hosts files to the internal IP's.

Share This Page