emailing from 2 servers

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

  1. chief

    chief Member HowtoForge Supporter

    Hi,
    I have installed 2 servers locally behind a smoothwall firewall. i have 5 external IP's
    internally - 1 IP is 192.168.3.10 and the other is 192.168.3.10
    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, [192.168.3.1]
    but if i login to the sever and do "dig domain.name" it returns the external IP and mail.domain.name 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