Presented HostName on the network

Discussion in 'Installation/Configuration' started by domh, Feb 5, 2008.

  1. domh

    domh New Member

    Hi all.

    I have a CENTOS5 box setup by following the perfect server instructions. I am running a number of websites and domains on this box. When using a program like angry IP Scanner or when checking the mail information attached to each message my server presents itself differently to how it is set up. EG say I am running two domains on it:

    domain1.com, domain2.com.

    My main site and my whole network is domain1.com but angry IP reports the hostname as server.domain2.com.

    In centos when I type in hostname it says what it should be which is server.domain1.com.

    Is there a configuration that I am missing. As the server is sending out of a different domain that the email a lot of spam programs thinks my server is sending spam.

    Regards

    Dominic
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the commands:

    hostname

    and

    hostname -f

    Also make sure that you have the correct hostname in your postfix main.cf file, the /etc/hosts file and that the reverse record for the IP of the server is set to the correct hostname.
     

Share This Page